4.1.5. Enabling the TCM

The TCM interfaces can be enabled at reset in the system by an external signal on the processor. If they are disabled at reset then the following code example can be used to enable both the instruction and data TCM interfaces in software:


        LDR r11, =CM7_ITCMCR
        LDR r0, [r11]
        ORR r0, r0, #0x1    ; Set CM7_ITCMCR.EN field
        STR r0, [r11]

        LDR r11, =CM7_DTCMCR
        LDR r0, [r11]
        ORR r0, r0, #0x1    ; Set CM7_DTCMCR.EN field
        STR r0, [r11]

Copyright © 2014-2016, 2018 Arm. All rights reserved.ARM DDI 0489F