In my MessageQ program, the msmcsram is as sharedregion0. When i disable the cache,the ipc_start() didn't return.
The cfg file is follow:
/* Shared Memory base address and length */ var SHAREDMEM = 0x0c300000; var SHAREDMEMSIZE = 0x00100000; SharedRegion0.translate = false; SharedRegion0.setEntryMeta(0, { base: SHAREDMEM, len: SHAREDMEMSIZE, ownerProcId: 0, cacheLineSize: 0, cacheEnable: false, isValid: true, name: "MSMCSRAM_IPC", });
when i pause the core0, it shows that
But when i enable the cache,the program can work well,the .cfg file is that:
/* Shared Memory base address and length */ var SHAREDMEM = 0x0c300000; var SHAREDMEMSIZE = 0x00100000; SharedRegion0.translate = false; SharedRegion0.setEntryMeta(0, { base: SHAREDMEM, len: SHAREDMEMSIZE, ownerProcId: 0, cacheLineSize: 128, cacheEnable: true, isValid: true, name: "MSMCSRAM_IPC", });
Does the sharedregion 0 must be cached?