This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517的MMU初始化

Other Parts Discussed in Thread: AM3517

    哪里有AM3517 MMU的初始化程序?看到AM335x的芯片的StarterWare里有关于MMU的配置程序,愣是申请了一个星期没有通过,到现在都没下下来,有没有谁有的可以发给我一份,谢谢!邮箱是jk60.lei@163.com

  • 在starterware 的system工程中cp15.asm,有如下汇编,

    ;*****************************************************************************
    ; This API Disables MMU.
    ;*****************************************************************************
    CP15MMUDisable:
        MCR     p15, #0, r0, c8, c7, #0    ; Invalidate TLB 
        MRC     p15, #0, r0, c1, c0, #0   
        BIC     r0, r0, #1     
        MCR     p15, #0, r0, c1, c0, #0    ; Clear MMU bit
        DSB 
        BX      lr

    ;*****************************************************************************
    ; This API Enables MMU.
    ;*****************************************************************************
    CP15MMUEnable:
        MRC     p15, #0, r0, c1, c0, #0
        ORR     r0, r0, #0x001
        MCR     p15, #0, r0, c1, c0, #0    ; Set MMU Enable bit
        DSB
        BX      lr