Program over LPC54608 flash size

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

Program over LPC54608 flash size

513 Views
YaChun
Contributor I

1. My program is over the flash size, the chip is LPC 54608.
I wanna dynamically copy the flash function into ram & execute.
How can do it?
I copy the flash data into ram, but cannot execute it normally, got hard fault instead.

2.Does MCUXpresso IDE support linker script with OVERLAY function?
If does, any example given?

0 Kudos
3 Replies

509 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello YaChun,

In MCUXpresso IDE,  we can copy flash to ram to execute by enable"Plain load image":

121212121212.jpg

I think copy to ram can't solve the flash over size issue, even though run in RAM, first code need save

in flash.

 

Regards,

Alice

0 Kudos

506 Views
YaChun
Contributor I

I can use external flash or any other storage...

And replace the function in ram dynamically maybe can solve.

Do you know how to do?

0 Kudos

495 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Have a look at the part "17.13.5 Placing specific functions into RAM Blocks" of MCUXpresso IDE use guide. I attach it for you.

 

Regards,

Alice

0 Kudos