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.

CCSv5.2 Interrupts Disabled while in Debug Mode

Hello,

CCS version: 5.2.0.00069

TI Development board: Stellaris EKS-LM4F232 Evaluation Kit

StellarisWare version: 9453

After installing Code Composer Studio, setting up the board, and running the various examples included with StellarisWare for my board I have come across a state which halts all further development for me.

That problem I am experiencing is that interrupts are disabled while I am in debug mode. A simple way for me to reproduce this is to debug the sine_demo project included in the StellarisWare collection. Clicking "Resume" upon entering debug mode shows nothing to the screen. It is only after I exit debug mode that the program begins, since it is interrupt driven, and I see the sine wave printed to the screen.

This of course halts any and all development towards interrupt driven programs, stops my ability to create breakpoints within interrupts to determine where my program is faulting, and limits the overall functionality of CCS to the point where I must conclude this has been an error on my part and that there is a setting I'm missing.

I've already tried fiddling with the General Debug settings such as unchecking everything under "Disable interrupts" with no luck, though of course there may be some specific combination which is required that I haven't tried.

I am reaching out to the community since I am experiencing this problem even on example code provided by TI and have hit a dead end with my own attempts to find where I can enable interrupts while debugging.

Thank you for your time, I will appreciate any feedback I receive.

  • Forrest,

    There was one issue identified in CCS 5.2.0 which may be related to what you are running into. The issue was that CCS would not properly re-enable interrupts after performing certain debug operations, specifically when doing a Step Return (F7). This behavior was observed when using the built-in ICDI emulator. The bug has since been fixed, so would you be willing to give CCS 5.3 a try to see if the issue you are seeing is resolved?

    You can download and install CCS 5.3 from here http://processors.wiki.ti.com/index.php/Download_CCS and install it to a different folder than your current installation. That will allow you to use 5.2 and 5.3 side-by-side. Could you please give the Stellarisware example a try with CCS 5.3 and let us know if you still experience problems?

  • Thank you for the reply,

    I am downloading CCSv5.3 now, but I won't be able to verify whether or not the issue has been resolved until later tonight.

    I will let you know as soon as I can whether or not the issue has been resolved with the new install.

    -Forrest

  • After upgrading to CCSv5.3, I can now see the sine_demo example project running while debugging, and can set a break-point within its interrupt allowing me to single-step the code.

    Thank you for your help in resolving this issue.

    - Forrest

  • Great, glad to hear. Thanks for the confirmation that CCS 5.3 resolves the issue!