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.

CCSTUDIO3: How to "reset" using cmd line in Jython script for DSS and capture output

Part Number: CCSTUDIO3


Tool/software:

Hello Team,

I am working on the script using Jython - https://software-dl.ti.com/ccs/esd/documents/dss_python_dss_scripting.html

I need support on few instances.

1. Reset command to be used in this script as I need to reset every time at the beginning.

2. As I am working on adding this script in CI/CD framework, could you suggest how to check terminal output and get this data in this script ? I am not getting any reference for this.

3. List of commands I can use in Python_dss scripting, any supporting document which list commands and examples ?

Looking forward for your inputs, as I am not getting sufficient information on this regard.

Thanks,

Shriya

  • Shriya,

    The available DSS APIs are documented in <installDir/ccs/ccs_base/scripting/docs/DS_API/index.html

    For example, if you want to issue a reset, you can do the following: 

    debugSession.target.reset();

    As for reading terminal output, as it is a python script, you should be able to you standard python to do what you need.

    Thanks,

    Ricky