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.
TI工程师:
我在用OMAPL138的starterware的时候,用到cache.c中的CacheEnable函数,具体如下:
CacheEnable(L1PCFG_L1PMODE_32K | L1DCFG_L1DMODE_32K | L2CFG_L2MODE_128K);
即将L1p,L1D,L2中的128K作为cache,实际实验的过程中发现执行这句时L2中的256K都被cache了,后来查看CacheEnable这个原函数,发现CacheEnable函数中L2相应的寄存器赋值出现错误。
大胆的问下,是不是TI提供额CacheEnable这个函数有问题?(按照自己的理解修改能达到L2前128Kcache)