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.

Debugging errors after first register access

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I'm using CCS v. 4.2.4.00032 with Code Generation Tools v.6.0.1 on a Piccolo Control Stick (F28069) and the newest version of Control Studio with the device support files in my project. 

Since a few days I am not able to successfully step through the code with the debugger. When I set breakpoints, the debugger will reach them, but it seems like the order is somehow not right. I am able to step successfully through the code until the first microcontroller register for initialization (for example watchdog) is accessed.

I cannot see any reason why this error could have happened. I also reinstalled CCS, but it did not solve the issue. Moreover, I tried different projects which were working before and a different control stick.

I would be very grateful for your help!

Tobias

  • Tobias,

    I'll try doing some tests at my end with CCS 4.2.4 and F28069, but in the meantime, could you provide some additional details?

    - Did you update your CCS from an earlier version, or install the full DVD image of v4.2.4? If you updated from an earlier version, which version was it updated from?
    - Did these issues only start after moving to v4.2.4? Did anything else change in your environment?
    - Could you please try the suggestions of deleting the target cache files and target launches as described here to see if that helps: http://processors.wiki.ti.com/index.php/Troubleshooting_CCS#Debugger?

     

  • Thanks for your help.

    First of all, I am not experiencing this behaviour anymore since I installed  CCS 4.2.1.00004 from Control Stick CD and downgraded to CGT v. 5.2.6.

    1. I did not update from an earlier version.

    2. I am not sure about the cause of this error. Actually I did not even upgrade my installation

    3. I deleted the files as stated in the troubleshooting guide.

    I am going to update CCS to the latest version and CGT v.6.0.1 now, to see what happens.

  • After updating to CCS 4.2.4.00032, the behaviour shows up again....

  • Tobias,

    Could you provide the exact steps to reproduce the problem? If I understand correctly, you did not have any problems with CCS 4.2.1/CGT 5.2.7 but when you updated to CCS 4.2.4/CGT 6.0.1 you see the problems.

    If you could let us know which example from ControlSuite you are running, and exactly what steps you take to generate the problem (where you set the breakpoints etc), that would be very helpful for us to try to recreate the problem at our end and investigate further.