This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Failed to reload factory images

Other Parts Discussed in Thread: CCSTUDIO

I tried the steps to restore factory default images as instructed in the "Program EVM UG" (http://processors.wiki.ti.com/index.php?title=Program_EVM_UG&oldid=188354#EVMK2E_Files

I installed CCSV5 (CCS5.5.0.00077), ti_emupack_keystone2_setup_1.1.1.0, and mcsdk_3_01_04_07 then performed the followings:

1. set dip switches SW1 to 1-off, 2-off, 3-off, 4-on

2. set environment variables:

DSS_SCRIPT_DIR = D:\TI\ccsv5\ccs_base\scripting\bin
PROGRAM_EVM_TARGET_CONFIG_FILE = configs\evmk2e\evmk2e.ccxml

3. Enter commands:

cd D:\TI\mcsdk_bios_3_01_04_07\tools\program_evm

%DSS_SCRIPT_DIR%\dss.bat program_evm.js evmk2e-le

Below is the log captured from the command session:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\xxxxxx>d:

D:\>cd D:\TI\mcsdk_bios_3_01_04_07\tools\program_evm

D:\TI\mcsdk_bios_3_01_04_07\tools\program_evm>%DSS_SCRIPT_DIR%\dss.bat program_evm.js evmk2e-le
board: evmk2e
endian: Little
emulation: XDS2xx emulator
binaries: D:\TI\mcsdk_bios_3_01_04_07\tools\program_evm/binaries/evmk2e/
ccxml: D:\TI\mcsdk_bios_3_01_04_07\tools\program_evm\configs\evmk2e\evmk2e.ccxml
E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_io
Failed to open i/o connection (xds2xxu:0)
SEVERE: IcePick_D_0: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the emulator. Confirm emulator

configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)

SEVERE: Could not start server: DebugServer.1: IcePick_D_0: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with

the emulator. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation pa
ckage 5.1.232.0)

org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server:

DebugServer.1: IcePick_D_0: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the emulator. Confirm
 emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)
 (program_evm.js#324)
        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:324)
        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: IcePick_D_0: Error

initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the emulator. Confirm emulator configuration and connection
s, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)

        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

D:\TI\mcsdk_bios_3_01_04_07\tools\program_evm>

************************************************************************************************************************