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.

My program works only for 10 iterations of a particular loop

Other Parts Discussed in Thread: CCSTUDIODear Sir, I am working on a Board which involves TMS3206713 DSP. I am running a Thread in the code wherein I am acquiring ADC data. This thread runs continuously. This Board takes the analog data as input from PC. When I run this program, it runs fine and captures the ADC data which is sent from the host PC and the same data is sent out through DAC of the Board which I can hear and compare with the original data sent from the Host PC ( here I am using Audio songs in the PC for faster analysis of the data sent by PC and the same being received by the Board and again sent out by the Board to DAC ports where i can tap the output and hear the song). After running this loop operation for 10 times successfully, when I go for the 11the time of taking the data from the Host PC and reproducing it through the DAC port of the Board, the PROBLEM appears. The data is being sent by the Host PC, but this data which is coming out from the Board is not the one which is being sent by the Host PC. If I reprogram the Board without breaking its link with the Host PC, then again it starts working fine. But again, this will work fine only upto 10 iterations. Then the same problem will start. Once again I have to reprogram the board to make it work fine. Please guide me to resolve this issue. Thanking you, tej pratap
  • I would suggest using breakpoints in CCS to see what happens to your program at the 11th loop. For a tutorial on this subject, refer to http://processors.wiki.ti.com/index.php/Tips_and_Tricks_for_CCStudio_IDE for a quick tutorial or http://processors.wiki.ti.com/index.php/CCSv4_Getting_Started_Guide