What is the difference between SRAM_L and SRAM_U

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What is the difference between SRAM_L and SRAM_U

578 次查看
Eden_0
Contributor I

S32K142_FLASH_ID

/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFFC000, LENGTH = 0x00004000

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

What is the difference between the two? Is it possible to remove part of the memory allocated by SRAM_L to SRAM_U?

 

0 项奖励
回复
3 回复数

560 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Eden_0,

These are physical SRAM memories.

SRAM_L is connected to the core code bus whereas SRAM_U is connected to core system bus

RM, Section 31.3.2 SRAM accessibility

danielmartynek_0-1716467006590.png

RM, Figure 2-1. S32K14x and S32K14xW product series block diagram

danielmartynek_1-1716467174101.png

 

Regards,

Daniel

0 项奖励
回复

558 次查看
Eden_0
Contributor I

Thank you  for your support,

 Is it possible to remove part of the memory allocated by SRAM_L to SRAM_U?

0 项奖励
回复

547 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Please find S32K1xx_Memory_Map.xlsx attached to the RM.

The SRAM_L and SRAM_U are physical memories with defined address regions.

In the linker file, the memory allocation in that regions si up to the user.

 

Regards,

Daniel

0 项奖励
回复