Plain load image size for LPC54018M

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

Plain load image size for LPC54018M

跳至解决方案
2,239 次查看
rex_lam
Contributor IV

The LPC54S018J4M MCU has 192K SRAMX and 4MB spifi flash. Is the maximum plain load image size restricted by the size of the SRAMX, i.e. 192K for LPC54S018J4M?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,195 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport
0 项奖励
回复
6 回复数
2,211 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Rex,

This is depends on how config in your IDE or linker file, for example MCUXpresso IDE, when do NOT enable "Plain load image",

it will flash XIP.

Alice_Yang_0-1619601513936.png

 

You can open the demos "hello world" and "hello world xip" under SDK  to check the difference. 

 

BR

Alice

0 项奖励
回复
2,205 次查看
rex_lam
Contributor IV

Hi Alice,

Let's assume that I want to enable "plain load image". Is the maximum firmware image size then restricted to 192K?

Rex

0 项奖励
回复
2,196 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

YES.

0 项奖励
回复
2,189 次查看
rex_lam
Contributor IV

Thank you Alice.

0 项奖励
回复
2,232 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello rex_lam,

No, you can directly  Execute in place from spifi flash.

 

BR

Alice

0 项奖励
回复
2,219 次查看
rex_lam
Contributor IV

Alice,

Thank you for responding. To clarify, do you mean that the first 192K will execute from SRAMX and the higher addresses of the firmware image will execute in place from spifi flash? Is this the default behavior for plain load image?

Rex

0 项奖励
回复