Plain load image size for LPC54018M

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

Plain load image size for LPC54018M

Jump to solution
2,335 Views
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?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
2,291 Views
Alice_Yang
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
6 Replies
2,307 Views
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 Kudos
Reply
2,301 Views
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 Kudos
Reply
2,292 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

YES.

0 Kudos
Reply
2,285 Views
rex_lam
Contributor IV

Thank you Alice.

0 Kudos
Reply
2,328 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello rex_lam,

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

 

BR

Alice

0 Kudos
Reply
2,315 Views
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 Kudos
Reply