This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mesh DFU

Hi Team,

I am using nrf52833DK, nRF5 SDK for Mesh v4.2.0 and nRF5 SDK v16.0.0.

I am trying to implement mesh DFU, but the DFU is stuck at the 35th segment. When I probed the serial port I found out that the target is not sending ack.

I have also tried implementing DFU only with the softdevice, serial_bootloader, and device page. Still the same result.

Here is the log of the windows PowerShell.

PS C:\Users\Loka\Desktop\New folder (2)\New folder\bin\blinky> nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM16 -b 115200 -fc --mesh
Upgrading target on COM16 with DFU package C:\Users\Loka\Desktop\New folder (2)\New folder\bin\blinky\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: 2180
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: 1378fdff040f8c0a707759000000010002000000
target -> PC: 1378fdff040f8c0a707759000000010002000000
target -> PC: 05847800fdff
1: PC -> target: 1378fdff040f8c0a707759000000010002000000
target -> PC: 05847800fdff
Sending start packet
1: PC -> target: 1478fcff00008c0a7077ffffffff2102000040000c
target -> PC: 05847800fcff
Waiting for 0.0 seconds for flash bank erase to complete.
Sending firmware file
  [------------------------------------]    1%  00:08:491: PC -> target: 1978fcff01008c0a70770000012075c301005dc301005fc30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff02008c0a707761c3010063c3010065c3010000000000
target -> PC: 05847800fcff
  [------------------------------------]    2%  00:08:411: PC -> target: 1978fcff03008c0a707700000000000000000000000067c30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff04008c0a707769c30100000000006bc301006dc30100
target -> PC: 05847800fcff
  [#-----------------------------------]    3%  00:05:441: PC -> target: 1978fcff05008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff06008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
  [#-----------------------------------]    5%  00:04:341: PC -> target: 1978fcff07008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff08008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
  [##----------------------------------]    6%  00:03:541: PC -> target: 1978fcff09008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff0a008c0a70776fc301006fc301000dc801006fc30100
target -> PC: 05847800fcff
  [##----------------------------------]    8%  00:03:271: PC -> target: 1978fcff0b008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff0c008c0a70776fc301006fc301000000000000000000
target -> PC: 05847800fcff
  [###---------------------------------]    9%  00:03:081: PC -> target: 1978fcff0d008c0a70776fc301006fc301006fc301006fc30100
target -> PC: 05847800fcff
1: PC -> target: 1978fcff0e008c0a70776fc301006fc301006fc3010000000000
target -> PC: 05847800fcff
  [###---------------------------------]   10%  00:02:531: PC -> target: 1978fcff0f008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff10008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [####--------------------------------]   12%  00:01:561: PC -> target: 1978fcff11008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff12008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [####--------------------------------]   13%  00:01:451: PC -> target: 1978fcff13008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff14008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [#####-------------------------------]   15%  00:01:371: PC -> target: 1978fcff15008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff16008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [#####-------------------------------]   16%  00:01:311: PC -> target: 1978fcff17008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff18008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [######------------------------------]   18%  00:01:261: PC -> target: 1978fcff19008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff1a008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [######------------------------------]   19%  00:01:221: PC -> target: 1978fcff1b008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff1c008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [#######-----------------------------]   20%  00:01:191: PC -> target: 1978fcff1d008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff1e008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
  [########----------------------------]   22%  00:01:161: PC -> target: 1978fcff1f008c0a707700000000000000000000000000000000
target -> PC: 05847800fcff
1: PC -> target: 1978fcff20008c0a707700000000000000000000000000000000
2: PC -> target: 1978fcff20008c0a707700000000000000000000000000000000
3: PC -> target: 1978fcff20008c0a707700000000000000000000000000000000
4: PC -> target: 1978fcff20008c0a707700000000000000000000000000000000
5: PC -> target: 1978fcff20008c0a707700000000000000000000000000000000
target -> PC: 05

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

I have tried reinstalling python2.7, nrfutil and also used fresh SDK's. Still no success.

Image of serial port last packet. The last acknowledgement from the target is incomplete or incorrect.

Please suggest an appropriate solution for this. 

Thanks 

Parents Reply Children
No Data
Related