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.

CLA debug



Hi Lori,

I would like to come back to the original issues with debugging. TRM chapter 6 says:

Single-step the CLA code

Once halted, the user can single-step the CLA code. The behavior of a CLA single-step is different than the main C28x. When issuing a CLA single-step, the pipeline is clocked only one cycle and then again frozen. On the 28x CPU, the pipeline is flushed for each single-step. You can also run to the next MDEBUGSTOP or to the end of the task. If another task is pending, it will automatically start when you run to the end of the task.

I added __mdebugstop() after each instruction, hoping to single step with flash. Here is the result. Why is this discrepancy yn = 2170.; (int) fTemp = -2308 ; fTemp = 1.158e+9. Those should be the same number. Why the difference? How can I debug this?

thanks vadim