Part Number: AM4377
Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
Hi,
I am new to Debug Server Scripting. I have loadProgram which is working. But the ccxml and the .out are static values.
// Import the DSS packages into our namespace to save on typing
importPackage(Packages.com.ti.debug.engine.scripting)
importPackage(Packages.com.ti.ccstudio.scripting.environment)
importPackage(Packages.java.lang)
// Configurable Parameters
var deviceCCXMLFile = "Configuration.ccxml";
var programToLoad = "/flash_tool.out";
Please let me know how we can make it dynamic value, I want to pass it as command line paramter
C:\ti\ccsv6\ccs_base\scripting\bin\dss.bat loadprogram.js ccxml out
So that in my loadprogram.js I can set it
var deviceCCXMLFile=ccxml
var programToLoad=out
Regards,
Dhanya