In what scenarios would the backdoor method be used to access ITCM and DTCM for S32K312?1. I am currently using the TCM of S32K312, which is a single-core processor.
However, the memory map provides addresses for ITCM_0 Backdoor and DTCM_0 Backdoor. What are their use cases? I think Direct method is sufficient for S32K312.
2. If I use ITCM_0 Backdoor and DTCM_0 Backdoor, do I need to add definitions in the MEMORY and SECTION sections of linker_flash_s32k312.ld?
Does anyone know where I can obtain a demo for accessing ITCM and DTCM using the Backdoor method?
Thanks a lot.
Re: In what scenarios would the backdoor method be used to access ITCM and DTCM for S32K312?Hi @petervlna
Thank you for your response to my post.
Your response resolved my confusion.
Best regards,
Chris
Re: In what scenarios would the backdoor method be used to access ITCM and DTCM for S32K312?Hello,
1. I am currently using the TCM of S32K312,
The reason is that only core has direct access as master. Other masters like DMA need to access the TCM memory via backdoor.
2. If I use ITCM_0 Backdoor and DTCM_0 Backdoor, do I need to add definitions in the MEMORY and SECTION sections of linker_flash_s32k312.ld?
Does anyone know where I can obtain a demo for accessing ITCM and DTCM using the Backdoor method?
You can have a look at the example here.
https://community.nxp.com/t5/S32K/DTCM-ITCM-example/m-p/1606827#M21008
Best regards,
Peter