First I should note that my colleague Arya will be handling this issue as I am handing this project off to him.
I have posted relevant files in an attachment.
I have setup a program that uses 2 pools, and 2 sets of 2 MSGQs (2 on ARM, 2 on DSP). One set is intended to run at a higher priority level through different tasks/processes. My code originated from the MESSAGE example from dsplink 1.65.00.03. I have the same problem with BIOS 5.33.05 / Link 1.65.00.03, and BIOS 5.41.13.42 / Link 1.65.01.06 (I upgraded so I could see the ROV view in CCS 5.1 to troubleshoot this problem).
The original MSGQs from the MESSAGE example work completely fine. The new ARM (receiver) MSGQ, using the second pool, also seems to work fine. The new DSP MSGQ seems to be found perfectly on the ARM side, but when I put a message to it, the DSP seems to immediately crash (unrelated to the DSP's call to MSGQ_get). I get this same problem even if I try to have the DSP send a message to the ARM, and then send it back (thus avoiding any simple MSG allocation problems, as it allocates fine on the DSP and goes to the ARM fine).
I have gone through the basic steps to check to see if there is a task stack problem. There does not seem to be. I added the options to my TCONF file to check at every context switch:
I have also checked the LOG messages, which produced nothing interesting. The Raw Logs show this:
I changed the TCONF file to also use my own error handlers, and it appears that it is being called by SYS_abort with a pointer to "Run-time exception detected, aborting"
It feels like there is some kind of memory problem, but I can't track it down. Our memory setup is almost identical to the stock MESSAGE example, except for the splitting of the POOL memory. The sections are in the same places, as far as I can tell.
Based upon the fact that the POOL works great in one direction, my thought is that is definately a problem with the DSP's second MSGQ, not with the pool.
None of the BIOS calls are returning errors. The MSQ locate process seems to work fine.
Thanks for any help. Unsure where to go next on this.