Hi,
I am using CCS5 for my project with SYSBIOS for DSP. When I debug my code for certail unit test I get following error.
Error: ti.sysbios.gates.GateMutex: line 97: assertion failure: A_badContext: bad calling context. See GateMutex API doc for details.
But when I debug the same code using CCS4, I dont get any errors. This makes confusing to me. Does CCS4 and CCS5 works differenntly.
Also, my code works fine in both versions 4 and 5 if I remove the unit testing functionality.
Scenario1:
With Unit testing functinality enabled:
CCS5 TASK A->UnittestFunction()->SWI ----- generates error.
Without Unit test functionality:
CCS5 Hardware ISR function --> SWI ---- works fine.
Scenario 2:
With Unit testing functinality enabled:
CCS4 TASK A->UnittestFunction()->SWI ----- Works fine.
Without Unit test functionality:
CCS4 Hardware ISR function --> SWI ---- works fine.
I had gone through wik forum, as many of developers faced lot of issues, but not similar to this one.
If anybody have answers, please let me know.
Regards,
Sachin