Hi,
I am working on C6670 hardware platform and facing cache coherency issues. I know by default MSMC is cacheable but i want to make part of MSMC to be non-cacheable.For this i created a shared region in MSMC, and set its properties to be non-cacheable. This is how i created a shared memory region in my .cfg files for core0,core1 and core2 .
SharedRegion.setEntryMeta(0,
{ base: 0x0C010000,
len: 0x00070000,
ownerProcId: 0,
isValid: true,
cacheEnable:false
name: "sharemem",
});
But while allocating memory from this shared region using "Memory_alloc ((xdc_runtime_IHeap_Handle) SharedRegion_getHeap(0), num_bytes, 0, &errorBlock)"; cache seems to be enabled in this region.
Can you please let me know why cache is getting enabled in this region, even though i am explicitly setting cacheEnable : False.
Thanks,
Ankit