Memory Issue in i.MX 6SoloX cortex M4

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

Memory Issue in i.MX 6SoloX cortex M4

1,641 Views
nagaprasadvasam
Contributor III

Hi Every One,

   I am Working on imx6solox sabre-sd Board,running cortex-m4 with FREERTOS and cortex-A9 with Linux. my Rtos Application for cortex-m4 exceeding 32kb memory limit for m4,can any one help me regarding how to increase code and data segment memory range for cortex-m4 and changes needed for linux addresses on cortex-A9.

Thanks & Regards,

NagaPrasad.

0 Kudos
Reply
5 Replies

1,461 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

   Please refer to Table 2-2 (CM4 memory map) of i.MX 6SoloX  Reference Manual, Rev. 3, 07/2018,
 regarding available for CM4 memory. Note, DRAM MMDC memory is common for CA9 and CM4. 

https://www.nxp.com/webapp/Download?colCode=IMX6SXRM 

Regards,

Yuri.

0 Kudos
Reply

1,461 Views
nagaprasadvasam
Contributor III

Hi Yuri,

Thanks for ur reply,

i tried by using memory according to table in reference manual,i have edited linker file for ddr RAM as well as qspi.but there seems to be no change,can you please suggest some solution to work with cortex-m4 with peripheral functionality as expected with modification of Ram memory region.

0 Kudos
Reply

1,461 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Do You use Linux on CA9?

How  CM4 code is loaded and run?

How memory is allocated between CA9 and CM4?

Regards,

Yuri.

0 Kudos
Reply

1,461 Views
nagaprasadvasam
Contributor III

Hai,

Yes i am running Linux on A9 & code is running through u-boot using ddr memory.

Regards,

Prasad.

0 Kudos
Reply

1,461 Views
Yuri
NXP Employee
NXP Employee

Hello,

  The DDR memory for CM4 should be reserved, as shown, for example in 

"reserve_m4_memory.docx"

https://community.nxp.com/docs/DOC-335105

 

Regards,

Yuri.

0 Kudos
Reply