Hello,
Can anyone tell me how to write the cache contents directly to external memory without being written into cache?
regards,
Manoj
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.
Hello,
Can anyone tell me how to write the cache contents directly to external memory without being written into cache?
regards,
Manoj
There are two ways to do this.
#1 and easiest is to disable the L1D and L2 cache. But that's probably not going to be effective for a system solution.
#2 and not too difficult is to use the Memory Attribute Registers (MARs) for the memory space that you want data to be written straight out to that memory space. You'll be disabling the caching of those memory spaces.
I'd recommend reading through the cache section of the C66x CorePac UG, the C66x Cache UG, and the Data Manual for full caching details.
Best Regards,
Chad