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.

Multiple instances of Debug server using DSS scripting



Hi, 

I would like to create multiple instances of Debug server to connect to multiple EVMs at the same time.

Can you please let know what is the procedure for this? 

Any sample code will be helpful. 

Regards

Uday 

  • With CCSv4, you can launch multiple instances of CCS, each on connecting to a different EVM via different emulator. Just make sure each running CCS has its own workspace. You can also have one running CCS and create a single target configuration that defines multiple connections (emulators), each with an EVM associated with it. You will need to use the 'Advanced' tab of the Target Configuration editor and select two (or more) connections.

    Thanks

    ki

  • Hello,

    How can we differentiate the name of each emulator in DSS scripting? Can we just use the same .ccxml file and pass Emulator's name as an argument in scripting? Is there any java method to get emulator's name (board's name) and CPU's name from .ccxml file?

    Thanks,

    Khang.

     

     

  • Truong-Khang Le-XID said:
    How can we differentiate the name of each emulator in DSS scripting? Can we just use the same .ccxml file and pass Emulator's name as an argument in scripting

    Yes. See my answer to your question in: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/71747/403542.aspx#403542

    Truong-Khang Le-XID said:
    Is there any java method to get emulator's name (board's name) and CPU's name from .ccxml file?

    Yes, but only AFTER you start the debug session for it. I am assuming you want this information BEFORE you start a debug session so you know what names to pass in to the openSession() call. There is no way via DSS to get this information before. One option is to parse the ccxml directly. It is a xml file format.