I.MX RT1176 How to configure the size of DTCM or ITCM

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

I.MX RT1176 How to configure the size of DTCM or ITCM

ソリューションへジャンプ
534件の閲覧回数
Vinos
Contributor III

The memory map chapter indicates ITCM and DTCM both have 512KB.And Chapter 33.2 Feature saids "configurable size instruction and data TCM (default 256kB ITCM /256kB DTCM) with ECC interface".

But how can I configure the size of DTCM or ITCM.

0 件の賞賛
返信
1 解決策
500件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Vinos ,

  Please refer to AN12077:

https://www.nxp.com/docs/en/application-note/AN12077.pdf

kerryzhou_0-1686560534499.png

1. in the reset ISR, use the GPR16,GPR17,GPR18 to reallocate the flexRAM
2. MPU side, the flexRAM should match the reallocated flexRAM
3. memory area, use the new allocated size
4. debug script add the flexram reallocate register control
5. if code copy to reallocated RAM, the flexRAM reallocate register configuration can put to the DCD area.

 

Wish it helps you!

Best Regards,

Kerry

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
501件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Vinos ,

  Please refer to AN12077:

https://www.nxp.com/docs/en/application-note/AN12077.pdf

kerryzhou_0-1686560534499.png

1. in the reset ISR, use the GPR16,GPR17,GPR18 to reallocate the flexRAM
2. MPU side, the flexRAM should match the reallocated flexRAM
3. memory area, use the new allocated size
4. debug script add the flexram reallocate register control
5. if code copy to reallocated RAM, the flexRAM reallocate register configuration can put to the DCD area.

 

Wish it helps you!

Best Regards,

Kerry

 

0 件の賞賛
返信