Clearing Cache

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys, when should you clear cache on a MPU?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When the memory "behind" the cache may have been changed by something other than the devices "in front" of the cache.

One example is when a DMA peripheral has modified memory.  Another is if you switch tasks that use different MMU settings (and the cache is based on per-task addresses.)