In what scenarios would the backdoor method be used to access ITCM and DTCM for S32K312?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

In what scenarios would the backdoor method be used to access ITCM and DTCM for S32K312?

ソリューションへジャンプ
330件の閲覧回数
Chris-Sun
Contributor II
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.
0 件の賞賛
1 解決策
303件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
304件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
230件の閲覧回数
Chris-Sun
Contributor II

Hi @petervlna 

Thank you for your response to my post.

Your response resolved my confusion.
 

Best regards,
Chris

0 件の賞賛