Hi,
> I am using TWR-VF65GS10, I want to check whether L2 cache is enabled or not,
> I found BT_MMU_DISABLE and L2_CACHE_DISABLE in reference manual, but I don't actually know how and where to use it.
To check whether you have L2 cache, see the digit before N letter in part number. 1N indicates that you have L2 cache and no RAM, 0N indicates that no L2 cache but 0.5MB RAM. It seems by default MMU, L1 Data and L2 caches of the Cortex-A5 core are enabled by boot loader.
Refer this thread for Enable/Disable L2 cache using register. https://community.nxp.com/thread/330937.
> And I also want to check whether TCM is enabled or not, how can I do that?
TCM is standard SRAM memory which is connected directly to Cortex-M4 via local memory
controller.I believe this is seleted by default.
Thanks
Timesys support.