About switch image for JN518x

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About switch image for JN518x

506 Views
teddyzheng
Contributor I

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 0x25800it 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!

Labels (2)
0 Kudos
1 Reply

410 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

Regards,

Mario

0 Kudos