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

Issue with DFU over serial using MCUMGR for NRF5340

So, i have been trying to perform a DFU over serial using the method mentioned here by Hung Bui.

Here is a summary of what i did:

- build and flash mcuboot

- build and flash smp_svr and i get this: 

- then i check using mcumgr

 command: mcumgr -t 20 --conntype serial --connstring=COM3 image list

- then i try uploading the image (im using the hello world sample)

 command: mcumgr -t 20 --conntype serial --connstring=COM3 image upload app_update.bin

app_update.bin is the signed version of the image made when the application is build using SES

then i check using image list

which also seems ok.

- HERE is the problem

when i use the command, mcumgr -t 20 --conntype serial --connstring=COM3 image test 88ffb564222fa4604e90ea2562e1a8177e2da216027cadf26d46a0b675d28697

it shows this and then i reset the chip for the image to be swapped, but i get this

At this point, its just stuck here even if i try reset multiple times.

Do you guys have any advice for me? not sure what im doing wrong.

Thank you in advance!

Parents Reply Children
No Data
Related