Hi,
I am using the board EVMDM8148, with the following tool chain
bios_6_34_02_18
ipc_1_25_00_04
xdais_7_21_01_07
xdctools_3_24_05_48
CCs3.3
I'm using only two cores A8 and DSP C674x, All the other cores are bypassed in my ccxml file. I have configured the shared memory correctly on both the cores, have also gone through all the recommendations in this forum but still IPC_attach() returns -11. I suppose the issue is with the configuration/communication between A8 and DSP. because I'm able to do a ipc_start() correctly on both cores the error is returned only during attach().
MultiProc.baseIdOfCluster = 0;
MultiProc.numProcessors = 2;
MultiProc.setConfig("DSP", ["HOST", "DSP"]);
SharedRegion.setEntryMeta(0,
new SharedRegion.Entry({
name: "IPC_Internal",
base: 0x8d000000,
len: 0xc00000,
ownerProcId: MultiProc.getIdMeta("HOST"),
cacheEnable: false,
isValid: true
})
);
var hostId = MultiProc.getIdMeta("HOST");
Ipc.procSync = Ipc.ProcSync_PAIR;
Ipc.sr0MemorySetup = true;
/*Ipc.setEntryMeta({
remoteProcId: hostId,
setupNotify:true,
setupMessageQ:true
});*/
Program.stack = 8192;
BIOS.heapSize = 8192;
SharedRegion.numEntries = 1;
SharedRegion.translate = false;
A8 cfg file
MultiProc.baseIdOfCluster = 0;
MultiProc.numProcessors = 2;
MultiProc.setConfig("HOST", ["HOST", "DSP"]);
SharedRegion.setEntryMeta(0,
new SharedRegion.Entry({
name: "IPC_Internal",
base: 0x8d000000,
len: 0xc00000,
ownerProcId: MultiProc.getIdMeta("HOST"),
cacheEnable: false,
isValid: true
})
);
var hostId = MultiProc.getIdMeta("HOST");
Ipc.procSync = Ipc.ProcSync_PAIR;
Ipc.sr0MemorySetup = true;
/* Ipc.setEntryMeta({
remoteProcId:hostId,
setupNotify:true,
setupMessageQ:true
});*/
Program.stack = 8192;
BIOS.heapSize = 8192;
Program.heap = 8192;
SharedRegion.translate = false;
SharedRegion.numEntries = 1;
help will be appretiated