Hello I read through the wiki for the scripting console for CCS4 but I still cant seem to figure out exactly what I seem to be doing wrong.
I want to send a image to my DPS from a .bmp file on my computer by using the scripting console to call the loadRaw() method, but I dont think i am doing it correctly.
I have a java script running from outside of CCS4 attempting to open up a session with the scripting console and load a image file to the DPS at a address define by "IMAGE"
here is a code snippet
============================================================
importPackage(Packages.com.ti.debug.engine.scripting);
importPackage(Packages.com.ti.ccstudio.scripting.environment);
importPackage(Packages.java.lang);
var script = ScriptingEnvironment.instance()
// Get the Debug Server and start a Debug Session
debugServer = script.getServer("DebugServer.1");
debugServer.setConfig("tisim_c64xple.ccxml");
debugSession = debugServer.openSession(".*");
var addofimage = debugSession.Symbol.getAddress("IMAGE");
debugSession.memory.loadRaw(0,addofimage,'image location',32,false);
============================================================
Do i have the right idea? open up session of the scripting console and i should be able to use the loadRaw method? I had been able to use loadRaw directly from the scripting console inside of CCS4, but i want to be able to make calls from outside of CCS4.