I have a keystone EVM board (66K2H), have done a search on the forum prior to posting, and am trying to use 'program_evm' to upgrade the built in NAND flash with the latest multicore sdk image, but encountering problems. I am getting a 'file not found' error. I've followed the instructions on the wiki to the best of my ability, and double-checked that CCS has the appropriate (I believe) emulation packs installed. It is claiming I am missing a file in "C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml", which I am, but expected it to be installed when I installed the MCSDK and CCS. Did I miss anything obvious?
Software versions:
Windows XP Pro
CCS v. 5.5
Multi-core SDK 03_00_02_14
Latest TI emu pack
Run CCS 'check for updates', found updates and installed them.
Environment variables:
DSS_SCRIPT_DIR="C:\ti\ccsv5\ccs_base\scripting\bin"
PROGRAM_EVM_TARGET_CONFIG_FILE=C:\Documents and Settings\XXXXXXXX\ti\CCSTargetConfigurations\evm_board.ccxml
Failure Log:
-----------------
C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm>%DSS_SCRIPT_DIR%\dss.bat program_evm.js evmk2h -ls
board: evmk2h
endian: Little
emulation: XDS2xx emulator
binaries: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/binaries/evmk2h/
ccxml: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/configs/evmk2h/evmk2h.ccxml
SEVERE: Cannot read System Setup data from XML file C:\ti\mcsdk_bios_3_00_01_12
tools\program_evm/configs/evmk2h/evmk2h.ccxml
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could
not be opened. Id=C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml While parsing file: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml
SEVERE: Could not start server: DebugServer.1: Cannot read System Setup data from XML file C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/configs/evmk2h/evmk2h.ccxml
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml while parsing file: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Cannot read System Setup data from XML file C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/configs/evmk2h/evmk2h.ccxml
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml while parsing file: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml (program_evm.js#306)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen.c1._c0(program_evm.js:306)
at org.mozilla.javascript.gen.c1.call(program_evm.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
at org.mozilla.javascript.gen.c1.call(program_evm.js)
at org.mozilla.javascript.gen.c1.exec(program_evm.js)
at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:503)
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:425)
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:391)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:382)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:179)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:100)
at org.mozilla.javascript.Context.call(Context.java:528)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:450)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:162)
at com.ti.ccstudio.apps.internal.scripting.RunScript$1.run(RunScript.java:88)
Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Cannot read System Setup data from XML file C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/configs/evmk2h/evmk2h.ccxml
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml while parsing file: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm\configs\evmk2h\devices\TCI6638.xml
at com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:161)
at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1345)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
... 18 more
---------------