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

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

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

Jump to solution
629 Views
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 Kudos
Reply
1 Solution
595 Views
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

 

View solution in original post

0 Kudos
Reply
1 Reply
596 Views
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 Kudos
Reply