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

Serial DFU on NRF9160-DK fail to upload image using mcumgr

Hi,

I try to implement Serial DFU update using the info in the "Add DFU support to your application" at link

https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu?CommentId=96ae5263-08cc-4a08-847c-50f1c1f17657

The enviroment is:

- NRF9160-DK board

- Windows enviroment.

The project build and run.

When I use mcumgr the command work but was non possible to me upload a new image.

The mcumgr echo work:

C:\FW\DFU_hello_world\build_nrf9160dk_nrf9160_ns\zephyr>mcumgr --conntype serial --connstring "com13,baud=115200" echo hello
hello

The mcumgr image list work:

C:\FW\DFU_hello_world\build_nrf9160dk_nrf9160_ns\zephyr>mcumgr --conntype serial --connstring "com13,baud=115200" image list
Images:
image=0 slot=0
version: 0.0.0
bootable: true
flags: active confirmed
hash: ed709b43573bd8ab480672e00fb40dfa4d93da3e4aa849bc194a6e2c3a35f2a9
Split status: N/A (0)

The mcumgr image upload stall at 0%:

C:\FW\DFU_hello_world\build_nrf9160dk_nrf9160_ns\zephyr>mcumgr --conntype serial --connstring "com13,baud=115200" image upload -e app_update.bin
0 B / 109.28 KiB [------------------------------------------------------------------------------------------] 0.00%

I tried to rebuild the same project for another boad (nRF5340-DK) and everything is OK.

Please help me to understant why the project is non working on NRF9160!!

Parents Reply Children
No Data
Related