Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS v5 DSS (Debug Server) Scripting from Matlab (R2012b win32) - XPCOM errors and others

$
0
0

I have tried hundreds of different changes to get the code working here (without success): http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/63754.aspx

Currently I get the following error (this is just the current error):

org.mozilla.xpcom.XPCOMInitializationException: Failed to initialize JavaXPCOM
at org.mozilla.xpcom.internal.MozillaImpl.initializeNative(Native Method)
at org.mozilla.xpcom.internal.MozillaImpl.initialize(Unknown Source)
at org.mozilla.xpcom.Mozilla.initialize(Unknown Source)
at com.ti.debug.engine.xpcom.Runtime.startBare(Runtime.java:197)
at com.ti.debug.engine.xpcom.Runtime.startBare(Runtime.java:148)
at com.ti.debug.engine.xpcom.Runtime.createComponent(Runtime.java:249)
at com.ti.debug.engine.impl.Application.<init>(Application.java:95)
at com.ti.debug.engine.cce.CCEDebugEngine.<init>(CCEDebugEngine.java:17)
at com.ti.debug.engine.cce.CCEDebugEngine.instance(CCEDebugEngine.java:50)
at com.ti.debug.engine.scripting.DebugServer.start(DebugServer.java:642)
at com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:152)
at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1103)
at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1068)
SEVERE: Can not connect to DebugServer. null
SEVERE: Could not start server: DebugServer.1: Can not connect to DebugServer. null
Error using JavaToDSS (line 55)
Java exception occurred:
com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server:
DebugServer.1: Can not connect to DebugServer. null

at
com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:155)

at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1103)

at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1068)

 

I know I am not the only one trying to get this to work with Matlab:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/128338/818458.aspx#818458
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/142519/514960.aspx#514960
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/84476/294917.aspx#294917

Many TI customers are DSP engineers, why is there no example or documentation for scripting from Matlab? This seems like an obvious use-case, made more obvious by the fact that Matlab runs on Java. Can someone provide one that works? Can TI please support Matlab for DSS? Does anyone know of a good tutorial or something for doing this?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>