I've got an EVMK2H and i'm trying to setup a simple IPC project that does the following:
- On each DSP core, create a message q, listen, and respond back to a message when received.
- On the ARM, create a thread per DSP core and send messages from that thread to a DSP core.
For creating the threads on the ARM, I used the smp_test as an example, which uses the clone() function.
The questions/problems I have are more on the ARM (Linux) side. I've successfully got one thread talking to a DSP core.
- Do I need to call Ipc_transportConfig() (and/or) Ipc_Start() on each thread, or just once before I start creating the threads?
- My first MessageQ_Create() succeeds, but subsequent threads all return NULL
- Each thread has a unique name that is being passed to the MessageQ_Create
- Is there any way to figure out why this failed? some sort of error code?