This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C40: TMS320C40

Part Number: TMS320C40

We have a switch-case block that executes successfully for case "CONTINUE_GRAB_OPCODE"  anywhere between 2,000 to 40,000 iterations. The switch-case statement will then fail and drop to the default case. In the default case, we have added debug code to echo back what value was fed into the switch-case block. The value we get back is the constant defined by "CONTINUE_GRAB_OPCODE" literal. The code was modified to perform retries of the switch-case block before declaring an error and the block of code still fails occasionally. Our conclusion is that the code being executed by the DSP has somehow been corrupted and that's why the error persists. We then tried disabling some interrupts in our system. Once we disabled these interrupts, we were able to achieve >90,000 successful iterations of the switch-case block. We are now suspecting some kind of hardware error on the circuit card that contains the DSP (this is a custom design). We are staring at the schematics and DSP data sheet trying to determine what hardware issue would cause the switch-case block to fail randomly.