texas-instruments


CCS/DRA755: DSS jython connection timesout whereas CCS manually does run successfully


I have a running project where debugging with manual CCS is running fine.
I am trying to use jython to connect to the DSS port using the same ccxml file which is being used for the CCS connection manually.
CCS connected manually
from com.ti.debug.engine.scripting import *
from com.ti.ccstudio.scripting.environment import *
from java.lang import *
from java.util import *
import sys
import time
# Create our scripting environment object - which is the main entry point into any script and
# the factory for creating other Scriptable Servers and Sessions
script = ScriptingEnvironment.instance()
# Create a log file in the current directory to log script execution
script.traceBegin("dss_py.xml", "DefaultStylesheet.xsl")
# Set our TimeOut
script.setScriptTimeout(15000)
# Log everything
script.traceSetConsoleLevel(TraceLevel.ALL)
script.traceSetFileLevel(TraceLevel.ALL)
# Start up CCS
ccsServer = script.getServer("CCSServer.1")
ccsSession= ccsServer.openSession(".*")
# Get the Debug Server and start a Debug Session
debugServer = script.getServer("DebugServer.1")
debugServer.setConfig(r"c:\Users\ABiswal\ti\CCSTargetConfigurations\J6.ccxml");
debugSession=None
try:
#debugSession = debugServer.openSession("DRA75x_DRA74x_0/CortexM4_IPU_1_C0")
#debugSession = debugServer.openSession("Blackhawk XDS560v2-USB System Trace Emulator_0/CortexM4_IPU_2_C0")
#debugSession = debugServer.openSession("DRA75x_DRA74x_0/IcePick_D/IPU_1_C0/CS_DAP_1_C0/CortexM4_IPU_1_C0/CortexM4_IPU_1_C0")
debugSession = debugServer.openSession("*","*")
#debugSession = debugServer.openSession("Blackhawk XDS560v2-USB System Trace Emulator_0","Cortex_M4_IPU1_C0")
#debugSession = debugServer.openSession("DRA75x_DRA74x_0","Cortex_M4_IPU1_C0")
try:
# Connect to the target
debugSession.target.connect()
I have tried various options to connect to the core M4 IPU1 C0, but am unsuccessful to connect. It times out with the message:
traceSetFileLevel: ENTRY sLevel: ALL
traceSetFileLevel: RETURN
getServer: ENTRY sServerName: CCSServer.1
getServer: Getting definition for: CCSServer.1
getServer: Constructing server
getServer: RETURN com.ti.ccstudio.scripting.CCSServer#da52a7
WARNING: CCSServer.openSession() failed. DSS was unable to launch Code Composer Studio, however script execution will continue. java.lang.ClassNotFoundException: com.ti.ccstudio.apps.scripting.ScriptUtils
getServer: ENTRY sServerName: DebugServer.1
getServer: Getting definition for: DebugServer.1
getServer: Constructing server
getServer: RETURN com.ti.debug.engine.scripting.DebugServer#1841b15
setConfig: ENTRY sConfigurationFile: c:\Users\ABiswal\ti\CCSTargetConfigurations\J6.ccxml
setConfig: RETURN
debuggerOpen: ENTRY sBoardName: * sCPUName: *
start: ENTRY
start: Firing: onServerStarting()
start: Connecting to XPCOM DebugServer
start: Initializing DebugServer using specified configuration: "c:\Users\ABiswal\ti\CCSTargetConfigurations\J6.ccxml"
waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment#16ec9d0 timeout: 45000 (ms)
SEVERE: Timed out after 45000ms
stop: ENTRY
disposeAndUnload: Firing: onServerStopping()
disposeAndUnload: Stopping DebugServer
disposeAndUnload: Firing: onServerStopped()
stop: RETURN
SEVERE: Could not start server: DebugServer.1: Timed out after 45000ms
stop: ENTRY
stop: RETURN
stop: ENTRY
stop: RETURN
I have followed the wiki pages to set up the environment.
Could someone point me what wrong I am doing?
Thanks in advance.
Regards,

Related Links

Texas Instruments Transferring Program
How to interact with an OpenThread device?
how do i use autosar program on tiva EK-TM4c123GXL (ARM cortex M4)?
CCS/DRA755: DSS jython connection timesout whereas CCS manually does run successfully
CCS: MPU6050 Sensorlib
configure osxmotion library and license manager in Canon Juma(STM32F401)
What is the fastest infinite loop in TI-84+ Basic?
serialEvent1 on cc3200 energia
Strange behavior with Sys/Bios mailbox objects
TI CC3200: How to get access point list(Wifi Direct)
Storing values to a list stored in a string
Connecting a Texas Instruments TI-84 Plus CE to an Ubuntu computer
Description of function i.e sl_Start(0, 0, 0) used for cc3200 launchpad
How do I detect if an installation of Code-Composer-Studio is licensed?
TI83+ evaluate expression program

Categories

HOME
elasticsearch
android-studio
list
ontouchlistener
vagrant
facebook-messenger
paypal-ipn
hid
tcsh
ant
typeerror
mathematical-optimization
mirc
fogbugz
tfs2015
visualforce
javafx-8
tfs2010
match
parsley.js
erd
tiff
rangy
amazon-elb
supervisord
google-tasks-api
closures
rpmbuild
google-sites
spring-shell
gitkraken
maven-surefire-plugin
mime-types
device
quartz.net
pyopencl
php-5.3
django-import-export
sendmessage
fatfs
dnsmasq
audit
premake
steam-web-api
opnet
john-the-ripper
macports
aurelia-cli
microsoft-ui-automation
iscroll
resampling
pyttsx
transparency
apache-toree
webvtt
algebra
http-basic-authentication
prefetch
d3v4
oid
oracle-fusion-apps
mifos
java-2d
thread-exceptions
openquery
fuzzer
visual-studio-monaco
gcloud-node
wolfram-language
dojo-build
urbit
verisign
vimperator
taco
psd
univocity
teensy
boost-proto
bayesglm
place
android-studio-import
sqlbase
jnlp
shell-extensions
wicket-1.5
iodocs
utf8-decode
nachos
prism.js
zend-search-lucene
property-injection
jms-serializer
lsa
grails-2.3
iirf
indesign-server
dynamic-rdlc-generation
html-frames
xmlwriter
email-verification
zend-pdf
autosize
glx
qtextbrowser
haiku
jquery-1.4
grails-validation
formal-semantics
solandra
chunking
jdownloader
twitter-feed
server-load
service-factory

Resources

Encrypt Message