我在DM6467 ARM端例程的APP.C 中看到在call DSP端算法前要做
cacheWBINV和cacheINV,call以后要cacheWB。
例程中的buffer大小默认是1024,我做图像处理,需要一次读写一帧图像,
所以我设置的buffer大小是1M
这种情况,cache相关操作要怎么做?
/*
* fread() on this processor is implemented using CCS's stdio, which
* is known to write into the cache, not physical memory. To meet
* xDAIS DMA Rule 7, we must writeback the cache into physical
* memory. Also, per DMA Rule 7, we must invalidate the buffer's
* cache before providing it to any xDAIS algorithm.
*/
根据这个说明,如果我不使用DMA,是不是可以不做cacheINV这些操作