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

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

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

跳至解决方案
468 次查看
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 解答
434 次查看
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 回复
435 次查看
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 项奖励