I want to use mcuboot_opensource as the secondary bootloader and have the app reside in SPI flash.
I've flashed sdk example mcuboot_opensource using MCUXpresso IDE, "GUI Flash Tool" to base address 0x60000000. and built the sdk example iled_blinky and used the .bin to create a signed binary image.
"imgtool sign --key sign-rsa2048-priv.pem --align 4 --header-size 0x0400 --pad-header --slot-size 0x200000 --max-sectors 800 --version "1.0" app.bin app_binary_SIGNED.bin"
Using MCUXpresso IDE, "GUI Flash Tool" flashed the "app_binary_SIGNED.bin" to 0x60040000. following is the console output.
hello sbl fw.
Bootloader Version 1.7.2
Bootloader chainload address offset: 0x40000
Reset_Handler address offset: 0x40400
Jumping to the image
The MCU is keep resetting and the app is not getting executed. How should I get it to execute? I'm planning to run the app from RAM eventually. what steps or any example I can follow?