LPC540 Run Application from SDRAM

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

LPC540 Run Application from SDRAM

796件の閲覧回数
bzdan
Contributor I

Hello,

I'm using LPC54S018-EVK evaluation board with LPC540 and MCUXPresso IDE.

I'm currently exploring the spifi_polling_transfer demo from the SDK and have successfully run the application from SRAMX. However, due to limited SRAM space in my main application, I'm interested in running the application from SDRAM instead. I've searched through the available resources but haven't found any examples demonstrating how to achieve this. Can anyone confirm if it's possible to run an application from SDRAM on this platform, or provide guidance or examples on how to do so?

0 件の賞賛
返信
1 返信

765件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the SDRAM is RAM,the code is lost after power off, so you have to save code and constant data in spifi flash.

If you want to want to save code in SDRAM and run the code in SDRAM, you have to initialize the SDRAM, then copy the code from spifi flash to SDRAM. If you run the code, I suppose that you have to configure the MPU module.

Pls refer to the AN12432.pdf

https://www.nxp.com.cn/docs/en/application-note/AN12423.pdf

Hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信