This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Abort event. Reason: 0xD DFU SDK Mesh 2.2.0

Hello, i did the DFU quick start guide and everything work fine however when i try to send a ZIP file (124KB) with my own code the receiver show "Abort event. Reason: 0xD DFU", i suposse that the file is so big, are there some way to do work with that file?
Thanks.

Parents Reply Children
  • 1) yes it is.

    2)nrfutil version 0.3.0.0

    3)this is what show the DK what receive the file from mesh network:

     0> <t:         70>, main.c,  206, ----- Bluetooth Mesh DFU Example -----
     0> <t:         73>, main.c,  215, rom_base   260DD
     0> <t:         75>, main.c,  216, rom_end    423DC
     0> <t:         77>, main.c,  217, rom_length 1C2FF
     0> <t:         79>, main.c,  218, bank_addr   43000
     0> <t:         81>, mesh_softdevice_init.c,  117, Initializing SoftDevice...
     0> <t:          0>, mesh_softdevice_init.c,   75, Enabling BLE...
     0> <t:         16>, mesh_softdevice_init.c,  109, sd_ble_enable: app_ram_base should be adjusted to 0x20002DA0
     0> <t:        608>, serial_handler_prov.c,  267, Generating encryption keypair...
     0> <t:       5480>, main.c,  224, Initialization complete!
     0> <t:       5487>, nrf_mesh_dfu.c,  527, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFE
     0> <t:       5491>, nrf_mesh_dfu.c,  560, 	SERIAL TX!
     0> <t:      10268>, main.c,  244, Enabling serial interface...
     0> <t:      10280>, main.c,  248, DFU example started!
     0> <t:    7702042>, nrf_mesh_dfu.c,  389, 	New firmware!
     0> <t:    7702045>, nrf_mesh_dfu.c,  527, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFD
     0> <t:    7702049>, nrf_mesh_dfu.c,  533, Killing a TX slot prematurely (repeats done: 24).
     0> <t:    7702053>, nrf_mesh_dfu.c,  560, 	SERIAL TX!
     0> <t:    7769287>, nrf_mesh_dfu.c,  527, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFD
     0> <t:    7769291>, nrf_mesh_dfu.c,  533, Killing a TX slot prematurely (repeats done: 0).
     0> <t:    7769295>, nrf_mesh_dfu.c,  560, 	SERIAL TX!
     0> <t:    7834264>, nrf_mesh_dfu.c,  382, 	Abort event. Reason: 0xD
     0> <t:    7834268>, nrf_mesh_dfu.c,  527, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFE
     0> <t:    7834272>, nrf_mesh_dfu.c,  533, Killing a TX slot prematurely (repeats done: 19).
     0> <t:    7834275>, nrf_mesh_dfu.c,  560, 	SERIAL TX!
    

    and this is what show the DK what send the file for mesh network:

     0> <t:         70>, main.c,  206, ----- Bluetooth Mesh DFU Example -----
     0> <t:         73>, mesh_softdevice_init.c,  117, Initializing SoftDevice...
     0> <t:          0>, mesh_softdevice_init.c,   75, Enabling BLE...
     0> <t:         16>, mesh_softdevice_init.c,  109, sd_ble_enable: app_ram_base should be adjusted to 0x20002DA0
     0> <t:        577>, mesh_stack.c,  107, HOLA 1..1
     0> <t:        579>, mesh_stack.c,  109, HOLA 1..2
     0> <t:        582>, mesh_stack.c,  111, HOLA 1..3
     0> <t:        584>, mesh_stack.c,  113, HOLA 1..4
     0> <t:        586>, serial_handler_prov.c,  267, Generating encryption keypair...
     0> <t:       5472>, main.c,  224, Initialization complete!
     0> <t:       5478>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFE
     0> <t:       5483>, nrf_mesh_dfu.c,  561, 	SERIAL TX!
     0> <t:      10261>, main.c,  244, Enabling serial interface...
     0> <t:      10274>, main.c,  248, DFU example started!
     0> <t:     221226>, nrf_mesh_dfu.c,  390, 	New firmware!
     0> <t:     221229>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFD
     0> <t:     221233>, nrf_mesh_dfu.c,  534, Killing a TX slot prematurely (repeats done: 1).
     0> <t:     221236>, nrf_mesh_dfu.c,  561, 	SERIAL TX!
     0> <t:     287118>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFD
     0> <t:     287122>, nrf_mesh_dfu.c,  534, Killing a TX slot prematurely (repeats done: 20).
     0> <t:     287125>, nrf_mesh_dfu.c,  561, 	SERIAL TX!
     0> <t:     353059>, nrf_mesh_dfu.c,  430, 	DFU start
     0> <t:     353062>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 7, count 6, interval: exponential, handle: FFFC
     0> <t:     752767>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 1, count 3, interval: exponential, handle: FFFC
     0> <t:     759664>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 2, count 3, interval: exponential, handle: FFFC
     0> <t:     766609>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 3, count 3, interval: exponential, handle: FFFC
     0> <t:     773519>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 4, count 3, interval: exponential, handle: FFFC
     0> <t:     780473>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
     0> <t:     787384>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
     0> <t:     794327>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 7, count 3, interval: exponential, handle: FFFC
     0> <t:     801264>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 1, count 3, interval: exponential, handle: FFFC
     0> <t:    1128944>, nrf_mesh_dfu.c,  297, ABORT Timeout fired @34283798
     0> <t:    1128947>, nrf_mesh_dfu.c,  528, 	RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFE
     0> <t:    1128952>, nrf_mesh_dfu.c,  561, 	SERIAL TX!
    .
    .
    .
    .
    .

  • Hi again.

    Could you post the output from your command window when you are on Point 10?

    And can you also do the Troubleshooting: Verifying your bootloader with the bootloader_verify.py script and post the output?

    Best regards.

    Andreas

  • Hello AndreasF,  this is the output from my command window:

     C:\Users\ingeniero.app1\Documents\Programa_LEPS_Btm_2.2.0\nrf5_SDK_for_Mesh_v2.2.0_src> nrfutil --verbose dfu serial -pkg dfu_test.
    zip -p COM15 -b 115200 -fc --mesh
    Upgrading target on COM15 with DFU package C:\Users\ingeniero.app1\Documents\Programa_LEPS_Btm_2.2.0\nrf5_SDK_for_Mesh_v2.2.0_src\dfu_test.zip. Flow control is enabled.
      [------------------------------------]    0%Flushing com-port...
    Opened com-port
    Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 124568
    Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
    PC -> target: 0502aabbccdd
    target -> PC: 0582aabbccdd
    Got echo response
    Sending DFU init packet
    PC -> target: 1378fdff040f7dcca1b754454e33010002000000
    target -> PC: 16a60454454e3301000200000054454e33020001000000
    target -> PC: 03847800
    PC -> target: 1378fdff040f7dcca1b754454e33010002000000
    target -> PC: 03847800
    PC -> target: 1478fcff00007dcca1b7ffffffffa679000040000c
    target -> PC: 0da2020454454e33010002000000
    target -> PC: 03847800
    Sending firmware file
      [------------------------------------]    1%  0d 00:11:52PC -> target: 1978fcff01007dcca1b738bd0020356202006562020067620200
    target -> PC: 03847800
    PC -> target: 1978fcff02007dcca1b7696202006b6202006d62020000000000
    target -> PC: 03847800
    PC -> target: 1978fcff03007dcca1b70000000000000000000000006f620200
    target -> PC: 03847800
    PC -> target: 1978fcff04007dcca1b771620200000000007362020075620200
    target -> PC: 03847800
    PC -> target: 1978fcff05007dcca1b7796202007b620200f5670200891e0400
    target -> PC: 03847800
    PC -> target: 1978fcff06007dcca1b781620200836202003986020087620200
    target -> PC: 03847800
    PC -> target: 1978fcff07007dcca1b78962020041680200b17e03008f620200
    target -> PC: 03847800
    PC -> target: 1978fcff08007dcca1b791620200936202009562020097620200
    target -> PC: 03847800
    PC -> target: 1978fcff09007dcca1b79962020025b50300d5cd02009f620200
    target -> PC: 03847800
    PC -> target: 1978fcff0a007dcca1b74db50300a362020025170400a7620200
    target -> PC: 03847800
    PC -> target: 1978fcff0b007dcca1b7a9620200ab620200ad620200af620200
    target -> PC: 03847800
    PC -> target: 1978fcff0c007dcca1b7b1620200b36202007762020077620200
    target -> PC: 03847800
    PC -> target: 1978fcff0d007dcca1b7b5620200b7620200b9620200bb620200
    target -> PC: 03847800
    PC -> target: 1978fcff0e007dcca1b7bd620200bf620200c162020035493648
    target -> PC: 03847800
    PC -> target: 1978fcff0f007dcca1b70a1a02d0072291438d46344934480a1a
    target -> PC: 03847800
    PC -> target: 1978fcff10007dcca1b706d00722914381f30988022282f31488
    target -> PC: 03847800
    PC -> target: 1978fcff11007dcca1b730483149314a00f043f831483149324a
    target -> PC: 03847800
    PC -> target: 1978fcff12007dcca1b700f03ef831483249324a00f039f83248
    target -> PC: 03847800
    PC -> target: 1978fcff13007dcca1b73249334a00f034f832483349334a00f0
    target -> PC: 03847800
    PC -> target: 1978fcff14007dcca1b72ff833483349344a00f02af833483449
    target -> PC: 03847800
    PC -> target: 1978fcff15007dcca1b7344a00f025f834483449002200f02bf8
    target -> PC: 03847800
    PC -> target: 1978fcff16007dcca1b733483449002200f026f833483349091a
    target -> PC: 03847800
    PC -> target: 1978fcff17007dcca1b7082903db00220260043001601f482049
    target -> PC: 03847800
    PC -> target: 1978fcff18007dcca1b7884205d00268043003b4904703bcf7e7

    and this is the verifying boot loader output: 

    thanks for your help.

  • Hi again.

    davidesteban13 said:
    this is the output from my command window:

     Is this all the log? It seems that some logging is missing.

    Could you please post all the log.

    I did the quick start guide now, and I got this output:

    nrfutilmesh --verbose dfu serial -pkg dfu_test.zip -p COM4 -b 115200 -fc --mesh
    
    Upgrading target on COM4 with DFU package C:\NordicSemi\nrf5_SDK_for_Mesh_v2.2.0_src_2\dfu_quick_start\dfu_test.zip. Flow control is enabled.
      [------------------------------------]    0%Flushing com-port...
    Opened com-port
    Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 1912
    Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
    PC -> target: 0502aabbccdd
    target -> PC: 0582aabbccdd
    Got echo response
    Sending DFU init packet
    PC -> target: 1378fdff040f7fed04c759000000010002000000
    target -> PC: 16a6045900000001000200000059000000010001000000
    target -> PC: 03847800
    PC -> target: 1378fdff040f7fed04c759000000010002000000
    target -> PC: 03847800
    PC -> target: 1478fcff00007fed04c7ffffffffde01000040000c
    target -> PC: 0da2010459000000010002000000
    target -> PC: 03847800
    Sending firmware file
      [------------------------------------]    1%  0d 00:11:50PC -> target: 1978fcff01007fed04c700fd0020196602004166020043660200
    target -> PC: 03847800
    PC -> target: 1978fcff02007fed04c745660200476602004966020000000000
    target -> PC: 03847800
      [------------------------------------]    2%  0d 00:11:39PC -> target: 1978fcff03007fed04c70000000000000000000000004b660200
    target -> PC: 03847800
    PC -> target: 1978fcff04007fed04c74d660200000000004f66020051660200
    target -> PC: 03847800
      [#-----------------------------------]    4%  0d 00:07:23PC -> target: 1978fcff05007fed04c753660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff06007fed04c753660200536602005366020053660200
    target -> PC: 03847800
      [##----------------------------------]    5%  0d 00:05:43PC -> target: 1978fcff07007fed04c753660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff08007fed04c753660200536602005366020053660200
    target -> PC: 03847800
      [##----------------------------------]    7%  0d 00:04:46PC -> target: 1978fcff09007fed04c753660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0a007fed04c753660200536602005366020053660200
    target -> PC: 03847800
      [###---------------------------------]    9%  0d 00:04:09PC -> target: 1978fcff0b007fed04c753660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0c007fed04c753660200536602000000000000000000
    target -> PC: 03847800
      [###---------------------------------]   10%  0d 00:03:41PC -> target: 1978fcff0d007fed04c753660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0e007fed04c753660200536602005366020000000000
    target -> PC: 03847800
      [####--------------------------------]   12%  0d 00:03:21PC -> target: 1978fcff0f007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff10007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#####-------------------------------]   13%  0d 00:02:02PC -> target: 1978fcff11007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff12007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#####-------------------------------]   15%  0d 00:01:47PC -> target: 1978fcff13007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff14007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [######------------------------------]   17%  0d 00:01:37PC -> target: 1978fcff15007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff16007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [######------------------------------]   18%  0d 00:01:29PC -> target: 1978fcff17007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff18007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#######-----------------------------]   20%  0d 00:01:23PC -> target: 1978fcff19007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1a007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#######-----------------------------]   21%  0d 00:01:19PC -> target: 1978fcff1b007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1c007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [########----------------------------]   23%  0d 00:01:14PC -> target: 1978fcff1d007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1e007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#########---------------------------]   25%  0d 00:01:11PC -> target: 1978fcff1f007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff20007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#########---------------------------]   26%  0d 00:01:07PC -> target: 1978fcff21007fed04c710b5054c237833b9044b13b10448aff3
    target -> PC: 03847800
    PC -> target: 1978fcff22007fed04c700800123237010bd3833002000000000
    target -> PC: 03847800
      [##########--------------------------]   28%  0d 00:01:05PC -> target: 1978fcff23007fed04c7fc6602000c4b43b10c480d4910b5aff3
    target -> PC: 03847800
    PC -> target: 1978fcff24007fed04c700800c48036823b910bd0a48036833b9
    target -> PC: 03847800
      [##########--------------------------]   30%  0d 00:01:02PC -> target: 1978fcff25007fed04c77047094b002bf7d0bde810401847064b
    target -> PC: 03847800
    PC -> target: 1978fcff26007fed04c7002bf5d0184700bf00000000fc660200
    target -> PC: 03847800
      [###########-------------------------]   31%  0d 00:00:59PC -> target: 1978fcff27007fed04c73c3300203433002000000000154b002b
    target -> PC: 03847800
    PC -> target: 1978fcff28007fed04c708bf134b9d46a3f5803a00218b460f46
    target -> PC: 03847800
      [###########-------------------------]   33%  0d 00:00:57PC -> target: 1978fcff29007fed04c71348144a121a00f01dfa0f4b002b00d0
    target -> PC: 03847800
    PC -> target: 1978fcff2a007fed04c798470e4b002b00d09847002000210400
    target -> PC: 03847800
      [############------------------------]   34%  0d 00:00:55PC -> target: 1978fcff2b007fed04c70d000d48002802d00c48aff3008000f0
    target -> PC: 03847800
    PC -> target: 1978fcff2c007fed04c7e5f92000290000f013f800f0cbf900bf
    target -> PC: 03847800
      [#############-----------------------]   36%  0d 00:00:53PC -> target: 1978fcff2d007fed04c70000080000fd00200000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff2e007fed04c738330020543300200000000000000000
    target -> PC: 03847800
      [#############-----------------------]   38%  0d 00:00:51PC -> target: 1978fcff2f007fed04c770b5002301224ff0a041032002fa03f4
    target -> PC: 03847800
    PC -> target: 1978fcff30007fed04c714f4f01f18bf03f5e07403f1010318bf
    target -> PC: 03847800
      [##############----------------------]   39%  0d 00:00:49PC -> target: 1978fcff31007fed04c741f82400202bf1d14ff0a0434ff4f012
    target -> PC: 03847800
    PC -> target: 1978fcff32007fed04c70a4dc3f808250022c3f80c251c4645f0
    target -> PC: 03847800
      [##############----------------------]   41%  0d 00:00:48PC -> target: 1978fcff33007fed04c70105d4f8043583f40033c4f804356426
    target -> PC: 03847800
    PC -> target: 1978fcff34007fed04c74ff47a40a847013efad1f2e7f0660200
    target -> PC: 03847800
      [###############---------------------]   42%  0d 00:00:46PC -> target: 1978fcff35007fed04c7094b1b78062b0cd1084b1b681a0708d1
    target -> PC: 03847800
    PC -> target: 1978fcff36007fed04c7074b186800f0f000a0f1300358425841
    target -> PC: 03847800
      [################--------------------]   44%  0d 00:00:44PC -> target: 1978fcff37007fed04c770470020704700bfe00f00f0e40f00f0
    target -> PC: 03847800
    PC -> target: 1978fcff38007fed04c7e80f00f00c4b1b78062b10d10b4b1b68
    target -> PC: 03847800
      [################--------------------]   46%  0d 00:00:43PC -> target: 1978fcff39007fed04c71a070cd10a4b186800f0f003302b08d0
    target -> PC: 03847800
    PC -> target: 1978fcff3a007fed04c700f0e000a0f140035842584170470020
    target -> PC: 03847800
      [#################-------------------]   47%  0d 00:00:41PC -> target: 1978fcff3b007fed04c770470120704700bfe00f00f0e40f00f0
    target -> PC: 03847800
    PC -> target: 1978fcff3c007fed04c7e80f00f008b5fff7ddff28b17f4b804a
    target -> PC: 03847800
      [#################-------------------]   49%  0d 00:00:40PC -> target: 1978fcff3d007fed04c71b68c3f304231360fff7baff10b17d4b
    target -> PC: 03847800
    PC -> target: 1978fcff3e007fed04c77d4a1a60fff7ceff28b17c4b7c4a1b68
    target -> PC: 03847800
      [##################------------------]   50%  0d 00:00:38PC -> target: 1978fcff3f007fed04c7c3f342331360fff7abff20b1794ad368
    target -> PC: 03847800
    PC -> target: 1978fcff40007fed04c723f08073d360fff7bdff40b14ff08043
    target -> PC: 03847800
      [##################------------------]   52%  0d 00:00:37PC -> target: 1978fcff41007fed04c70022c3f80c21c3f81021c3f83825fff7
    target -> PC: 03847800
    PC -> target: 1978fcff42007fed04c797ff10b1704b03221a60fff791ff40b1
    target -> PC: 03847800
      [###################-----------------]   54%  0d 00:00:35PC -> target: 1978fcff43007fed04c76e4b05221a6001229a6700229a603f22
    target -> PC: 03847800
    PC -> target: 1978fcff44007fed04c75a606b4b1b78062b09d16a4b1b681907
    target -> PC: 03847800
      [####################----------------]   55%  0d 00:00:34PC -> target: 1978fcff45007fed04c705d1694b1b6803f0f003502b67d0fff7
    target -> PC: 03847800
    PC -> target: 1978fcff46007fed04c791ff28b1654b664a1b6803f04f031360
    target -> PC: 03847800
      [####################----------------]   57%  0d 00:00:32PC -> target: 1978fcff47007fed04c7fff788ff48b14ff08043d3f80024d207
    target -> PC: 03847800
    PC -> target: 1978fcff48007fed04c744bf6ff00102c3f800245e4b1b68062b
    target -> PC: 03847800
      [#####################---------------]   59%  0d 00:00:31PC -> target: 1978fcff49007fed04c704d15d4b1b68062b00f091805b4ad2f8
    target -> PC: 03847800
    PC -> target: 1978fcff4a007fed04c7883043f47003c2f88830bff34f8fbff3
    target -> PC: 03847800
      [#####################---------------]   60%  0d 00:00:30PC -> target: 1978fcff4b007fed04c76f8f4ff01023d3f80022002a03dbd3f8
    target -> PC: 03847800
    PC -> target: 1978fcff4c007fed04c70432002b2fda524b0122c3f80425d3f8
    target -> PC: 03847800
      [######################--------------]   62%  0d 00:00:28PC -> target: 1978fcff4d007fed04c70024002afbd04ff010221521c2f80012
    target -> PC: 03847800
    PC -> target: 1978fcff4e007fed04c7d3f80024002afbd04ff010231522c3f8
    target -> PC: 03847800
      [#######################-------------]   63%  0d 00:00:27PC -> target: 1978fcff4f007fed04c70422474b1a46d3f800140029fbd00021
    target -> PC: 03847800
    PC -> target: 1978fcff50007fed04c7c3f80415d2f80034002bfbd0bff34f8f
    target -> PC: 03847800
      [#######################-------------]   65%  0d 00:00:26PC -> target: 1978fcff51007fed04c73e49404bca6802f4e0621343cb60bff3
    target -> PC: 03847800
    PC -> target: 1978fcff52007fed04c74f8f00bffde73c4b3c4a1a6008bd4ff0
    target -> PC: 03847800
      [########################------------]   67%  0d 00:00:25PC -> target: 1978fcff53007fed04c780523b4bd2f80414c3f82015d2f80814
    target -> PC: 03847800
    PC -> target: 1978fcff54007fed04c7c3f82415d2f80c14c3f82815d2f81014
    target -> PC: 03847800
      [########################------------]   68%  0d 00:00:23PC -> target: 1978fcff55007fed04c7c3f82c15d2f81414c3f83015d2f81814
    target -> PC: 03847800
    PC -> target: 1978fcff56007fed04c7c3f83415d2f81c14c3f84015d2f82014
    target -> PC: 03847800
      [#########################-----------]   70%  0d 00:00:22PC -> target: 1978fcff57007fed04c7c3f84415d2f82414c3f84815d2f82814
    target -> PC: 03847800
    PC -> target: 1978fcff58007fed04c7c3f84c15d2f82c14c3f85015d2f83014
    target -> PC: 03847800
      [#########################-----------]   71%  0d 00:00:21PC -> target: 1978fcff59007fed04c7c3f85415d2f83414c3f86015d2f83814
    target -> PC: 03847800
    PC -> target: 1978fcff5a007fed04c7c3f86415d2f83c14c3f86815d2f84014
    target -> PC: 03847800
      [##########################----------]   73%  0d 00:00:20PC -> target: 1978fcff5b007fed04c7c3f86c15d2f84424c3f870254fe7194a
    target -> PC: 03847800
    PC -> target: 1978fcff5c007fed04c7136843f48063136068e700bf24030010
    target -> PC: 03847800
      [###########################---------]   75%  0d 00:00:18PC -> target: 1978fcff5d007fed04c74035014074c007400df0adba44020010
    target -> PC: 03847800
    PC -> target: 1978fcff5e007fed04c73c050040f0ed00e0a005004010560040
    target -> PC: 03847800
      [###########################---------]   76%  0d 00:00:17PC -> target: 1978fcff5f007fed04c7e00f00f0e40f00f0e80f00f058020010
    target -> PC: 03847800
    PC -> target: 1978fcff60007fed04c7e40e0040300100103401001000ed00e0
    target -> PC: 03847800
      [############################--------]   78%  0d 00:00:16PC -> target: 1978fcff61007fed04c700e001400400fa05c83200200090d003
    target -> PC: 03847800
    PC -> target: 1978fcff62007fed04c700c000403c1700400649074a074b9b1a
    target -> PC: 03847800
      [############################--------]   80%  0d 00:00:15PC -> target: 1978fcff63007fed04c703dd043bc858d050fbdcfff7c3fefff7
    target -> PC: 03847800
    PC -> target: 1978fcff64007fed04c71dfe000008670200c832002038330020
    target -> PC: 03847800
      [#############################-------]   81%  0d 00:00:14PC -> target: 1978fcff65007fed04c7fee7fee7fee7fee7fee7fee7fee7fee7
    target -> PC: 03847800
    PC -> target: 1978fcff66007fed04c7fee7fee708b5074b044613b10021aff3
    target -> PC: 03847800
      [#############################-------]   83%  0d 00:00:12PC -> target: 1978fcff67007fed04c70080054b1868836a03b19847204600f0
    target -> PC: 03847800
    PC -> target: 1978fcff68007fed04c731f800bf00000000f866020070b50d4e
    target -> PC: 03847800
      [##############################------]   84%  0d 00:00:11PC -> target: 1978fcff69007fed04c70d4ca41ba4100025a54209d10b4e0c4c
    target -> PC: 03847800
    PC -> target: 1978fcff6a007fed04c700f022f8a41ba4100025a54205d170bd
    target -> PC: 03847800
      [###############################-----]   86%  0d 00:00:10PC -> target: 1978fcff6b007fed04c756f8253098470135eee756f825309847
    target -> PC: 03847800
    PC -> target: 1978fcff6c007fed04c70135f2e72c3300202c3300202c330020
    target -> PC: 03847800
      [###############################-----]   88%  0d 00:00:09PC -> target: 1978fcff6d007fed04c73033002002440346934200d1704703f8
    target -> PC: 03847800
    PC -> target: 1978fcff6e007fed04c7011bf9e7fee700bff8b500bff8bc08bc
    target -> PC: 03847800
      [################################----]   89%  0d 00:00:08PC -> target: 1978fcff6f007fed04c79e467047f8b500bff8bc08bc9e467047
    target -> PC: 03847800
    PC -> target: 1978fcff70007fed04c70338fdd870470000cc32002000000000
    target -> PC: 03847800
      [################################----]   91%  0d 00:00:07PC -> target: 1978fcff71007fed04c76cfbff7f010000000090d00300000000
    target -> PC: 03847800
    PC -> target: 1978fcff72007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [#################################---]   92%  0d 00:00:05PC -> target: 1978fcff73007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff74007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [##################################--]   94%  0d 00:00:04PC -> target: 1978fcff75007fed04c700000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff76007fed04c700000000000000000000000000000000
    target -> PC: 03847800
      [##################################--]   96%  0d 00:00:03PC -> target: 1978fcff77007fed04c700000000000000000000000025620200
    target -> PC: 03847800
    PC -> target: 1178fcff78007fed04c70162020000000000
    target -> PC: 03847800
      [###################################-]   97%  0d 00:00:02PC -> target: 1978fcff79007fed04c7140fefd5b3fafa8097c9d867cf04603a
    target -> PC: 03847800
    PC -> target: 1978fcff7a007fed04c7b0852c72a1688ff5a01121145eff1891
    target -> PC: 03847800
      [###################################-]   99%  0d 00:00:01PC -> target: 1978fcff7b007fed04c7ba420404fb3aaeb3952905c13fe38f79
    target -> PC: 03847800
    PC -> target: 1978fcff7c007fed04c79825538f37a1586e52ca531ccc3e4b7f
    target -> PC: 03847800
      [####################################]  100%             DFU upgrade took 69.5340001583s
    Closing serial port...
    
    Closing serial port...
    Device programmed.

    You can try my setup if you want, download it here: dfu_quick_start.zip

    Just edit the dfu_quick_start.bat file like this:

    REM Generate DFU packet
    
    nrfutil dfu genpkg --application ../bin/blinky/blinky_nrf52832_xxAA_s132_6.0.0.hex --company-id 0x00000059 --application-id 1 --application-version 2 --key-file ..\dfu_quick_start\private_key.txt --sd-req 0x009D --mesh dfu_test.zip
    
    REM ERASE
    nrfjprog -e --snr <serial number to board 1>
    nrfjprog -e --snr <serial number to board 2> 
    nrfjprog -e --snr <serial number to board 3> 
    
    REM SOFTDEVICE
    nrfjprog --program softdevice.hex --verify --snr <serial number to board 1>
    nrfjprog --program softdevice.hex --verify --snr <serial number to board 2> 
    nrfjprog --program softdevice.hex --verify --snr <serial number to board 3> 
    
    REM serial bootloader
    nrfjprog --program bootloader.hex --verify --snr <serial number to board 1>
    nrfjprog --program bootloader.hex --verify --snr <serial number to board 2> 
    nrfjprog --program bootloader.hex --verify --snr <serial number to board 3> 
    
    REM application
    nrfjprog --program app.hex --verify --snr <serial number to board 1>
    nrfjprog --program app.hex --verify --snr <serial number to board 2> 
    nrfjprog --program app.hex --verify --snr <serial number to board 3> 
    
    
    REM device page
    nrfjprog --program device_page.hex --verify --snr <serial number to board 1>
    nrfjprog --program device_page.hex --verify --snr <serial number to board 2> 
    nrfjprog --program device_page.hex --verify --snr <serial number to board 3> 
    
    
    REM RESET
    nrfjprog --reset --snr <serial number to board 1> 
    nrfjprog --reset --snr <serial number to board 2> 
    nrfjprog --reset --snr <serial number to board 3>  
    
    REM DFU
    nrfutil --verbose dfu serial -pkg dfu_test.zip -p <COM PORT to one of the boards> -b 115200 -fc --mesh
    
    

    Just add your serial numbers to the different boards where it says <serial number to board 1/2/3> and add you COM Port to the nrfutil command

    Best regards.

    Andreas

  • Hello,

    I work with David Villarraga.

    We solved the "Abort event. Reason: 0xD DFU" problem doing this:

    1. In the Segger compiler we selected the code size optimization option

    2. In the code we modified the Flash settings, so that the starting address of the DFU file is above the end of the current application -> make sure they do not overlap.

    Your .bat file suggestion helped us a lot with the debug. 

    BUT:

    Now the DFU file apparently is totally received (we see the 100% complete bar and the "device programmed" text) but we are now getting the following errors:

    0> <t: 9974248>, nrf_mesh_dfu.c, 296, ABORT Timeout fired @-918597344
    0> <t: 9974252>, nrf_mesh_dfu.c, 584, RADIO TX! SLOT 0, count 255, interval: periodic, handle: FFFE

    And the device does not boot with the new code... 

    We have searched the Web looking for hints on what to do to fix this, but nothing. What could be the reason to get those messages?

Related