Hi,
Is it possible to use the SharedRegion section, documented in the IPC user guide on page 3-41, in a "raw" mode, withouth any other module such as ListMP or MessageQ module?
I ask this because I want to put a variable in a memory location inside the shared region.
I declared in the .cfg file a SR0 like
var SHAREDMEM = 0x83000000;
var SHAREDMEMSIZE = 0x00600000;
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
SharedRegion.numEntries = 2; //each entry is a region of shared mem, I need only 1 for now (nr. 0)
SharedRegion.translate = false;
SharedRegion.setEntryMeta(0,
{ base: SHAREDMEM,
len: SHAREDMEMSIZE,
ownerProcId: 0,
isValid: true,
createHeap: false,
name: "DDR2",
});
Now I want to put a variable in this section of memory... maybe using the #pragma DATA_SECTION () or something else. Is it possible?
P.S: wahat is the difference between a SR with createHeap: false and one with createHeap: true ?
thanks, Luca