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.

CCS/TMS570LS1224: Debugging in CCSv7 would slow the program execution of Microcontroller

Part Number: TMS570LS1224


Tool/software: Code Composer Studio

Hi, all. I have noticed that when you debug the code in CCS, your program would run relatively slower than the normal way. I am working on a DCAN project, which bit rate may be cared. Is their any ways to solve this problem?

And, is there a way to load and run program to Microcontroller directly without debug?

Thanks.

  • Joe,

    In general CCS should not be slowing down execution of your program. However there are exceptions to that. For example if you have CIO such as printf() included then that will halt and resume execution during operation.

    One thing you can do to avoid this is to use "Free Run". This is available from the run menu. It will disable all breakpoints, execute a run and then disconnect the debugger from the system so that the debugger is not querying status at all.

    Regards,
    John
  • Solve my problem exactly. Yes, I use printf() to check the current value. Thank you very much.