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.

  • 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?

  • Hi.

    Can you try with a precompiled blinky .hex file located in the <Mesh SDK>\bin\blinky folder?

    And use the nrfutil command:

    nrfutil --verbose dfu serial -pkg dfu_test.zip -p <COM PORT to one of the boards> -b 115200 -fc --mesh -i 800

    I got the following output:

    λ nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM19 -b 115200 -fc --mesh -i 800
    Upgrading target on COM19 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: 1378fdff040f301de70859000000010002000000
    target -> PC: 16a6045900000001000200000059000000010001000000
    target -> PC: 03847800
    PC -> target: 1378fdff040f301de70859000000010002000000
    target -> PC: 03847800
    PC -> target: 1478fcff0000301de708ffffffffde01000040000c
    target -> PC: 0da2010459000000010002000000
    target -> PC: 03847800
    Sending firmware file
      [------------------------------------]    1%  0d 00:11:50PC -> target: 1978fcff0100301de70800fd0020196602004166020043660200
    target -> PC: 03847800
    PC -> target: 1978fcff0200301de70845660200476602004966020000000000
    target -> PC: 03847800
      [------------------------------------]    2%  0d 00:11:39PC -> target: 1978fcff0300301de7080000000000000000000000004b660200
    target -> PC: 03847800
    PC -> target: 1978fcff0400301de7084d660200000000004f66020051660200
    target -> PC: 03847800
      [#-----------------------------------]    4%  0d 00:07:33PC -> target: 1978fcff0500301de70853660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0600301de70853660200536602005366020053660200
    target -> PC: 03847800
      [##----------------------------------]    5%  0d 00:05:57PC -> target: 1978fcff0700301de70853660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0800301de70853660200536602005366020053660200
    target -> PC: 03847800
      [##----------------------------------]    7%  0d 00:05:04PC -> target: 1978fcff0900301de70853660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0a00301de70853660200536602005366020053660200
    target -> PC: 03847800
      [###---------------------------------]    9%  0d 00:04:28PC -> target: 1978fcff0b00301de70853660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0c00301de70853660200536602000000000000000000
    target -> PC: 03847800
      [###---------------------------------]   10%  0d 00:04:02PC -> target: 1978fcff0d00301de70853660200536602005366020053660200
    target -> PC: 03847800
    PC -> target: 1978fcff0e00301de70853660200536602005366020000000000
    target -> PC: 03847800
      [####--------------------------------]   12%  0d 00:03:42PC -> target: 1978fcff0f00301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1000301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#####-------------------------------]   13%  0d 00:02:26PC -> target: 1978fcff1100301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1200301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#####-------------------------------]   15%  0d 00:02:13PC -> target: 1978fcff1300301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1400301de70800000000000000000000000000000000
    target -> PC: 03847800
      [######------------------------------]   17%  0d 00:02:03PC -> target: 1978fcff1500301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1600301de70800000000000000000000000000000000
    target -> PC: 03847800
      [######------------------------------]   18%  0d 00:01:56PC -> target: 1978fcff1700301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1800301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#######-----------------------------]   20%  0d 00:01:50PC -> target: 1978fcff1900301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1a00301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#######-----------------------------]   21%  0d 00:01:44PC -> target: 1978fcff1b00301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1c00301de70800000000000000000000000000000000
    target -> PC: 03847800
      [########----------------------------]   23%  0d 00:01:40PC -> target: 1978fcff1d00301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff1e00301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#########---------------------------]   25%  0d 00:01:36PC -> target: 1978fcff1f00301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff2000301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#########---------------------------]   26%  0d 00:01:32PC -> target: 1978fcff2100301de70810b5054c237833b9044b13b10448aff3
    target -> PC: 03847800
    PC -> target: 1978fcff2200301de70800800123237010bd3833002000000000
    target -> PC: 03847800
      [##########--------------------------]   28%  0d 00:01:29PC -> target: 1978fcff2300301de708fc6602000c4b43b10c480d4910b5aff3
    target -> PC: 03847800
    PC -> target: 1978fcff2400301de70800800c48036823b910bd0a48036833b9
    target -> PC: 03847800
      [##########--------------------------]   30%  0d 00:01:26PC -> target: 1978fcff2500301de7087047094b002bf7d0bde810401847064b
    target -> PC: 03847800
    PC -> target: 1978fcff2600301de708002bf5d0184700bf00000000fc660200
    target -> PC: 03847800
      [###########-------------------------]   31%  0d 00:01:23PC -> target: 1978fcff2700301de7083c3300203433002000000000154b002b
    target -> PC: 03847800
    PC -> target: 1978fcff2800301de70808bf134b9d46a3f5803a00218b460f46
    target -> PC: 03847800
      [###########-------------------------]   33%  0d 00:01:20PC -> target: 1978fcff2900301de7081348144a121a00f01dfa0f4b002b00d0
    target -> PC: 03847800
    PC -> target: 1978fcff2a00301de70898470e4b002b00d09847002000210400
    target -> PC: 03847800
      [############------------------------]   34%  0d 00:01:18PC -> target: 1978fcff2b00301de7080d000d48002802d00c48aff3008000f0
    target -> PC: 03847800
    PC -> target: 1978fcff2c00301de708e5f92000290000f013f800f0cbf900bf
    target -> PC: 03847800
      [#############-----------------------]   36%  0d 00:01:15PC -> target: 1978fcff2d00301de7080000080000fd00200000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff2e00301de70838330020543300200000000000000000
    target -> PC: 03847800
      [#############-----------------------]   38%  0d 00:01:13PC -> target: 1978fcff2f00301de70870b5002301224ff0a041032002fa03f4
    target -> PC: 03847800
    PC -> target: 1978fcff3000301de70814f4f01f18bf03f5e07403f1010318bf
    target -> PC: 03847800
      [##############----------------------]   39%  0d 00:01:11PC -> target: 1978fcff3100301de70841f82400202bf1d14ff0a0434ff4f012
    target -> PC: 03847800
    PC -> target: 1978fcff3200301de7080a4dc3f808250022c3f80c251c4645f0
    target -> PC: 03847800
      [##############----------------------]   41%  0d 00:01:08PC -> target: 1978fcff3300301de7080105d4f8043583f40033c4f804356426
    target -> PC: 03847800
    PC -> target: 1978fcff3400301de7084ff47a40a847013efad1f2e7f0660200
    target -> PC: 03847800
      [###############---------------------]   42%  0d 00:01:06PC -> target: 1978fcff3500301de708094b1b78062b0cd1084b1b681a0708d1
    target -> PC: 03847800
    PC -> target: 1978fcff3600301de708074b186800f0f000a0f1300358425841
    target -> PC: 03847800
      [################--------------------]   44%  0d 00:01:04PC -> target: 1978fcff3700301de70870470020704700bfe00f00f0e40f00f0
    target -> PC: 03847800
    PC -> target: 1978fcff3800301de708e80f00f00c4b1b78062b10d10b4b1b68
    target -> PC: 03847800
      [################--------------------]   46%  0d 00:01:02PC -> target: 1978fcff3900301de7081a070cd10a4b186800f0f003302b08d0
    target -> PC: 03847800
    PC -> target: 1978fcff3a00301de70800f0e000a0f140035842584170470020
    target -> PC: 03847800
      [#################-------------------]   47%  0d 00:01:00PC -> target: 1978fcff3b00301de70870470120704700bfe00f00f0e40f00f0
    target -> PC: 03847800
    PC -> target: 1978fcff3c00301de708e80f00f008b5fff7ddff28b17f4b804a
    target -> PC: 03847800
      [#################-------------------]   49%  0d 00:00:58PC -> target: 1978fcff3d00301de7081b68c3f304231360fff7baff10b17d4b
    target -> PC: 03847800
    PC -> target: 1978fcff3e00301de7087d4a1a60fff7ceff28b17c4b7c4a1b68
    target -> PC: 03847800
      [##################------------------]   50%  0d 00:00:56PC -> target: 1978fcff3f00301de708c3f342331360fff7abff20b1794ad368
    target -> PC: 03847800
    PC -> target: 1978fcff4000301de70823f08073d360fff7bdff40b14ff08043
    target -> PC: 03847800
      [##################------------------]   52%  0d 00:00:54PC -> target: 1978fcff4100301de7080022c3f80c21c3f81021c3f83825fff7
    target -> PC: 03847800
    PC -> target: 1978fcff4200301de70897ff10b1704b03221a60fff791ff40b1
    target -> PC: 03847800
      [###################-----------------]   54%  0d 00:00:52PC -> target: 1978fcff4300301de7086e4b05221a6001229a6700229a603f22
    target -> PC: 03847800
    PC -> target: 1978fcff4400301de7085a606b4b1b78062b09d16a4b1b681907
    target -> PC: 03847800
      [####################----------------]   55%  0d 00:00:50PC -> target: 1978fcff4500301de70805d1694b1b6803f0f003502b67d0fff7
    target -> PC: 03847800
    PC -> target: 1978fcff4600301de70891ff28b1654b664a1b6803f04f031360
    target -> PC: 03847800
      [####################----------------]   57%  0d 00:00:48PC -> target: 1978fcff4700301de708fff788ff48b14ff08043d3f80024d207
    target -> PC: 03847800
    PC -> target: 1978fcff4800301de70844bf6ff00102c3f800245e4b1b68062b
    target -> PC: 03847800
      [#####################---------------]   59%  0d 00:00:46PC -> target: 1978fcff4900301de70804d15d4b1b68062b00f091805b4ad2f8
    target -> PC: 03847800
    PC -> target: 1978fcff4a00301de708883043f47003c2f88830bff34f8fbff3
    target -> PC: 03847800
      [#####################---------------]   60%  0d 00:00:44PC -> target: 1978fcff4b00301de7086f8f4ff01023d3f80022002a03dbd3f8
    target -> PC: 03847800
    PC -> target: 1978fcff4c00301de7080432002b2fda524b0122c3f80425d3f8
    target -> PC: 03847800
      [######################--------------]   62%  0d 00:00:42PC -> target: 1978fcff4d00301de7080024002afbd04ff010221521c2f80012
    target -> PC: 03847800
    PC -> target: 1978fcff4e00301de708d3f80024002afbd04ff010231522c3f8
    target -> PC: 03847800
      [#######################-------------]   63%  0d 00:00:40PC -> target: 1978fcff4f00301de7080422474b1a46d3f800140029fbd00021
    target -> PC: 03847800
    PC -> target: 1978fcff5000301de708c3f80415d2f80034002bfbd0bff34f8f
    target -> PC: 03847800
      [#######################-------------]   65%  0d 00:00:38PC -> target: 1978fcff5100301de7083e49404bca6802f4e0621343cb60bff3
    target -> PC: 03847800
    PC -> target: 1978fcff5200301de7084f8f00bffde73c4b3c4a1a6008bd4ff0
    target -> PC: 03847800
      [########################------------]   67%  0d 00:00:36PC -> target: 1978fcff5300301de70880523b4bd2f80414c3f82015d2f80814
    target -> PC: 03847800
    PC -> target: 1978fcff5400301de708c3f82415d2f80c14c3f82815d2f81014
    target -> PC: 03847800
      [########################------------]   68%  0d 00:00:35PC -> target: 1978fcff5500301de708c3f82c15d2f81414c3f83015d2f81814
    target -> PC: 03847800
    PC -> target: 1978fcff5600301de708c3f83415d2f81c14c3f84015d2f82014
    target -> PC: 03847800
      [#########################-----------]   70%  0d 00:00:33PC -> target: 1978fcff5700301de708c3f84415d2f82414c3f84815d2f82814
    target -> PC: 03847800
    PC -> target: 1978fcff5800301de708c3f84c15d2f82c14c3f85015d2f83014
    target -> PC: 03847800
      [#########################-----------]   71%  0d 00:00:31PC -> target: 1978fcff5900301de708c3f85415d2f83414c3f86015d2f83814
    target -> PC: 03847800
    PC -> target: 1978fcff5a00301de708c3f86415d2f83c14c3f86815d2f84014
    target -> PC: 03847800
      [##########################----------]   73%  0d 00:00:29PC -> target: 1978fcff5b00301de708c3f86c15d2f84424c3f870254fe7194a
    target -> PC: 03847800
    PC -> target: 1978fcff5c00301de708136843f48063136068e700bf24030010
    target -> PC: 03847800
      [###########################---------]   75%  0d 00:00:27PC -> target: 1978fcff5d00301de7084035014074c007400df0adba44020010
    target -> PC: 03847800
    PC -> target: 1978fcff5e00301de7083c050040f0ed00e0a005004010560040
    target -> PC: 03847800
      [###########################---------]   76%  0d 00:00:26PC -> target: 1978fcff5f00301de708e00f00f0e40f00f0e80f00f058020010
    target -> PC: 03847800
    PC -> target: 1978fcff6000301de708e40e0040300100103401001000ed00e0
    target -> PC: 03847800
      [############################--------]   78%  0d 00:00:24PC -> target: 1978fcff6100301de70800e001400400fa05c83200200090d003
    target -> PC: 03847800
    PC -> target: 1978fcff6200301de70800c000403c1700400649074a074b9b1a
    target -> PC: 03847800
      [############################--------]   80%  0d 00:00:22PC -> target: 1978fcff6300301de70803dd043bc858d050fbdcfff7c3fefff7
    target -> PC: 03847800
    PC -> target: 1978fcff6400301de7081dfe000008670200c832002038330020
    target -> PC: 03847800
      [#############################-------]   81%  0d 00:00:20PC -> target: 1978fcff6500301de708fee7fee7fee7fee7fee7fee7fee7fee7
    target -> PC: 03847800
    PC -> target: 1978fcff6600301de708fee7fee708b5074b044613b10021aff3
    target -> PC: 03847800
      [#############################-------]   83%  0d 00:00:19PC -> target: 1978fcff6700301de7080080054b1868836a03b19847204600f0
    target -> PC: 03847800
    PC -> target: 1978fcff6800301de70831f800bf00000000f866020070b50d4e
    target -> PC: 03847800
      [##############################------]   84%  0d 00:00:17PC -> target: 1978fcff6900301de7080d4ca41ba4100025a54209d10b4e0c4c
    target -> PC: 03847800
    PC -> target: 1978fcff6a00301de70800f022f8a41ba4100025a54205d170bd
    target -> PC: 03847800
      [###############################-----]   86%  0d 00:00:15PC -> target: 1978fcff6b00301de70856f8253098470135eee756f825309847
    target -> PC: 03847800
    PC -> target: 1978fcff6c00301de7080135f2e72c3300202c3300202c330020
    target -> PC: 03847800
      [###############################-----]   88%  0d 00:00:13PC -> target: 1978fcff6d00301de7083033002002440346934200d1704703f8
    target -> PC: 03847800
    PC -> target: 1978fcff6e00301de708011bf9e7fee700bff8b500bff8bc08bc
    target -> PC: 03847800
      [################################----]   89%  0d 00:00:12PC -> target: 1978fcff6f00301de7089e467047f8b500bff8bc08bc9e467047
    target -> PC: 03847800
    PC -> target: 1978fcff7000301de7080338fdd870470000cc32002000000000
    target -> PC: 03847800
      [################################----]   91%  0d 00:00:10PC -> target: 1978fcff7100301de7086cfbff7f010000000090d00300000000
    target -> PC: 03847800
    PC -> target: 1978fcff7200301de70800000000000000000000000000000000
    target -> PC: 03847800
      [#################################---]   92%  0d 00:00:08PC -> target: 1978fcff7300301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff7400301de70800000000000000000000000000000000
    target -> PC: 03847800
      [##################################--]   94%  0d 00:00:06PC -> target: 1978fcff7500301de70800000000000000000000000000000000
    target -> PC: 03847800
    PC -> target: 1978fcff7600301de70800000000000000000000000000000000
    target -> PC: 03847800
      [##################################--]   96%  0d 00:00:05PC -> target: 1978fcff7700301de70800000000000000000000000025620200
    target -> PC: 03847800
    PC -> target: 1178fcff7800301de7080162020000000000
    target -> PC: 03847800
      [###################################-]   97%  0d 00:00:03PC -> target: 1978fcff7900301de708f732aea6d2320de64969868aeba85e88
    target -> PC: 03847800
    PC -> target: 1978fcff7a00301de708d938a5419f4e68c6468adf2d1063c416
    target -> PC: 03847800
      [###################################-]   99%  0d 00:00:01PC -> target: 1978fcff7b00301de708f64b75aed12b33bccf53bdf88e6a65f4
    target -> PC: 03847800
    PC -> target: 1978fcff7c00301de7087c8295cc145c7eaab915e990600749d0
    target -> PC: 03847800
      [####################################]  100%             DFU upgrade took 106.796000004s
    Closing serial port...
    
    Closing serial port...
    Device programmed.

    Best regards,

    Andreas

Related