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.

Unable to connect and program EVMK2H using on board xds200 emulator through CCSv6 on Ubuntu 14.0.4 host PC.

Other Parts Discussed in Thread: CCSTUDIO

Hi

I am trying to program an EVMK2H using on board xds200 emulator by setting  DIP switch in no-boot mode .I am doing this on Ubuntu 14.04 platform and using CCSv6.1.0.00104 and installed ti_emupack_keystone2_setup_1.1.1.0. and getting an error as follows:

E_RPCENV_IO_ERROR(-6) No connection
Failed to open i/o connection (xds2xxu:0)
SEVERE: IcePick_D_0: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 5.1.641.0)

SEVERE: Could not start server: DebugServer.1: IcePick_D_0: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 5.1.641.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 debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 5.1.641.0)
 (program_evm.js#318)
    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:318)
    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 debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 5.1.641.0)

    at com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:164)
    at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1327)
    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

Thanks in advance.


Regards

Ashwini

  • Hi,

    I'm able to do "Test connection" on Linux ubuntu 14.04 for K2HK board with X2xx on board emulator.

    So, try to run the CCS IDE with "sudo" permission.

    Also, you have to set boot mode to "No boot mode" (emulation mode) : 0001 in SW1

    What is your CCS version ?

  • Hi Titusrathinaraj Stalin ,

    Thanks for reply. I have already set the DIP switch in "No boot mode" (emulation mode) : 0001 . The CCS I am using is CCSv6.1.0.00104 and as per my understanding I have installed the CCS with sudo permissions like
    sudo ./ccs_setup_6.1.0.00104.bin.
    How to run CCS IDE using command prompt ? I am using free Licensed CCS.Is there any issue related to License? In the above CCS screen shot image you have selected the option in connection as"Texas Instruments XDS2xx USB Emulator" but I am not able find such option in my CCS .There are options like related options like Texas Instruments XDS2xx USB Debug Probe and another one Texas Instruments XDS2xx USB Onboard Debug Probe.



    Regards
    Ashwini.
  • Hi,
    I am running the CCS IDE in command terminal mode only.

    sudo /opt/ti/ccsv5/eclipse/ccstudio &

    If CCSV6,

    sudo /opt/ti/ccsv6/eclipse/ccstudio &
  • Thanks Titusrathinaraj Stalin,

    I have tried this on Ubuntu 12.04 and it works fine but not working on Ubuntu 14.04.


    Regards
    Ashwini.
  • Hi Ashwini,

    What problem are you getting (log you given in initial reply ?) ?


    I am using free Licensed CCS.Is there any issue related to License? In the above CCS screen shot image you have selected the option in connection as"Texas Instruments XDS2xx USB Emulator" but I am not able find such option in my CCS .There are options like related options like Texas Instruments XDS2xx USB Debug Probe and another one Texas Instruments XDS2xx USB Onboard Debug Probe.


    Did you install TI keystone emulation package ?
    I've seen that you mentioned but did you install in root privilege and mentioned correct path for CCS IDE.

    You can also select and use the "Texas Instruments XDS2xx USB Debug Probe" option.

    Is it 32bit or 64bit machine ?

    FYI: I've installed keystone 1 and keystone 2 emulation packages with SDKs.