RT105x FlexRAM configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT105x FlexRAM configuration

2,079 Views
ffloree
Contributor III

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!

Labels (1)
Tags (1)
0 Kudos
5 Replies

1,233 Views
li-chinwang
Contributor II
0 Kudos

1,233 Views
Yuri
NXP Employee
NXP Employee
0 Kudos

1,233 Views
Yuri
NXP Employee
NXP Employee

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

0 Kudos

1,233 Views
ffloree
Contributor III

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!

0 Kudos

1,233 Views
Yuri
NXP Employee
NXP Employee

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.

https://www.nxp.com/downloads/en/initialization-boot-device-driver-code-generation/Flashloader_i.MXR... 

Let me remind, the fuses can be burned only once. 

  

Regards,

Yuri.

0 Kudos