MQX RTOS link application to SDRAM

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

MQX RTOS link application to SDRAM

167 Views
Vidya_1203
Contributor II

Can someone please give a document on how to link MQX RTOS application to SDRAM?

We tried the below mentioned procedure. It works for bare metal projects but not for MQX example projects.

Image running from external SDRAM
• MCUXpresso IDE
1. Select Project > Properties - C/C++ Build > Settings > Tool Settings > MCU Linker > Managed
Linker Script and check Link application to RAM.
2. Select Project > Properties - C/C++ Build > Settings > Tool Settings > MCU C Compiler >
Preprocessor and add defined symbol SKIP_SYSCLK_INIT=1.
3. In Project > Properties > C/C++ Build > MCU settings, delete Flash, and modify BOARD_SDRAM to
start at 0x80002000 with size 0x1dfe000. Move BOARD_SDRAM to first position to make it default.
4. Build the image.

0 Kudos
1 Reply

123 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Vidya:

 

I would suggest you can check below link, it is about SDRAM configuration with FreeRTOS.  It maybe similar to MQX

https://community.nxp.com/t5/MCUXpresso-IDE/SDRAM-configuration-on-MIMXRT1050-EVK-B-using-FreeRTOS/m...

Another demo you can refer to is Kinetis K70,  there is a DDR build configuration in classic MQX 4.2

Regards

Daniel

0 Kudos