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

mesh serial DFU lost connection

"Failed to upgrade target. Error is: Lost connection in the middle of the transfer"

I am doing a mesh serial DFU with DFU quick start guide.

I have gotten all the way to step 10, performing the DFU. The DFU process keeps cutting out partway. Sometimes it gets to 2%, sometimes it doesn't get to 1%. I have checked on-chip debug logs (with DFU messages filtered in) and I see nothing helpful there. I need a lead to explore. Any suggestions?

A message tx from pc is not responded to and retransmitted, at which point error responses start. I have tried intervals from 20ms to 2000ms. 

B:\Devel\_LocalCopy\PCS_SERIAL 1.07 DFU\tools\dfu>nrfutil --verbose dfu serial -pkg dfu.zip -p COM9 -b 115200 -fc -i 20 --mesh
Upgrading target on COM9 with DFU package B:\Devel\_LocalCopy\PCS_SERIAL 1.07 DFU\tools\dfu\dfu.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: 140868
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: 1378fdff040fb48dd2f153435000010007000000
target -> PC: 16a6045343500001000700000053435000010001000000
target -> PC: 03847800
PC -> target: 1378fdff040fb48dd2f153435000010007000000
target -> PC: 03847800
PC -> target: 1478fcff0000b48dd2f1ffffffff9189000040000c
target -> PC: 0da2010453435000010007000000
target -> PC: 03847800
Sending firmware file
[------------------------------------] 1% 00:11:56PC -> target: 1978fcff0100b48dd2f100f00020356202006562020067620200
target -> PC: 03847800
PC -> target: 1978fcff0200b48dd2f1696202006b6202006d62020000000000
target -> PC: 03847800
PC -> target: 1978fcff0300b48dd2f10000000000000000000000006f620200
target -> PC: 03847800
PC -> target: 1978fcff0400b48dd2f171620200000000007362020075620200
target -> PC: 03847800
PC -> target: 1978fcff0500b48dd2f1796202007b620200a93c04007f620200
target -> PC: 03847800
PC -> target: 1978fcff0600b48dd2f181620200836202006186020087620200
target -> PC: 03847800
PC -> target: 1978fcff0700b48dd2f1896202008b620200618a03008f620200
target -> PC: 03847800
PC -> target: 1978fcff0800b48dd2f191620200936202009562020097620200
target -> PC: 03847800
PC -> target: 1978fcff0900b48dd2f199620200f1c0030029ce02009f620200
target -> PC: 03847800
PC -> target: 1978fcff0a00b48dd2f119c10300a362020091190400a7620200
target -> PC: 03847800
PC -> target: 1978fcff0b00b48dd2f1a9620200ab620200ad620200af620200
target -> PC: 03847800
PC -> target: 1978fcff0c00b48dd2f1b1620200b36202007762020077620200
target -> PC: 03847800
PC -> target: 1978fcff0d00b48dd2f1b5620200b7620200b9620200bb620200
target -> PC: 03847800
PC -> target: 1978fcff0e00b48dd2f1bd620200bf620200c162020035493648
target -> PC: 03847800
PC -> target: 1978fcff0f00b48dd2f10a1a02d0072291438d46344934480a1a
target -> PC: 03847800
PC -> target: 1978fcff1000b48dd2f106d00722914381f30988022282f31488
target -> PC: 03847800
PC -> target: 1978fcff1100b48dd2f130483149314a00f043f831483149324a
PC -> target: 1978fcff1100b48dd2f130483149314a00f043f831483149324a
target -> PC: 03847800
target -> PC: 03840084
PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248
PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248
PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248
PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248
PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248


Failed to upgrade target. Error is: Lost connection in the middle of the transfer

Parents
  • Have you tried running the nrfutil command without the interval option (i.e. -i 20)? Does that also fail before the DFU completes?

    From experience, usually there is one small issue somewhere in the DFU quick start guide steps. If you have not created a script for this process, I would highly recommend doing this first. If that doesn't work, let me know & I'll take a closer look.

    Are you using a nRF52 DK as the serial device that communicates with the mesh network?

  • Good suggestions, but I already did both. I had many small issues with the DFU quick start guide, and scripts fixed some of them. I have also tried intervals of 500, 1000, and 2000.

    ...

    I figured it out! The flow control in my device is turned off and a byte is lost in transmission. Then the serial stream gets misaligned. I had to modify the nrfutil so that when it doesn't get a response, it flushes the target's buffer with 0x00 until it gets a response. It looks like this now (a snip from the middle of a TRX):

    target -> PC: 03847800
    PC -> target: 1978fcff11001adb8bda30483149314a00f043f831483149324a
    target -> PC: 03847800
    PC -> target: 1978fcff12001adb8bda00f03ef831483249324a00f039f83248
    target -> PC: 03847800
    PC -> target: 1978fcff13001adb8bda3249334a00f034f832483349334a00f0
    target -> PC: 03847800
    PC -> target: 1978fcff14001adb8bda2ff833483349344a00f02af833483449
    PC -> target: 0x00,  #0
    PC -> target: 0x00,  #1
    PC -> target: 0x00,  #2
    PC -> target: 0x00,  #3
    PC -> target: 0x00,  #4
    target -> PC: 03847800
    target -> PC: 03840084
    PC -> target: 1978fcff15001adb8bda344a00f025f834483449002200f02bf8
    target -> PC: 03847800
    PC -> target: 1978fcff16001adb8bda33483449002200f026f833483349091a
    target -> PC: 03847800
    PC -> target: 1978fcff17001adb8bda082903db00220260043001601f482049
    target -> PC: 03847800
    PC -> target: 1978fcff18001adb8bda884205d00268043003b4904703bcf7e7
    target -> PC: 03847800
    PC -> target: 1978fcff19001adb8bda00208646ec4600200021294a9047fee7
    target -> PC: 03847800
    PC -> target: 1978fcff1a001adb8bda884207d0521a05d0037801300b700131
    target -> PC: 03847800
    PC -> target: 1978fcff1b001adb8bda013af9d17047884202d002700130fae7
    PC -> target: 0x00,  #0
    PC -> target: 0x00,  #1
    PC -> target: 0x00,  #2
    PC -> target: 0x00,  #3
    PC -> target: 0x00,  #4
    PC -> target: 0x00,  #5
    PC -> target: 0x00,  #6
    PC -> target: 0x00,  #7
    PC -> target: 0x00,  #8
    PC -> target: 0x00,  #9
    PC -> target: 0x00,  #10
    PC -> target: 0x00,  #11
    PC -> target: 0x00,  #12
    PC -> target: 0x00,  #13
    PC -> target: 0x00,  #14
    PC -> target: 0x00,  #15
    PC -> target: 0x00,  #16
    PC -> target: 0x00,  #17
    PC -> target: 0x00,  #18
    PC -> target: 0x00,  #19
    target -> PC: 03847887
    PC -> target: 1978fcff1b001adb8bda013af9d17047884202d002700130fae7
    target -> PC: 03847800
    PC -> target: 1978fcff1c001adb8bda7047000000f0002000e8002000f00020
    target -> PC: 03847800
    PC -> target: 1978fcff1d001adb8bda00f00020c8840400c832002044340020
    target -> PC: 03847800

    It took about 12 minutes.

Reply
  • Good suggestions, but I already did both. I had many small issues with the DFU quick start guide, and scripts fixed some of them. I have also tried intervals of 500, 1000, and 2000.

    ...

    I figured it out! The flow control in my device is turned off and a byte is lost in transmission. Then the serial stream gets misaligned. I had to modify the nrfutil so that when it doesn't get a response, it flushes the target's buffer with 0x00 until it gets a response. It looks like this now (a snip from the middle of a TRX):

    target -> PC: 03847800
    PC -> target: 1978fcff11001adb8bda30483149314a00f043f831483149324a
    target -> PC: 03847800
    PC -> target: 1978fcff12001adb8bda00f03ef831483249324a00f039f83248
    target -> PC: 03847800
    PC -> target: 1978fcff13001adb8bda3249334a00f034f832483349334a00f0
    target -> PC: 03847800
    PC -> target: 1978fcff14001adb8bda2ff833483349344a00f02af833483449
    PC -> target: 0x00,  #0
    PC -> target: 0x00,  #1
    PC -> target: 0x00,  #2
    PC -> target: 0x00,  #3
    PC -> target: 0x00,  #4
    target -> PC: 03847800
    target -> PC: 03840084
    PC -> target: 1978fcff15001adb8bda344a00f025f834483449002200f02bf8
    target -> PC: 03847800
    PC -> target: 1978fcff16001adb8bda33483449002200f026f833483349091a
    target -> PC: 03847800
    PC -> target: 1978fcff17001adb8bda082903db00220260043001601f482049
    target -> PC: 03847800
    PC -> target: 1978fcff18001adb8bda884205d00268043003b4904703bcf7e7
    target -> PC: 03847800
    PC -> target: 1978fcff19001adb8bda00208646ec4600200021294a9047fee7
    target -> PC: 03847800
    PC -> target: 1978fcff1a001adb8bda884207d0521a05d0037801300b700131
    target -> PC: 03847800
    PC -> target: 1978fcff1b001adb8bda013af9d17047884202d002700130fae7
    PC -> target: 0x00,  #0
    PC -> target: 0x00,  #1
    PC -> target: 0x00,  #2
    PC -> target: 0x00,  #3
    PC -> target: 0x00,  #4
    PC -> target: 0x00,  #5
    PC -> target: 0x00,  #6
    PC -> target: 0x00,  #7
    PC -> target: 0x00,  #8
    PC -> target: 0x00,  #9
    PC -> target: 0x00,  #10
    PC -> target: 0x00,  #11
    PC -> target: 0x00,  #12
    PC -> target: 0x00,  #13
    PC -> target: 0x00,  #14
    PC -> target: 0x00,  #15
    PC -> target: 0x00,  #16
    PC -> target: 0x00,  #17
    PC -> target: 0x00,  #18
    PC -> target: 0x00,  #19
    target -> PC: 03847887
    PC -> target: 1978fcff1b001adb8bda013af9d17047884202d002700130fae7
    target -> PC: 03847800
    PC -> target: 1978fcff1c001adb8bda7047000000f0002000e8002000f00020
    target -> PC: 03847800
    PC -> target: 1978fcff1d001adb8bda00f00020c8840400c832002044340020
    target -> PC: 03847800

    It took about 12 minutes.

Children
  • Glad to hear that you figured it out! The Mesh DFU can take a while if you are updating multiple mesh nodes at the same time, as the throughput is not that high.

  • Correction: it takes around 35 minutes to do a single upgrade, and not all devices succeed.

    It will be faster to just serial upgrade all devices at a faster interval. How can I turn off the mesh portion of the upgrade?

  • Very sorry for the late response. You can use nrf_mesh_dfu_jump_to_bootloader() to jump to the bootloader & run a bootloader mode DFU. The device will then not participate in the mesh network again until the DFU is successful (see link). More documentation is available here.

  • Hello Mike,

    Facing same issue in Serial DFU, but in my case it stops every time after uploading 33 segments of data. for more details please fine below logs and RTT logs. Also please share what changes you have made in NRFUTIL.

    Serial DFU Log :

    nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM5 -b 115200 -fc --mesh
    
    Upgrading target on COM5 with DFU package D:\nRF5-SDK-for-Mesh-master\nrf5_SDK_for_Mesh_v5.0.0_src\dfu_test.zip. Flow control is enabled.
    Flushing com-port...
    Opened com-port
    Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 129816
    Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
    1: PC -> target: 0502aabbccdd
    target -> PC: 0582aabbccdd
    Got echo response
    Sending DFU init packet
    Sending ready packet
    1: PC -> target: 1378fdff040f3ed67a6859000000010002000000
    target -> PC: 16a6045900000001000200000059000000010001000000
    target -> PC: 1378fdff04000000000059000000010002000000
    target -> PC: 03847800
    1: PC -> target: 1378fdff040f3ed67a6859000000010002000000
    target -> PC: 1378fdff040f3ed67a6859000000010002000000
    target -> PC: 03847800
    Sending start packet
    1: PC -> target: 1478fcff00003ed67a68ffffffffc67e000000000c
    target -> PC: 0da2010459000000010002000000
    target -> PC: 03847800
    Waiting for 4.4 seconds for flash bank erase to complete.
    Sending firmware file
      [------------------------------------]    1%  00:20:301: PC -> target: 1978fcff01003ed67a6800f003206d7302005573020057730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff02003ed67a68597302005b7302005d73020000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff03003ed67a680000000000000000000000005f730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff04003ed67a6861730200000000006373020065730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff05003ed67a6867730200677302008d1b030067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff06003ed67a68677302006773020015dc030067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff07003ed67a686773020067730200c9b2030067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff08003ed67a6867730200677302006773020067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff09003ed67a6867730200fd400400edcc020067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff0a003ed67a686141040067730200addf030067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff0b003ed67a6867730200677302006773020067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff0c003ed67a6867730200677302000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff0d003ed67a6867730200677302006773020067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff0e003ed67a6867730200677302006773020067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff0f003ed67a6867730200677302006773020000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff10003ed67a6800000000677302000000000067730200
    target -> PC: 03847800
    1: PC -> target: 1978fcff11003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff12003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff13003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff14003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff15003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff16003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff17003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff18003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff19003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff1a003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff1b003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff1c003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff1d003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff1e003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff1f003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff20003ed67a6800000000000000000000000000000000
    target -> PC: 03847800
    1: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    2: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    target -> PC: 038478
    3: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    4: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    5: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    6: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    7: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    8: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    9: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    10: PC -> target: 1978fcff21003ed67a68344935480a1a02d0072291438d463349
    
    
    Failed to upgrade target. Error is: Lost connection in the middle of the transfer
    
    Possible causes:
    - bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
    - baud rate or flow control is not the same as in the target bootloader.
    - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
    - if the error is ERROR_BUSY at the beginning of the DFU process,increase the value of PAGE_ERASE_TIME_MAX by few milliseconds.
    Closing serial port...

    RTT Device Log :

    00> <t:          3>, main.c,  228, ----- Bluetooth Mesh DFU Example -----
    00> <t:       8756>, nrf_mesh_dfu.c,  753, Version info: BL(ver, id): 0x01 0x01 SD: 0x0100
    00> <t:       8759>, nrf_mesh_dfu.c,  755, Version info: APP company: 0x00000059 id: 0x0001 version: 0x00000001
    00> <t:       8772>, serial_handler_prov.c,  267, Generating encryption keypair...
    00> <t:      13545>, main.c,  234, Initialization complete!
    00> <t:      18213>, main.c,  255, Enabling serial interface...
    00> <t:      18216>, mesh_app_utils.c,   66, Device UUID (raw): 029B2B0326AE408B9DCD1D32796AB396
    00> <t:      18219>, mesh_app_utils.c,   67, Device UUID : 029B2B03-26AE-408B-9DCD-1D32796AB396
    00> <t:      18230>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 0, count 15, interval: periodic, handle: FFFE
    00> <t:      18235>, nrf_mesh_dfu.c,  593,   SERIAL TX (type: 65534)
    00> <t:      18243>, main.c,  263, DFU example started!
    00> <t:      18314>, main.c,  116, mesh_evt_handler >> Entering into [85599]
    00> <t:      18318>, main.c,  116, mesh_evt_handler >> Entering into [199291]
    00> <t:      18324>, main.c,  116, mesh_evt_handler >> Entering into [0]
    00> <t:    1551950>, nrf_mesh_dfu.c,  418,   New firmware!
    00> <t:    1551953>, main.c,  116, mesh_evt_handler >> Entering into 
    00> [536888796]
    00> <t:    1551956>, main.c,   79, DFU type Application
    00> <t:    1551959>, main.c,  124, Requesting DFU transfer with bank at 0x0008C000
    00> <t:    1551962>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 0, count 3, interval: periodic, handle: FFFD
    00> <t:    1551966>, nrf_mesh_dfu.c,  565, Killing a TX slot prematurely (repeats done: 5).
    00> <t:    1551970>, nrf_mesh_dfu.c,  593,   SERIAL TX (type: 65533)
    00> <t:    1619610>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 0, count 3, interval: periodic, handle: FFFD
    00> <t:    1619614>, nrf_mesh_dfu.c,  593,   SERIAL TX (type: 65533)
    00> <t:    1686416>, nrf_mesh_dfu.c,  458,   DFU start
    00> <t:    1686418>, main.c,  116, mesh_evt_handler >> Entering into [536888796]
    00> <t:    1686423>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 1, count 6, interval: exponential, handle: FFFC
    00> <t:    1774562>, nrf_mesh_dfu.c,  357, Erase complete (0x8C000)
    00> <t:    1774566>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    1923593>, nrf_mesh_dfu.c,  482,   DFU segment rx: 1/8114
    00> <t:    1923598>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 2, count 3, interval: exponential, handle: FFFC
    00> <t:    1923611>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    1923615>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    1940557>, nrf_mesh_dfu.c,  482,   DFU segment rx: 2/8114
    00> <t:    1940561>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 3, count 3, interval: exponential, handle: FFFC
    00> <t:    1940575>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    1940578>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    1957515>, nrf_mesh_dfu.c,  482,   DFU segment rx: 3/8114
    00> <t:    1957520>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 4, count 3, interval: exponential, handle: FFFC
    00> <t:    1957533>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    1957537>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    1975394>, nrf_mesh_dfu.c,  482,   DFU segment rx: 4/8114
    00> <t:    1975399>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
    00> <t:    1975412>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    1975416>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    1992393>, nrf_mesh_dfu.c,  482,   DFU segment rx: 5/8114
    00> <t:    1992397>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
    00> <t:    1992411>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    1992414>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2009406>, nrf_mesh_dfu.c,  482,   DFU segment rx: 6/8114
    00> <t:    2009411>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 7, count 3, interval: exponential, handle: FFFC
    00> <t:    2009425>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2009428>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2026802>, nrf_mesh_dfu.c,  482,   DFU segment rx: 7/8114
    00> <t:    2026807>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 1, count 3, interval: exponential, handle: FFFC
    00> <t:    2026820>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2026824>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2044224>, nrf_mesh_dfu.c,  482,   DFU segment rx: 8/8114
    00> <t:    2044229>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 2, count 3, interval: exponential, handle: FFFC
    00> <t:    2044242>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2044246>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2061183>, nrf_mesh_dfu.c,  482,   DFU segment rx: 9/8114
    00> <t:    2061187>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 3, count 3, interval: exponential, handle: FFFC
    00> <t:    2061201>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2061204>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2078211>, nrf_mesh_dfu.c,  482,   DFU segment rx: 10/8114
    00> <t:    2078216>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 4, count 3, interval: exponential, handle: FFFC
    00> <t:    2078229>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2078233>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2095620>, nrf_mesh_dfu.c,  482,   DFU segment rx: 11/8114
    00> <t:    2095625>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
    00> <t:    2095638>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2095642>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2113110>, nrf_mesh_dfu.c,  482,   DFU segment rx: 12/8114
    00> <t:    2113114>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
    00> <t:    2113127>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2113131>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2130116>, nrf_mesh_dfu.c,  482,   DFU segment rx: 13/8114
    00> <t:    2130120>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 7, count 3, interval: exponential, handle: FFFC
    00> <t:    2130134>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2130137>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2147544>, nrf_mesh_dfu.c,  482,   DFU segment rx: 14/8114
    00> <t:    2147548>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 1, count 3, interval: exponential, handle: FFFC
    00> <t:    2147562>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2147565>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2164633>, nrf_mesh_dfu.c,  482,   DFU segment rx: 15/8114
    00> <t:    2164638>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 2, count 3, interval: exponential, handle: FFFC
    00> <t:    2164651>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2164654>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2181709>, nrf_mesh_dfu.c,  482,   DFU segment rx: 16/8114
    00> <t:    2181713>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 3, count 3, interval: exponential, handle: FFFC
    00> <t:    2181726>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2181730>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2199247>, nrf_mesh_dfu.c,  482,   DFU segment rx: 17/8114
    00> <t:    2199252>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 4, count 3, interval: exponential, handle: FFFC
    00> <t:    2199265>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2199269>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2216228>, nrf_mesh_dfu.c,  482,   DFU segment rx: 18/8114
    00> <t:    2216232>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
    00> <t:    2216246>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2216249>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2233200>, nrf_mesh_dfu.c,  482,   DFU segment rx: 19/8114
    00> <t:    2233204>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
    00> <t:    2233217>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2233221>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2250746>, nrf_mesh_dfu.c,  482,   DFU segment rx: 20/8114
    00> <t:    2250751>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 7, count 3, interval: exponential, handle: FFFC
    00> <t:    2250764>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2250767>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2267730>, nrf_mesh_dfu.c,  482,   DFU segment rx: 21/8114
    00> <t:    2267735>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 1, count 3, interval: exponential, handle: FFFC
    00> <t:    2267748>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2267752>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2285264>, nrf_mesh_dfu.c,  482,   DFU segment rx: 22/8114
    00> <t:    2285269>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 2, count 3, interval: exponential, handle: FFFC
    00> <t:    2285283>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2285286>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2302639>, nrf_mesh_dfu.c,  482,   DFU segment rx: 23/8114
    00> <t:    2302644>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 3, count 3, interval: exponential, handle: FFFC
    00> <t:    2302657>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2302661>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2320526>, nrf_mesh_dfu.c,  482,   DFU segment rx: 24/8114
    00> <t:    2320531>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 4, count 3, interval: exponential, handle: FFFC
    00> <t:    2320544>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2320547>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2337469>, nrf_mesh_dfu.c,  482,   DFU segment rx: 25/8114
    00> <t:    2337473>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
    00> <t:    2337487>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2337490>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2354995>, nrf_mesh_dfu.c,  482,   DFU segment rx: 26/8114
    00> <t:    2354999>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
    00> <t:    2355013>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2355016>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2372059>, nrf_mesh_dfu.c,  482,   DFU segment rx: 27/8114
    00> <t:    2372064>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 7, count 3, interval: exponential, handle: FFFC
    00> <t:    2372077>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2372081>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2388973>, nrf_mesh_dfu.c,  482,   DFU segment rx: 28/8114
    00> <t:    2388977>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 1, count 3, interval: exponential, handle: FFFC
    00> <t:    2388991>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2388994>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2406022>, nrf_mesh_dfu.c,  482,   DFU segment rx: 29/8114
    00> <t:    2406027>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 2, count 3, interval: exponential, handle: FFFC
    00> <t:    2406041>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2406044>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2423006>, nrf_mesh_dfu.c,  482,   DFU segment rx: 30/8114
    00> <t:    2423011>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 3, count 3, interval: exponential, handle: FFFC
    00> <t:    2423024>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2423028>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2440498>, nrf_mesh_dfu.c,  482,   DFU segment rx: 31/8114
    00> <t:    2440502>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 4, count 3, interval: exponential, handle: FFFC
    00> <t:    2440516>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2440519>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2457485>, nrf_mesh_dfu.c,  482,   DFU segment rx: 32/8114
    00> <t:    2457489>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
    00> <t:    2457502>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2457506>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    2475412>, nrf_mesh_dfu.c,  482,   DFU segment rx: 33/8114
    00> <t:    2475417>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
    00> <t:    2475430>, nrf_mesh_dfu.c,  352, Write complete (0x2003FE98)
    00> <t:    2475434>, nrf_mesh_dfu.c,  361, Flash idle.
    00> <t:    5359000>, nrf_mesh_dfu.c,  325, ABORT Timeout fired @675543701
    00> <t:    5359003>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 0, count 15, interval: periodic, handle: FFFE
    00> <t:    5359008>, nrf_mesh_dfu.c,  593,   SERIAL TX (type: 65534)
    00> <t:    5359012>, main.c,  116, mesh_evt_handler >> Entering into [536888852]
    00> <t:    5359017>, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 0, count 15, interval: periodic, handle: FFFE
    00> <t:    5359021>, nrf_mesh_dfu.c,  565, Killing a TX slot prematurely (repeats done: 0).
    00> <t:    5359025>, nrf_mesh_dfu.c,  593,   SERIAL TX (type: 65534)

  • Hi 

     I am facing the same issue, nrfutil is stuck after the 35th segment. I probed the serial port and found that the PC is not sending packets after the 35th segment. 

    I have successfully implemented DFU sometime ago, but now it is not working.

    Is there any issue with nrfutil?

Related