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: my ccs can not deubg

Tool/software: Code Composer Studio

target must be connected before calling the function

  • Can you please provide some more information?

    What version of CCS are you using?
    What host operating system are you on?
    What device are you debugging?
    What debug probe are you using?

    I have seen this issue recently with an MSP432 Device and a Segger J-Link Debug probe. If that is what you are using then the issue is in the Segger software and we have informed Segger of the issue. There is a way to work around this problem by doing the following to launch a debug session.

    Go to the View menu and select target configurations
    Find your project and expand the targetConfigs folder inside it
    Right click on the ccxml file and select Launch Selected Configuration
    This will start the debugger
    Once the debug perspective is open select the Cortex M in the Debug view and click on the connect button or right click and select connect.
    Now click on the load program button and select your program to load.

    If you are using a different device please provide the requested information and I can attempt to help you.

    Regards,
    John
  • My problem resolved, I downloaded with J-LINK, DMK5 can be detected with the chip, but CCSv8 can not be downloaded with CCSv8, my other boards can be downloaded, and finally I unloaded CCSv8, Download CCSv7, can download, and then V8 can be downloaded, it should be the CCS software has a problem, my computer is win10