Hi,
we are developing application for TMS320DM6446, using both arm and dsp cores. DSP binary contains code from simulink model and small wrapper using dsplink for communication with arm processor (master). Recently we had problems with execution of binary for dsp,. Normally application running on arm core uses IPC (dsplink) to activate single iteration of algorithm running on dsp and than waits for results to start new cycle. Problem is that sometimes dsp blocks execution when starting second iteration. It is enough to call calculation routine only once as a part of dsp binary inicialization phase, and dsp will block during second iteration.
So now I'm trying to switch from older compiler 6.0.21 to a newer one. It seems that result depends on optimization level, when set to -o0 or -o1, compiler generates working binary, when using higher optimization level (-o2) something goes wrong and dsp binary no longer works as expected. This behaviour seems to be same for several tested compiler releases (6.1.23, 7.2.12, ...).
You can find the project files within my profile, I know that this is probably not the best test case, but it is not easy to come with something smaller, as this problematic behavior disappears and reappears unexpectedly, while extending the simulink model.
Best regards
Stan