Hi,
I have an ARM - DSP application that uses IPC MessageQ API for message exchanging.
What I have been doing is using MessageQ_alloc on ARM side and pass that message pointer to DSP through a heap on shared region (that is registered with MessageQ API also from ARM side).
I have tried to do MessageQ_alloc on DSP side, that attempt failed, saying to me that the heapId is invalid, for that I have used the same HeapId definition for ARM, my code is based on syslink-ex02 from ezsdk-5_05_01_04 (dm8168). Also tried other heap id numbers with the same result.
My questions are the following,
1. If I want to allocate a new Message from DSP can I use the same heap registered by ARM? If yes, under which circumstances?
2. Can I register 2 heaps from each side that are hold on the same shared region? And use:
ArmQ-->Heap1-->DspQ
DspQ-->Heap2-->ArmQ
If that is possible, should one Queue Handle on each side should be more than enough?
Any other info that help me to allocate queue messages on each side would be great.
Thanks
-Jose L.