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.

use Debug Server Scripting starts the code composer Studio

I use the Java programming language and want to create a ccssession, but with a caveat, see the example in the DSS example

“ccsSession = ccsServer.openSession(".*");

WARNING:CCSServer.openSession() failed .DSS was unable to launch Code Composer Studio,however script execution will continue.java.lang.reflect.InvocationTargetException:null

the version of ccs is 5.5 

Has anyone come across this problem? How to solve the trouble to inform, thank you

  • Hello,

    Please note that trying launch the CCS v5.x+ IDE from a Java application is not a supported environment. This used to work with CCSv4 I believe changes made in CCSv5.3+ impacted this and it no longer works. We do not recommend this scenario.

    ki

  • Is it possible if I call a js file using java to try to start CCS

  • Is it possible if I call a js file using java to try to start CCS

    This is likely possible. But please note that you need to halt script execution after the openSession command to give the IDE/debugger time to launch. Otherwise the automation may finish before you have a chance to see it run in the IDE.

  • I tried to call the js script through java, but the result still can not start ccs, it seems that this way is not good. thanks!!

  • Hello, I would like to ask if you only want to call CCS for C2000 series chip chip software simulation of the core, and read registers, then only call DSS without opening CCSSession can complete this function?  Thank u!!!

  • Hello, I would like to ask if you only want to call CCS for C2000 series chip chip software simulation of the core, and read registers, then only call DSS without opening CCSSession can complete this function?

    You can do all that with standard DSS calls. You only need a ccsServer instance if you wish to see the CCS IDE GUI appear when running DSS from the command line.

  • Thank u so much!!!!