BL-653(nrf52833) failed to boot the FW from secondary slot of mcuboot which is located in external flash.

I have a BL653 module and with a lot of efforts somehow I was able to successfully create a secondary slot for mcuboot in external flash connected using SPI. Every time I try to DFU over BLE the latest FW image gets loaded in external flash which is secondary slot - slot 1. But I am unable to load the latest FW image in slot-0 or to boot the latest FW from slot-1 itself. I am using nRFDeviceManager app for my experimentation and try to upload the dfu-application.zip from build folder. When  I click TEST the RTT shows  <err> mcumgr_img_grp: Faled boot_set_next with code 3, for slot 1, with active slot 0 and confirm 0. Also the app reports error Invalid image header magic(23)

Here are the snips from app

Here are the settings from mcuboot.conf file

Here is zip of my build folder

4532.build.zip

Could anyone guide me on how to boot the image from secondary slot or copy it in primary slot

Parents Reply
  • Aniket95 said:
    One final question with your suggestion I have renamed the pm_static.yml to pm.yml and am really not sure if it matters. Do you still recommend to keep the name as pm.yml or change it to pm_static.yml?

    It is not recognized as pm.yml. pm.yml is only recognized and used in child images.

    The Parititon Manager will only include static partitioning in your project if you name it specifically "pm_static.yml" (or include it via build options).

Children
Related