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.

CODECOMPOSER: CCS6 and CCS12 Intermittent break points

Part Number: CODECOMPOSER

I have no more hair left to pull out on this one.

I am attempting to debug code on the 28069 processor. Most of the time this works. CCS6 has been the tool of choice since CCS12 barely functions for that processor. I have an ad ISR running at 20kHz and I'm trying to debug the code inside that interrupt. I'm having issues where I can set a break point in the code and sometimes it will break, and sometimes not. 

That is, I set a breakpoint at a certain location and the first time through the interrupt it breaks, then I continue the code and it will break again, then most of the time by the third time around, it will not break and just executes the code never breaking  again until perhaps the jtag disconnects and throws my favorite "low power" now I'm really stuck and you are really hosed error. I know I'm kind of venting here but I've now wasted two days fighting the tools that are supposed to help me. 

Another great one is where I click on the margin to set a break point and the code stops at some random place in the code.

I usually have good luck with this platform but not now. Any high level "look here look there" suggestions will be welcomed...

Thanks for looking...

  • Hello,

    Are you having issues with both CCS 6 & 12? Please provide the exact versions.

    Can you also provide a small reproducible test case?

    Thanks

    ki

  • Hi David, 

    Please also provide the following information:

    • In Debugger Options, do you have "realtime mode" enabled?
    • Do you have "Disable interrupts when stepping / running" enabled?
    • Did you set a hardware or software breakpoint?

    Thanks,

    Oliver