Run program (code) on external SDRAM on RT1020 evaluation board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Run program (code) on external SDRAM on RT1020 evaluation board

1,242 次查看
klau
Contributor II

Hi,

Is there any SDK example which can show me how to run program on SDRAM on below evaluation board?
https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-rt1020-eva...

Ideally I would like to get help to do
1) Load code on QPI flash memory, then boot to SRAM and run from SRAM.
2) Just load code to SRAM and run from there.

I am using a Jlink jtag, and I can read from/write to the SDRAM at 0x80000000.

And I just can NOT load code to flash or SDRAM, and run from there.

Any help would be greatly appreciated.

Thanks,
Kevin 

0 项奖励
2 回复数

1,220 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Kevin,

The following Knowledge Base article may help you achieve this.

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1050-Booting-from-serial-NOR-flash-to-SDRAM/ta...

Additionally, I would recommend looking at the following thread from a community user who documented their setup so that the ROM bootloader would copy a binary to RAM.

https://community.nxp.com/t5/i-MX-RT/A-way-to-create-a-binary-that-is-copied-to-RAM-from-the-ROM/m-p...

I hope either of these documents help with your application.

Regards,
Gustavo

0 项奖励

1,237 次查看
mjbcswitzerland
Specialist V

Hi

The SDK examples run either from QSPI internal RAM or SDRAM.

For loading to QSPI (plain code or encrypted) and execution from SDRAM see the uTasker boot loader which include various loading techniques for this and secure field updates.


- Boot loader concept including XiP on-the-fly decryption, clone protection or AES256 protected RAM execution.
-- Boot Loader concept flow chart: https://www.utasker.com/docs/iMX/Loader.pdf and usage reference https://www.utasker.com/docs/iMX/uTaskerLoader_TestDrive.pdf
-- Serial Loader features: https://www.utasker.com/docs/uTasker/uTaskerSerialLoader.pdf
-- Building the loader with MCUXpresso: https://www.utasker.com/docs/iMX/MCUXpresso.pdf (and video guide https://youtu.be/p_eUGo6GypY ) - the guide document explains how to use with any application (eg. SDK) and to enabling its operation with On-The-Fly decryption in 5 minutes
-- Building the loader with IAR: https://www.utasker.com/docs/iMX/IAR.pdf (and video guide https://youtu.be/XPCwVndP99s )
-- Building the loader with VisualStudio and GCC: https://www.utasker.com/docs/iMX/GCC.pdf (and video guide https://youtu.be/0UzLLSXABK8 )
Video Guide to encrypting NXP SDK examples to run from XiP memory using on-the-fly decryption and uploading with the µTasker loader: https://www.youtube.com/watch?v=5iT7KP691ls&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=10
Video Guide to encrypting NXP SDK examples to run at optimal speed in internal RAM and uploading with the µTasker loader:
https://www.youtube.com/watch?v=fnfLQ-nbscI&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=11
Video Guide for Embedded Artist OEM Module for i.MX RT 1062 showing precise secured application operation analysis: https://youtu.be/o7hQbOqhJoc

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/iMX/RT1020.html

 

0 项奖励