To rule-out the usual suspects, no I am not doing a printf from either a HWI or SWI routine. I am doing memory_allocs from dynamically created tasks, but this should be ok. I'm running on a DDR3 DM8168 EVM.
I've written some code that causes a new DSP task to be created upon the receipt of a notification from the ARM. The main loop runs ok, and so does the first task, but when I go to create a second task I get the following error:
ti.sdo.ipc.ListMP: line 417: assertion failure: A_nullPointer: Pointer is null
ti.sysbios.gates.GateMutex: line 114: assertion failure: A_badContext: bad calling context. See GateMutex API doc for details.
xdc.runtime.Error.raise: terminating execution
Perhaps I'm running out of memory? The second task never gets created. The assertion is made as soon as the host attempts to send the notify for the second task to the DSP.
Lee Holeva