How to configure DTCM as system ram usage for s32k314

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

How to configure DTCM as system ram usage for s32k314

1,649 次查看
zp001
Contributor III

Hello NXP team,

I want to use DTCM as system ram, I found below configurations in the offical training material:

zp001_0-1672989990632.png

but it doesn't work.

I'd like to know what the right configuration is?

Thanks!

0 项奖励
回复
2 回复数

1,643 次查看
zp001
Contributor III

Number of threads 1 (Scheduler not yet running)
MemManage: The processor attempted a load or store at a location that does not permit the operation.
Possible MemManage fault location: 0x20000124.
HardFault: A fault has been escalated to a hard fault.

0 项奖励
回复

1,624 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

It should works as it is correct sequence.

DTCM must be also initialized for ECC by 64-bit writes either by core or DMA.

If you use it as system RAM. i.e. you are accessing by different master than the core this TCM is related to, you will have to use backdoor access address range.

davidtosenovjan_0-1673268974986.png

 

0 项奖励
回复