Why does my CCS v3.3 (service release 11) halt the program on a DSP at the wrong place?

1 view (last 30 days)
I am using CCS v3.3 (service release 11), Code Generation Tools v5.1.1.
I am running the ADC-PWM Synchronization via ADC Interrupt demo on F2808 eZdsp (c2808adcpwmasynctest.mdl). The demo builds and runs with no problem, but when I halt the program, the DSP stops at the wrong location:
000066 0000 ITRAP0
The program should halt in a loop which constantly tests for the occurrence of certain error.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There are some compatibility issues with Code Generation Tools v5.1.1 and Target Support Package TC2 v3.1 (R2008b). The last known working version for the TC2 Code Generation Tools is v5.0.2.
The Code Generation Tool version we officially support is listed here:
<http://www.mathworks.com/products/tic2000/requirements.html>
To work around this issue, you can simply switch back to an older version of Code Generation Tools. There is no need to uninstall CCS. You can easily set the version by selecting the following option in CCS:
Help -> about -> Component Manager -> Build Tools -> TMS320C28XX
Code Generation Tools v5.0.2 is available for free with a valid TI account at:
<https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm>
After switching the version, make sure to restart CCS and clear the CCS object in the MATLAB workspace.

More Answers (0)

Tags

Products


Release

R2008b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!