Hi,
do you know how to configure FlexRAM as TCM or OCRAM?
I checked the RM, AN12077 and SDK source code, found that IOMUXC_GPR_GPR14->CM7_MX6RT_CFGDTCMSZ only could be set as below:
0000 0 KB (No DTCM)
0011 4 KB
0100 8 KB
0101 16 KB
0110 32 KB
0111 64 KB
1000 128 KB
1001 256 KB
1010 512 KB
so, if i want to set DTCM as 480KB, how to set?
or, can you provide an example of ITCM/DTCM/OCRAM setting in FUSE?
Thanks in advance!
I can't download example code. It shows page is not found.
Hello,
Use the following:
Regards,
Yuri.
Hello,
According to AN12077:
“The Arm Cortex-M7 specifications require the size of ITCM/DTCM to be
a power-of-two number, which can conflict with the FlexRAM
configuration capability. Avoid access to the empty RAM space
configured by the corresponding FlexRAM configuration.”
Customers can use IOMUXC_GPR_GPR17, as described in section 2.1.2
(Definition of the memory type size) of the app note.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Yuri,
so i needn't to care ARM CM7 ITCM/DTCM setting requirement (power-of-two number),
just only need to set IOMUXC_GPR_GPR17 and IOMUXC_GPR_GPR16, right?
by the way, if you can provide an example of ITCM/DTCM/OCRAM settings in fuse, it'll be very helpful, do you have?
Thanks!
Hello,
Correct - "... needn't to care ARM CM7 ITCM/DTCM setting requirement (power-of-two number),
just only need to set IOMUXC_GPR_GPR17 and IOMUXC_GPR_GPR16..."
Customers can use the flashloader for fuse burning. Look at "i.MX MCU Manufacturing User's Guide.pdf"
in package documentation.
Let me remind, the fuses can be burned only once.
Regards,
Yuri.