Texas Instruments TMS320DM646x Computer Hardware User Manual


 
Tightly-CoupledMemory
www.ti.com
Example3-2.TMS320DM646xITCMRegisterc9Programming
;ReadITCM
MRCp15,#00,R3,c9,c1,#1
NOP
NOP
;EnableITCM
MOVR0,#0x1;
MCRp15,#00,R0,c9,c1,#1
NOP
NOP
;ReadBacktheITCMvaluetochecktheITCMEnablefunction
MRCp15,#00,R4,c9,c1,#1
NOP
NOP
Example3-3.TMS320DM646xDTCMRegisterc9Programming
DTCM_BASE_ADDR.word0x10
;ReadDTCM
MRCp15,#00,R3,c9,c1,#0
NOP
NOP
;CreateDTCMenablemask
LDRR0,DTCM_BASE_ADDR
MOVR0,R0,LSL#12
NOP
ORRR0,R0,#0x1;
ORRR0,R0,R3
;EnableDTCM
MCRp15,#00,R0,c9,c1,#0
NOP
NOP
;ReadBacktheDTCMvaluetochecktheDTCMEnablefunction
MRCp15,#00,R5,c9,c1,#0
NOP
NOP
Note:SeeChapter5oftheTightly-coupledMemoryInterfaceoftheARM926EJ-STRM,
downloadablefromhttp://www.arm.com/arm/TRMsformoredetailedinformation.
ARMCore 28SPRUEP9AMay2008
SubmitDocumentationFeedback