User manual

Tightly-Coupled Memory
www.ti.com
Example 3-2. TMS320DM646x ITCM Register c9 Programming
; Read ITCM
MRC p15, #00, R3, c9, c1, #1
NOP
NOP
; Enable ITCM
MOV R0, #0x1;
MCR p15, #00, R0, c9, c1, #1
NOP
NOP
; Read Back the ITCM value to check the ITCM Enable function
MRC p15, #00, R4, c9, c1, #1
NOP
NOP
Example 3-3. TMS320DM646x DTCM Register c9 Programming
DTCM_BASE_ADDR .word 0x10
; Read DTCM
MRC p15, #00, R3, c9, c1, #0
NOP
NOP
;Create DTCM enable mask
LDR R0,DTCM_BASE_ADDR
MOV R0, R0, LSL #12
NOP
ORR R0, R0, #0x1;
ORR R0, R0, R3
; Enable DTCM
MCR p15, #00, R0, c9, c1, #0
NOP
NOP
; Read Back the DTCM value to check the DTCM Enable function
MRC p15, #00, R5, c9, c1, #0
NOP
NOP
Note: See Chapter 5 of the Tightly-coupled Memory Interface of the ARM926EJ-S TRM,
downloadable from http://www.arm.com/arm/TRMs for more detailed information.
ARM Core28 SPRUEP9A May 2008
Submit Documentation Feedback