Hi guys....
Got some problems with IPC, NDK and INTC! I tried to combine the Notify example with hello world NDK example... I figured out, that IPC doesn't work, when NDK stack starts! My program hangs in the send notify fkt.
So I tried to use CSL INTC and write my own notify code! I use this init code:
/* INTC module initialization */
context.eventhandlerRecord = EventHandler;
context.numEvtEntries = 10;
if (CSL_intcInit(&context) != CSL_SOK)
printf("Int init failed \n",core);
/* Enable NMIs */
if (CSL_intcGlobalNmiEnable() != CSL_SOK)
printf("Int init failed \n",core);
/* Enable global interrupts */
if (CSL_intcGlobalEnable(&state) != CSL_SOK)
printf("Int init failed \n",core);
vectId = CSL_INTC_VECTID_13;
tmrIntcHandle = CSL_intcOpen(&tmrIntcObj, CSL_GEM_IPC_LOCAL, &vectId, NULL);
/* Bind ISR to Interrupt */
EventRecord.handler = (CSL_IntcEventHandler)&Ipc;
EventRecord.arg = (void *)CSL_GEM_IPC_LOCAL;
CSL_intcPlugEventHandler(tmrIntcHandle, &EventRecord);
/* Event Enable */
CSL_intcHwControl(tmrIntcHandle, CSL_INTC_CMD_EVTENABLE, NULL);
After calling CSL_intcInit, my NDK stack doesn't work anymore.... ??????
That's very frustrating... I feel like I'm debugging the so called "fully debugged" TI-LLDs, instead of developing something useful. Do you test your modules in combination at TI??
Can anyone out there help me with this issues?