Part Number: F29H85X-SOM-EVM
Other Parts Discussed in Thread: CCSTUDIO
Hi all,
Occasionally, I encounter the following error while deploying an executable to the target device using a JavaScript script for connection and deployment.
Interestingly, if I first connect to the target using Code Composer Studio (CCS) and then disconnect, I no longer experience this error when deploying via the script.
Initiating the executable load sequence on the target hardware using TI Code Composer Studio.
*** User inputs:
Target Configuration: W:\39\MQI36W~K\matlab\toolbox\c2b\tic2000/C69WED~J/F7KSG0~A
Program Name: D:\26b\BugFixes\F29xExtMode\mCPU1.out
Board Name: *
CPU Name: C29xx_CPU1
*** Starting debug session...
*** Debug Session Name: Texas Instruments XDS110 USB Debug Probe_0/C29xx_CPU1
*** Board Name: Texas Instruments XDS110 USB Debug Probe_0
*** CPU Name: C29xx_CPU1
*** Connecting to target...
SEVERE: CS_DAP_0: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.3.0.3656)
SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
SEVERE: Cannot perform operation, target is not connected.
SEVERE: Error reseting target: Cannot perform operation, target is not connected.
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected. (W:\39\MQI36W~K\matlab\toolbox\c2b\TQOLDF~F/C69WED~J/RRHOBB~G.JS#96)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:117)
at org.mozilla.javascript.gen.c1._c0(W:\39\MQI36W~K\matlab\toolbox\c2b\TQOLDF~F/C69WED~J/RRHOBB~G.JS:96)
at org.mozilla.javascript.gen.c1.call(W:\39\MQI36W~K\matlab\toolbox\c2b\TQOLDF~F/C69WED~J/RRHOBB~G.JS)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)
at org.mozilla.javascript.gen.c1.call(W:\39\MQI36W~K\matlab\toolbox\c2b\TQOLDF~F/C69WED~J/RRHOBB~G.JS)
at org.mozilla.javascript.gen.c1.exec(W:\39\MQI36W~K\matlab\toolbox\c2b\TQOLDF~F/C69WED~J/RRHOBB~G.JS)
at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:500)
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)
at org.mozilla.javascript.Context.call(Context.java:540)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)
at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)
Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected.
at com.ti.debug.engine.scripting.Target.reset(Target.java:644)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)
... 18 more
### Build procedure for mCPU1 aborted due to an error.