TI中文支持网
TI专业的中文技术问题搜集分享网站

如何禁止L1D 缓存 MSMCSRAM的数据

大家好,我用的是6678开发板,看数据手册上有这么一段

To support MSMC, the L2 memory controller forces the MAR.PC bit corresponding to the MSMC memory to 1 (always MAR12.PC  through MAR15.PC). This makes the MSMC memory always cacheable within L1D when accessed by its primary address range. Secondary ranges may exist due to  aliases configured with XMC’s MPAX unit—these ranges are governed by their corresponding MAR.PC bits.

意思是说如果我访问MSMC的地址空间0x0C000000-0xC03FFFFF ,一共4MB时,数据会被cache到L1D,因为项目需要多核都会访问这个空间的数据,我想把这段空间CACHE禁止,怎么做。这段空间对应的MAR是只读的,试着改过了,没效果,CACHE还是开着。

 

user2000895:

只能重映射一下了,这个直接来的话   肯定不行的

赞(0)
未经允许不得转载:TI中文支持网 » 如何禁止L1D 缓存 MSMCSRAM的数据
分享到: 更多 (0)