How to execute code from SDRAM in mimxrt1050evkb

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

How to execute code from SDRAM in mimxrt1050evkb

948件の閲覧回数
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 返答(返信)

938件の閲覧回数
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 件の賞賛
返信

895件の閲覧回数
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 件の賞賛
返信