Closed rickconrey closed 3 years ago
What is described above must be zephyr mcumgr library or zephyr dfu subsystem issue. Mcuboot just chainnload the zephyr application in which issue was encountered so it doesn't control any application activities after that.
I can't reproduce this with zephyr master on nRF52840_pca10056 board.
@nvlsianpu What transport are you using?
mcumgr over serial port - works out of the box with zephyr smp_svr sample.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
Using STM32WB, mcuboot master, and zephyr master.
Uploading an image the first time works. I can list, test, confirm, and reset. Everything seems to work normally. Once I have confirmed the uploaded image and reset the device to swap the image, the new image is loaded and runs fine. If I try to upload a new image, I receive an UNKNOWN (1) error.
Work around: Any time I want to upload new firmware, I must make sure the device has reset again after the last swap, then it seems to work.
Steps to make it work: