Other Parts Discussed in Thread: CCSTUDIO, MSP430F5529, MSPM0G3507
Tool/software:
Hi Team,
I would like to run Jython script on CCS v20 as given in the below link -
https://software-dl.ti.com/ccs/esd/documents/dss_python_dss_scripting.html
Setup
1. Install Jython on Ubuntu linux platform
apt-get install jython
2. JAVA_HOME
$ echo $JAVA_HOME
/<HOME>/ti/ccs1280/ccs/eclipse/jre
3. CLASSPATH
$ echo $CLASSPATH
/<HOME>/ti/ccs1280/ccs/ccs_base/DebugServer/packages/ti/dss/java/dss.jar:/<HOME>/ti/ccs1280/ccs/ccs_base/DebugServer/packages/ti/dss/java/com.ti.ccstudio.scripting.environment_3.1.0.jar:/<HOME>/ti/ccs1280/ccs/ccs_base/DebugServer/packages/ti/dss/java/com.ti.debug.engine_1.0.0.jar
Execution
g$ jython script.py
Traceback (most recent call last):
File "script.py", line 3, in <module>
from com.ti.debug.engine.scripting import *
ImportError: No module named ti
Kindly let me know if anything needs to be modified/changed.
Thanks,
Shriya