[i.MX RT1020]How to load and run the whole application in external SDRAM

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

[i.MX RT1020]How to load and run the whole application in external SDRAM

592件の閲覧回数
JJun
Contributor II

Hi,

I have a i.MX RT1020 Evaluation Kit: https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-rt1020-eva...

Since the application is very big (code 2MB, data 1.5MB), I would like to load and run the whole application in the external SDRAM.  It means place all code/data/bss in the SDRAM.

Step 1: Use Debugger (like JLINK) to manually load the application to SDRAM and run. If it works fine, then move to next step:

Step 2: Program the application to external QSPI FLASH. After power on or reset, the boot ROM will automatically copy application from FLASH to SDRAM and then run in the SDRAM.

I'm using MCUXpresso v11.5.1.

Can you please help to give some advice on how to achieve these two targets? Thanks a lot!

0 件の賞賛
返信
2 返答(返信)

571件の閲覧回数
JJun
Contributor II

Let me look at the post and take some tests...

Thanks a lot.

0 件の賞賛
返信

580件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.
This post might be helpful, it lists the two steps you mentioned, you only need to port that solution to RT1020: https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1050-Booting-from-serial-NOR-flash-to-SDRAM/ta...

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 件の賞賛
返信