Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
I have an end of line configuration utility that allows us to factory configure our modules before shipping. However, I cannot get the utility to run standlane as a package .jar or as a deployed windows installed using, for example, buildFx. The application is written in Java, has a JavaFX front end and works great when executed from the Eclipse IDE (i'm using Oxygen, and jdk 1,8,0).
I have read the DSS help files and I believe I have the correct path set up, but openSession always fails. I pass my connection and core as strings g_board = "Texas Instruments XDS2xx USB Debug Probe_0" and g_cpu = "CortexR4":
debugSession = debugServer.openSession(g_board,g_cpu);
The command works every time when ran from the IDE.
If ran from the packaged Jar I get a connection error : "Could not start server: DebugServer.1: Can not connect to DebugServer. URI is not hierarchical "
I'm fairly sure the ScriptingEnvironment is successfully created and the debugServer is also successfully created, I just can't seem to start sessions from the deployed jar. Which confuses me as being able to do the initialization of other objects would surely indicate my libraries and paths are OK? Other online posts for the URI is not hierarchical error seem to indicate it is a referencing problem but I have no idea how to debug that on the DSS side of things.
I would very much like a solution to this, such that I can deploy the application as a jar file and remove any requirement for users to start via the IDE.



