How to resize ITCM,DTCM when code is reside in ITCM

cancel
Showing results for 
Search instead for 
Did you mean: 

How to resize ITCM,DTCM when code is reside in ITCM

Jump to solution
797 Views
binhu
Contributor II

Here we we want the ROM to move code from flexispi flash into the ITCM and run, but before that want to enlarge the ICTM size( repartition the flexram). Can we access this by using the DCD code in the image head?

0 Kudos
1 Solution
472 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Hu

yes this should be possible using the DCD code, as it is configured by

IOMUXC_GPR_GPR17 register and described in AN12077 Using the i.MX RT FlexRAM
https://www.nxp.com/docs/en/application-note/AN12077.pdf

Also this may be configured with fuse Default_FlexRAM_Part - Default FlexRAM RAM bank partioning

described in Table 5-9. Fusemap Descriptions i.MXRT1050 Reference Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

4 Replies
473 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Hu

yes this should be possible using the DCD code, as it is configured by

IOMUXC_GPR_GPR17 register and described in AN12077 Using the i.MX RT FlexRAM
https://www.nxp.com/docs/en/application-note/AN12077.pdf

Also this may be configured with fuse Default_FlexRAM_Part - Default FlexRAM RAM bank partioning

described in Table 5-9. Fusemap Descriptions i.MXRT1050 Reference Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

472 Views
mjbcswitzerland
Specialist V

Hi

Use of DCD is explicitly advised against in the NXP application note!

pastedImage_1.png

Regards

 

Mark

[uTasker project developer for Kinetis and i.MX RT]

0 Kudos
472 Views
binhu
Contributor II

Hi igor,

      Thank you very much! But next question is how can I generate the dcd file by my self? It look like the SDK does not provide any tools to generate the dcd.bin file form source code. By the way , can I generate this dcd.bin file from the XIP code file evkimixrt1020_sdram_ini_dcd.c?

0 Kudos
472 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Hu

for new questions please create new thread.


Best regards
igor

0 Kudos