Texas Instruments TMS320DM646x Computer Hardware User Manual


 
www.ti.com
Tightly-CoupledMemory
TheformatofthedataintheTCMregionsetupregisterisshowninFigure3-2.
Figure3-2.TCMRegionSetupRegister
3116
ADDRESS
15121165210
ADDRESSReserved(000000)SIZE0ENB
Table3-5.TCMRegionSetupRegisterFieldDescriptions
BitFieldValueDescription
31-12ADDRESS0-FFFFFhBaseAddress.Thevalueprogrammedinthisfieldisleft-shiftedby12torepresentthephysical
baseaddressofthememoryblock(ITCMorDTCM).
11-6Reserved0Reserved
5-2SIZE0-FhMemoryblocksize.SeeTable3-6.
100Thisbitsisalways0.
0ENBTCMenable.
0TCMisdisabled.
1TCMisenabled.
Table3-6.ITCM/DTCMSizeEncoding
BinaryCodeSize
00000KB/absent
0001and0010Reserved
00114KB
01008KB
010116KB
011032KB
011164KB
1000128KB
1001256KB
1010512KB
10111MB
11xxReserved
TheinstructionsforreadingandwritingtotheITCMandDTCMare:
MRCp15,#0,Rd,c9,c1,#0;readDTCMregionregister
MCRp15,#0,Rd,c9,c1,#0;writeDTCMregionregister
MRCp15,#0,Rd,c9,c1,#1;readITCMregionregister
MCRp15,#0,Rd,c9,c1,#1;writeITCMregionregister
WhereRdisanyregisterwherethedataisreadorwrittenintotheregister.
OnDM646xdevices,thebaseaddressoftheITCMis00000000handthesizeis32KB.Hence,the
addressfieldoftheITCMregisterc9shouldbeprogrammedwith00000h.Thememoryblocksizefieldof
theITCMregisterc9isfixedtothevalueof6h.ThememoryblocksizefieldoftheITCMregisterc9is
readonlyandawritehasnoeffect.
OnDM646xdevices,thebaseaddressoftheDTCMis00010000handthesizeis32KB.TheDM646x
DTCMincludes32KBofRAMand8KBofROM.TheaddressfieldoftheDTCMregisterc9shouldbe
programmedwith00010h.ThememoryblocksizefieldoftheDTCMregisterc9isfixedtothevalueof
6h.ThememoryblocksizefieldoftheDTCMregisterc9isreadonlyandawritehasnoeffect.
SPRUEP9AMay2008ARMCore27
SubmitDocumentationFeedback