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.
Solved! Go to Solution.
Hi @Vinos ,
Please refer to AN12077:
https://www.nxp.com/docs/en/application-note/AN12077.pdf
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
Hi @Vinos ,
Please refer to AN12077:
https://www.nxp.com/docs/en/application-note/AN12077.pdf
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