MCUboot "Image in the primary slot is not valid" #mcuboot


Brenton Chetty
 

Hi there

I am having issues getting started with MCUboot. I flashed MCUboot version 1.8-dev onto my "nrf52840dk_nrf52840" and "nrf5340dk_nrf5340_cpuapp". I then flashed the hello_world sample to my boards.
I added "CONFIG_BOOTLOADER_MCUBOOT=y" to the hello_world sample in prj.conf.
I am using Zephyr 2.6.
Is there some configuration that I am missing?

*** Booting Zephyr OS build zephyr-v2.6.0-495-gf5b0f92bb718  ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
W: Failed reading image headers; Image=0
E: Image in the primary slot is not valid!
E: Unable to find bootable image

Any advice would be appreciated

Regards
Brenton

Join users@lists.zephyrproject.org to automatically receive all group messages.