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.

AM3352: D-cache configuration

Part Number: AM3352
Other Parts Discussed in Thread: SYSBIOS

Hi,

Now I use AM3352(Cortex-A8) in my project.The AM3352's MMU is not enabled in my project (just set Mmu.enableMMU = false in my project's main.cfg file).

And I need to use D-cache,so I have a question:is D-cache can be enabled,and work normally when MMU is disabled? If the D-cache can work normally with MMU disabled,how should I do to configuire the D-cache?

The bios_6_75_02_00 is used in my project.

  • Hi,

    Please see the documentation below which is contained in the SYS/BIOS installation.

    <BIOS>/docs/cdoc/ti/sysbios/family/arm/a8/Cache.html

    Data caching requires the MMU to be enabled and the cacheable attribute of the section/page descriptor for a corresponding memory region to be enabled.

    <BIOS>/docs/cdoc/ti/sysbios/family/arm/a8/Mmu.html, excerpt from example for placing the MMU table and how to enable L1 data + L2 caching:

    // Enable the cache
    Cache.enableCache = true;
    
    // Enable the MMU (Required for L1/L2 data caching)
    Mmu.enableMMU = true;

    Regards,
    Frank

  • Thank you for your answer!