About switch image for JN518x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

About switch image for JN518x

612 次查看
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!

标签 (2)
0 项奖励
回复
1 回复

516 次查看
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 项奖励
回复