imx6solox RAM memory space not enough problem

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

imx6solox RAM memory space not enough problem

550 Views
weigao
Contributor II

Hi ALL,

   I am currently using the imx6solox platform for debugging M4 kernel. The project is based on FreeRTOS system, and debugging the project using RPMSG example. Some relevant drivers codes are increased in the project folder. When I built the project, then IAR IDE compiler prompted: " memory space (RAM) is not enough". ( I have the impression that the size of M4 output the 'xxx.Bin' file should be not more than 32K).

   After that, I refer to the chip manual, M4 kernel space for TCM is about 64KB, size of OCRAM is 68K. The demo of  RTOS protocol is almost 20K (project output .bin file), it is really hard to add more codes in the project which is based on FreeRTOS system. In other words, it is hard to add new .c or .h files in the RTOS project. And also , I attached picture below which is the code memory space by default, if I change the setting of memory space (for example: the increase of memory address length), the IDE can compile, but whether it will affect my code running? For example, whether it will be be a memory address conflict during the running, or  a period of time the problem will be occurred?

pastedImage_0.png

I am looking forward to your reply, many thanks.

Regards

Wei

Labels (1)
0 Kudos
1 Reply

354 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You may use approach, described in app note AN5127 (How to Run the MQX™

RTOS on Various RAM Memories for i.MX 6SoloX). It allows to use external

DRAM for M4-based RTOS.

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN5127.pdf

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos