Program over LPC54608 flash size

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Program over LPC54608 flash size

1,570件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,566件の閲覧回数
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 件の賞賛
返信

1,563件の閲覧回数
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 件の賞賛
返信

1,552件の閲覧回数
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 件の賞賛
返信