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.

Launching CCS5.5 from JAVA


As per my understanding , The below mentioned *.jar will help us to launch CCS4X from Java program :

" <INSTALL DIR>\ccsv4\eclipse\startup.jar "

However, I want to Launch CCS5.5 GUI for debugging, from my Java program. Is there any *.jar is required as mentioned
above to launch CCS5.5.

If there, please provide the *.jar or more information to do the above mentioned activity.

Thank you.
Mahesh

  • Hi Mahesh,

    As I mentioned in your other thread, how CCS is launched as changed in later CCSv5 version and I don't think you can use the same technique to launch CCS from a Java program. As I mentioned in my other post, what is it that you are trying to achieve with launching CCS from Java?

    Thanks

    ki

  • Hi Ki-Soo Lee,

    Thank you for your timly responses.

    Adding up to mahesh problem description, we were using CCs3x for which the "ti" has provided .net DLL through which we were able to control the CCS studio. Now as the platform has changed to javascript/perl we need an interfacing mechanism with CCS5.5 from C# side.

    JAVA Help

    In that way we started exploring CCS5.5 studio from JAVA and we realised the supprot for launching the CCS GUI from Java language is removed in CCS5.5.

    Any help regarding wrt JNI or like mentioned above " startup.jar" from CCS4.x customised to CCS5.5 will be greatly appreiciated.

    JAVASCRIPT Help:

    And also is it possible to have the different javascript to interact with same dubug session created

    i.e. 1 say invoke> dss connect.js will only do the invoking of CCS IDE and dubug perspective. then connects target - the script ends ( but the GUI need not to be closed)

    2. invoke>dss load.js will just load the program for the existing session created by connect.js

    3. invoke>dss run.js which will run the target ( same session) 

      

    We have already procured like 15 to 20 CCS5.5 licence.. 

    Thanks & Regards,

    Mohan Kumar Siddalingappa Engineer – Sensors & Integrated Systems

    UTC AEROSPACE SYSTEMS

  • mohankumar Siddalingappa said:
    Any help regarding wrt JNI or like mentioned above " startup.jar" from CCS4.x customised to CCS5.5 will be greatly appreiciated.

    Unfortunately the ability to launch the CCS GUI from a DSS Java application is no longer supported starting with CCSv5. It is due to changes in the way CCS can be launched via DSS. The ability to do this is now just supported via javascript. Sorry.

    mohankumar Siddalingappa said:

    And also is it possible to have the different javascript to interact with same dubug session created

    i.e. 1 say invoke> dss connect.js will only do the invoking of CCS IDE and dubug perspective. then connects target - the script ends ( but the GUI need not to be closed)

    2. invoke>dss load.js will just load the program for the existing session created by connect.js

    3. invoke>dss run.js which will run the target ( same session) 

    This is not supported... by default. But there is a good workaround. Check out the DSS Test Server Example:

    .\ccsv5\ccs_base\scripting\examples\TestServer

    It was originally intended as a way for people to send scripting commands to a remote running instance of DSS via TCP/IP. But people have also used it to be able to connect to an already running instance of DSS on the same PC. Check out the readme.txt in the TestServer directory.

    ki