Hi, I have integrated MCUBoot to my application and I see the below error every time on device reset.
E: Image in the secondary slot is not valid!
Below are my prj.conf flags setup
CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_SECURE_BOOT=y CONFIG_SB_SIGNING_KEY_FILE="priv_key.pem" CONFIG_DFU_TARGET=y CONFIG_IMG_MANAGER=y CONFIG_DFU_TARGET_MCUBOOT=y CONFIG_DFU_TARGET_STREAM=y CONFIG_STREAM_FLASH_ERASE=y CONFIG_STREAM_FLASH=y CONFIG_B0_MIN_PARTITION_SIZE=y CONFIG_NRF53_UPGRADE_NETWORK_CORE=n
I am using NRF Connect SDK v2.2.0 and my target board is nRF5340-DK
Please guide me what I am doing wrong, thank you in advance
Please let me know if any information is nedded.