Update mcuboot (DFU) in SDK v2.7.0

Hello,

I just upgraded from SDK v2.5.0 to v2.7.0 and now I have a problem updating the bootloader.

In my project I have b0, the mcuboot (in s0 and s1) and the application.

I would like to be able to update the bootloader via mcumgr (update the app works) but when I confirm the image I loaded (and after the reboot of the device), the update was not done. Also, I notice the version is "0.0.0" of the file I loaded.

C:\DocTA\Soft\TA-Smart-BT840P>mcumgr -c my_config image list
Images:
 image=0 slot=0
    version: 2.0.2
    bootable: true
    flags: active confirmed
    hash: f293ba35d245649dce182661b983eee8cae3686aa16e79e390d99e50750cf2c1
Split status: N/A (0)

C:\DocTA\Soft\TA-Smart-BT840P>mcumgr -c my_config image upload Application\Test\signed_by_mcuboot_and_b0_s1_image.bin -e -n2
 44.00 KiB / 44.00 KiB [=======================================================================] 100.00% 2.25 KiB/s 19s
Done

C:\DocTA\Soft\TA-Smart-BT840P>mcumgr -c my_config image list
Images:
 image=0 slot=0
    version: 2.0.2
    bootable: true
    flags: active confirmed
    hash: f293ba35d245649dce182661b983eee8cae3686aa16e79e390d99e50750cf2c1
 image=0 slot=1
    version: 0.0.0
    bootable: true
    flags:
    hash: 446cc0ae63ace64f2a93bb2a2c38a4e48093550f777e3aa69474f16b4d7d63ce
Split status: N/A (0)


Do you have any idea where I made a mistake?

Thank you

Related