Quantcast
Viewing all articles
Browse latest Browse all 17527

How to disable cache on shared RAM?

Hi,

I have two projects for the omapl137. One on the DSP and one on the ARM side. I've created my own IPC (just a simple shared memory location) where the DSP and ARM communicate.

I created 3 memory segments:

IPC...

Image may be NSFW.
Clik here to view.

I have configured them as io (assuming this will disable caching). A very similar platform is created for the ARM side. My code only runs if I call: Cache_wb and Cache_inv accordingly in the right places.

I don't have a need for this memory segments to be cached and have tried the following with the intent of disabling cache:

  1. set L2, L1D, and L1P Cache to 0
  2. remove cache module from sys/bios

My question:

  1. How, if possible, do I disable caching for a section of the shared memory on both the arm and the dsp in sys/bios?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>