Hello everyone,
I like to know if there is a fundamental difference between using DSS from the commandline versus launching debug scripts inside of the IDE. I'm using a Blackhawk emulator.
My scenario is like this: In CSS 5.2.1.18 I have a Target Configuration. I right click on that and chose "Launch Selected Configuration". It launches the (eclipse) Debugger and creates 10 debug sessions. They are all in the status: "(Disconnected : Unknown)". Now I load a java script file in the java script console. Finally I execute the java script file wich is loading a program onto the board, sets breakpoints, runs the program and finally writes a program into flash memory. This works fine!
Now I use the slighly modified java script file( added a line like this:
env = Packages.com.ti.ccstudio.scripting.environment.ScriptingEnvironment.instance();
and at the correct place:
debugServer.setConfig(configFile.getAbsolutePath());
).
I load/execute that file now in a DOSshell with this command: "dss DebugServerScriptingDSS.js"
However unlike running inside of CSS this time I get an error:
"SEVERE: Could not open session. No devices found matching: Blackhawk USB560-BP Emulator, 20-pin JTAG Cable_0/CA8"
Detailed exception information:
JavaException: com.ti.ccstudio.scripting.environment.ScriptingException: Could not open session. No devices found matching: Blackhawk USB560-BP Emulator, 20-pin JTAG Cable_0/CA8
I'm pretty lost on this, I have no idea what could be the difference.
Any idea?
Angelo
(P.S. I hope this is not a double post, as I posted first with IE, but the posting process seems to hang)


