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.

AM335x裸机开发: L2 CACHE 的使用;

Other Parts Discussed in Thread: AM3352

AM335x裸机开发: L2 CACHE 的使用;

需求: L2 CAHCE 如何开启?  如果不用CACHE用,是否可以做内部RAM用;

 

开发硬件: AM3352,SPI0.SPIFLASH;

开发软件: CCS;

参考AM335X_StarterWare,建立CCS裸机工程:

 

工程代码:

#define CACHE_ICACHE                 (0x01) /* Instruction cache */

#define CACHE_DCACHE                 (0x02) /* Data and Unified cache*/

#define CACHE_ALL                    (0x03) /* Instruction, Data and Unified

 

      MMUConfigAndEnable();

      CacheEnable(CACHE_ALL);

 

没有看到L2相关的开启函数以及宏定义;是否默认就是开启?

谢谢!