I can switch to inactive image, but this image must program to address 0x48000.(288KB)
My project does not need such a large reserved space (e.g. 123KB).
Therefore, I want to configuration the flash layout for less reserved space and more user space.
so, I program the active image to address 0x0, and program the inactive image to address 0x25800(150KB).
then, use the function "psector_SetEscoreImageData" to switch image at address 0x25800, it not works.
but if burn the inactive image to 0x48000, and use "psector_SetEscoreImageData" to switch 0x48000 image, it is works.
I try to fix Makefile setting of "IMAGE_TOOL_CONFIGURATION" to " -s 153600", it still doesn't work.
where is wrong?
Thanks very much!
Hi Teddy,
I hope you are doing great.
I am not sure if I am following you. As my understanding, you want to have 2 codes in your flash memory. Am I wrong?
You could change the linker file location. You could program the new image.
Regards,
Mario