Other Parts Discussed in Thread: MSP430F249, CCSTUDIO
I am receiving various errors (much more frequently since updating to Code Composer 4.2.3 from 4.0.1) when attempting to connect/load SW to my MSP430F249 target via an MSP-FET430UIF using DSS (javascript). One example is below. I would like to know how to avoid these errors completely so that I can test/qualify my software...
SEVERE: MSP430: Trouble Writing Memory Block at 0x2100 on Page 0 of Length 0x29e2: Could not communicate with FET
SEVERE: File: R:\Projects\TPM\Software\Calibration\Debug\Calibration.out: Load failed.
SEVERE: Error loading "R:/Projects/TPM/Software/Calibration/Debug/Calibration.out": File: R:\Projects\TPM\Software\Calibration\Debug\Calibration.out: Load failed.
I follow the proceeding steps when attempting to :
// Import Java
& DSS Packages into namespace
importPackage(Packages.com.ti.debug.engine.scripting)
importPackage(Packages.com.ti.ccstudio.scripting.environment)
importPackage(Packages.java.lang)
// Obtain singleton
instance of the scripting environment, factory for creating servers and
sessions
env = ScriptingEnvironment.instance();
// Set timeout (ms) for all calls to the debug
script server
env.setScriptTimeout(myScriptTimeoutValue);
// Start debug scripting server
debugServer = env.getServer("DebugServer.1");
debugServer.setConfig(myMSP430F249configFile);
debugSession = debugServer.openSession(".*");
// Connect to
target
debugSession.target.connect();
// Load the primary
software to target
debugSession.memory.loadProgram(myPrimaryExecutable);
Any help would be greatly appreciated!!
Thanks,
--
Joshua