Run Code on SDRAM instead OCRAM in iMXRT1170 in IAR.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run Code on SDRAM instead OCRAM in iMXRT1170 in IAR.

Jump to solution
574 Views
Naveed
Contributor II

Hi

I am using iMXRT1170-FVK board. I want to run my code in the SDRAM memory region not in the OCRAM.

1. What are the settings need to be done to execute the code in the SDRAM?

2. I want to configure it in the IAR Tool. Please let me know how to configure it in IAR?

3. Is there any reference manual available to configure this? or any example code?

Thanks in advance.

0 Kudos
1 Solution
550 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please download SDK again. When select toolchain, please check IAR.

 

Regards,

Jing

View solution in original post

0 Kudos
3 Replies
565 Views
jay_heng
NXP Employee
NXP Employee

You can refer to \SDK_2_12_1_MIMXRT1170-EVK\boards\evkmimxrt1170\demo_apps\hello_world\cm7\iar demo.

Note that switch to sdram_text_debug build, and SDRAM init is done by .jlinkscript. you can debug project by debugger directly. but for power-on boot, you need to use SEC or MCUBootUtility tool to download the app binary into external Flash.

SDRAM.PNG

0 Kudos
556 Views
Naveed
Contributor II

Thankyou for your response.

I didn't find iar demo folder in this path \SDK_2_12_1_MIMXRT1170-EVK\boards\evkmimxrt1170\demo_apps\hello_world\cm7\iar demo. I tried importing the example project but I didn't find a proper way to import the example code in to iar tool.

1. Can please help me in how to import the example project into the iar tool. what is the correct way to import the project?

2. Please elaborate the settings in iar to execute the code in the SDRAM. 

Thanks in advance. 

0 Kudos
551 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please download SDK again. When select toolchain, please check IAR.

 

Regards,

Jing

0 Kudos