Hello,
I'm starting testing IPC to pass notifications between two cores and I'm getting some problems with the IPC_start function.
I have modified cfg file to include all the next modules to work with IPC in a tms332c6678 multicore DSP:
var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');
var Notify = xdc.useModule('ti.sdo.ipc.Notify');
var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
var nameList = MultiProc.getDeviceProcNames();
MultiProc.setConfig(null, nameList);
Ipc.procSync = Ipc.ProcSync_ALL;
With this configuration I get a -11 in function returning value. I've seen similar problems in this forums but I'm not able to get enough information from your answers.
I've added a shared memory (same as in the evm667x example):
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
SharedRegion.setEntryMeta(0,
{ base: SHAREDMEM,
len: SHAREDMEMSIZE,
ownerProcId: 0,
isValid: true,
name: "DDR2_RAM",
});
But now the problem is that the IPC_start function seems to go into an infinite loop because the execution takes a long time without returning from it.
I'm not sure what to try now. Could you help me with it?
Regards.