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

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

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

跳至解决方案
2,344 次查看
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 项奖励
回复
1 解答
2,019 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

4 回复数
2,020 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

2,019 次查看
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 项奖励
回复
2,019 次查看
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 项奖励
回复
2,019 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Hu

for new questions please create new thread.


Best regards
igor

0 项奖励
回复