DTCM i.MXRT 1052 configuration

cancel
Showing results for 
Search instead for 
Did you mean: 

DTCM i.MXRT 1052 configuration

268 Views
Contributor I

Dear All,

I am using MIMXRT1050-EVK and would like to configure DTCM for 512 Kb at the first place of my software, I did the following : 

 

___writeMemory32(0x400AC040, 0x80000000); //IOMUXC_GPR_GPR16
___writeMemory32(0x400AC044, 0xAAAAAAAA);

 

but I get hardfault on the second line, any advise about this ?

 

I call these 2 lines just after clock init.

 

Regards

David

0 Kudos
1 Reply

39 Views
NXP TechSupport
NXP TechSupport

Hi David

for configuration examples one can look at sect.2.1.1.2. Runtime

configuration AN12077 Using the i.MX RT FlexRAM
https://www.nxp.com/docs/en/application-note/AN12077.pdf

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

0 Kudos