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!
Let me look at the post and take some tests...
Thanks a lot.
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