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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,679件の閲覧回数
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 解決策
1,354件の閲覧回数
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 返答(返信)
1,355件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

1,354件の閲覧回数
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 件の賞賛
1,354件の閲覧回数
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 件の賞賛
1,354件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Hu

for new questions please create new thread.


Best regards
igor

0 件の賞賛