Can I combine SRAM_L&SRAM_U?

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

Can I combine SRAM_L&SRAM_U?

315 Views
jingfang
Contributor IV

My SRAM_U too small, I want to combine SRAM_L&SRAM_U.

Is it possible and are there any limit?

/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000

/* SRAM_U */
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000

0 Kudos
1 Reply

309 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jingfang

       I've seen some internal discussions on this issue and their answer is no, you can't combine SRAM_L & SRAM_U.

you can take a look at this discussions as below.

https://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/ 

 

PS:

The SRAM of the S32K14x series MCU consists of two areas: SRAM_L and SRAM_U. The SRAM_L area is accessed through the Code Bus bus of the ARM CM4F core, while the SRAM_ area is accessed through the System Bus bus of the ARM CM4F core.

0 Kudos