How to configure DTCM as system ram usage for s32k314

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

How to configure DTCM as system ram usage for s32k314

1,660 Views
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 Kudos
Reply
2 Replies

1,654 Views
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 Kudos
Reply

1,635 Views
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 Kudos
Reply