the classification of SRAM

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

the classification of SRAM

跳至解决方案
804 次查看
yin_qiu
Contributor III

dear NXP experts:

in the S32K312 project, in the ld file ,we can find there is 32K int_sram 、32K int_sram_no_cacheable and 32K int_sram_shareable, could you  pls  tell me the detail distinguish about this classification?

thans a lot.

0 项奖励
回复
1 解答
774 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

int_sram - no constraints
int_sram_no_cacheable - expected to be non-cacheable (interrupt vectors and other reasons)
int_sram_shareable - expected to be shared with multicore

在原帖中查看解决方案

0 项奖励
回复
4 回复数
775 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

int_sram - no constraints
int_sram_no_cacheable - expected to be non-cacheable (interrupt vectors and other reasons)
int_sram_shareable - expected to be shared with multicore

0 项奖励
回复
500 次查看
WenWenDar
Contributor II

Hi, @davidtosenovjan 

After modifying the sizes of int_stram, int_stram_no-ucacheable, and int_stram_sthareable in the linker file, there is a  Data access violation (CFSR. DACCVIOL, MMFAR), At data address 0x20408594.

The chip is S32K312, and the linker file is as follows

linker_flash_s32k312_icf.JPG

Could you give me some advice? thank you!

标记 (1)
0 项奖励
回复
754 次查看
yin_qiu
Contributor III

thank you pretty much and are you familiar with ITCM and DTCM?

can I take use of them as normal ram?

0 项奖励
回复
697 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

ITCM/DTCM are fast local two port memories intended either for fast instruction or fast data access.

Front-door accesses to TCM memories are as fast as access to cache, back-door accesses are slower.

Also these port are mapped to different address ranges - Front-door address range for related core accesses and back-door address range for any core or other master, over this port TCM memories may act as system memories.

0 项奖励
回复