MQX RTOS link application to SDRAM

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

MQX RTOS link application to SDRAM

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

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