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.

newb: How to turn off cache for OMAP DSP?

Other Parts Discussed in Thread: SYSBIOS

Cant seem to get past IPCstart() when I try to disable cache for a shared mem region set up statically using:

var SHAREDMEM0           = 0xc2000000;
var SHAREDMEMSIZE0       = 0x00310000;
SharedRegion.setEntryMeta(0,
    { base: SHAREDMEM0,
      len:  SHAREDMEMSIZE0,
      ownerProcId: 1,
      isValid: true,
      name: "shared0",
      createHeap: true,
      cacheEnable: false,
    });

This is the common setup for both DSP and ARM cores, where the owner is the DSP...both cores are running SYSBIOS...

What is the proper way to disable caching for a shared mem region ?

  • Kent,

    That config parameter in SharedRegion does not setup the Cache.  It is only used to tell SharedRegion whether it needs to call Cache operations or not.

    The module:  ti/sysbios/hal/Cache (generic) or ti/sysbios/family/c64p/Cache (family specifc) can be used to enable/disable or perform Cache operations.  Please see the cdoc for these modules for more information.

    Judah