thanks Alice for quick response!
but i want to develop secondary bootloader which will reside in external flash(SPIFI) and loads the application binary inside the same flash at
some other location and both should be executed in sequence!
after reset-> Bootrom bootloader-> secondary bootloader(@0x00000000) -> application binary(0x10100000)
just wanna understand both XIP and plain load image concept working.
how to program both binary at two different location using Jlink segger on board SWD
because whenever i program any binary vector table is placed at 0x000000
and i'm unable to jump to application @0x10100000
do i need to copy app.bin using spifi flash driver at some other location inside bootloader code before jump_to_application call??
just wanted to test two hello world program: one as bootloader
and another as Application inside the flash
and want both code to be executed??
can you provide code snippet for both including linker file?
just wanna understand how and where msp, pc is being set for both code.
thanks in advance!
Regards,
Ritesh
personal email: riteshsingh.ece@gmail.com