From CCS5.3 I can successfully download and run on my target, but I need to automate this from a batch file and so I am using loadti to download and execute on my target (in this case an RM48L950). Most of the time, the download works fine and the program runs:
set PATH=%PATH%;"c:\ti\ccsv5\ccs_base\scripting\examples\loadti\";
call loadti -v -n -r -c C:\LDRA\LDRA_Demos\TICCS50_Workspace\TICCS50_RM48L950_Dice\target.ccxml -n C:\LDRA\LDRA_Demos\TICCS50_Workspace\TICCS50_RM48L950_Dice\LDRA\TICCS50_RM48L950_Dice.out
But sometimes it just hangs. I switched on the -v option and when it hangs it is doing the following:
...
reset: Target reset
getBoolean: ENTRY
getBoolean: RETURN false
reset: RETURN
testEnv.outFiles: C:\LDRA\LDRA_Demos\TICCS50_Workspace\TICCS50_RM48L950_Dice\LDRA\TICCS50_RM48L950_Dice.out
Loading C:\LDRA\LDRA_Demos\TICCS50_Workspace\TICCS50_RM48L950_Dice\LDRA\TICCS50_RM48L950_Dice.out
loadProgram: ENTRY sFileName: C:\LDRA\LDRA_Demos\TICCS50_Workspace\TICCS50_RM48L950_Dice\LDRA\TICCS50_RM48L950_Dice.out
load: Requesting program load
waitUntil: ENTRY timeout: infinite
setupBeforeRun: ENTRY emuPin: 0
exists: ENTRY sSymbol: _RTDX_JTAGONLY
exists: Getting symbol package
exists: Looking-up symbol
exists: RETURN false
exists: ENTRY sSymbol: _RTDX_HPONLY
exists: Getting symbol package
exists: Looking-up symbol
exists: RETURN false
exists: ENTRY sSymbol: _RTDX_ICEONLY
exists: Getting symbol package
exists: Looking-up symbol
exists: RETURN false
exists: ENTRY sSymbol: RTDX$$MSG
exists: Getting symbol package
exists: Looking-up symbol
exists: RETURN false
getConfigMode: ENTRY
getConfigMode: RETURN 1
getConfigMode: ENTRY
getConfigMode: RETURN 1
exists: ENTRY sSymbol: rtdxCioOutputChannel
exists: Getting symbol package
exists: Looking-up symbol
exists: RETURN false
waitUntil: RETURN
load: Program load successful
getBoolean: ENTRY
getBoolean: RETURN true
waitForHaltIfPropertySet: Waiting for halt
waitUntil: ENTRY timeout: infinite
==> ( just hangs here )
Any idea what I can do to resolve this?
Thanks
Mark