How to execute code from SDRAM in mimxrt1050evkb

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

How to execute code from SDRAM in mimxrt1050evkb

952 次查看
ganes_rames
Contributor II

Hi,

   The issue was i need to run data from external SDRAM memory instead of using internal RAM(DTCM). I tied to solve the issue using this thread. But still i got the same error below i have shared screenshot.Screenshot from 2025-02-03 16-07-23.pngScreenshot from 2025-02-03 16-07-23.png

0 项奖励
回复
2 回复数

942 次查看
ganes_rames
Contributor II

Hi ,
   After re-ordering the BORAD_SDRAM into top and adding preprocessor "XIP_BOOT_HEADER_DCD_ENABLE=1" , "SKIP_SYSCLK_INIT". now i can able to execute/debug code from sdram.

I have one more doubt. I need to render images on a display. What is the best approach for real-time responsiveness? Should I render images directly from external flash (XIP), store code in XIP flash while using SDRAM for data, or run the entire application from SDRAM without using XIP flash? Which method would be the most responsive for real-time operations?

0 项奖励
回复

899 次查看
Habib_MS
NXP Employee
NXP Employee

Hello @ganes_rames,
The performance of each memory depends on each implementation, however, in general SDRAM has a better response time but is volatile, in general could be better store code in XIP flash while using SDRAM for data.
Also, in this app note are compared the performance of different memories that could be helpful.
BR
Habib

0 项奖励
回复