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.

Is this guide to get linux on master using xds560 emulation?

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I am working in aplication that need to use linux on master

and communicate with others cores that use  SYS/BIOS.

I am using TMDSEVM6678LE  and I am debugging using

the mezzanine xds560v2 that comes with the board.

I was following this guide Linux-c6x-2.0-GA User Guide

but when I try the step  Executing the DSS script it seems

that there is no emulator connect. I am using linux ubuntu

12.04 LTS  running on virtual box. I get the blackhawk xds560 appears in the list

of devices connected in the virtual machine but when I run Executing the DSS script

it does not detect the mezzanine xds560v2.

The questions are:

1) Is this Linux-c6x-2.0-GA User Guide what I need to work with a linux on master and SYS/BIOS on slaves cores from emulation using mezzanine xds560v2?

if not tell what guide or document or demo I can follow to get the what I want.

2) Is there any way to follow Linux-c6x-2.0-GA User Guide from windows?

If not Could you please help to get connexion of xds 560v2 to follow Linux-c6x-2.0-GA User Guide?

  • I'll have to let others respond on the C6x linux, but if you are simply having emulation connection issues, make sure you have installed the latest Keystone EMUpack in addition to the MCSDK.

    http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html

    Regards,

    Travis

  • tscheck,

    I´ve installed the EMUpack you mentioned, but I get the same result. The output is (maybe this give a better idea of what is happend):

    julian@julian-VirtualBox:~/my-linux-c6x/linux-c6x-2.0.0.63/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678le-le eeprom51
    board: evm6678l


    endian: Little
    emulation: XDS560 mezzanine
    binaries: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/
    ccxml: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/program_evm/configs/evm6678l/evm6678le-linuxhost.ccxml
    E_RPCENV_IO_ERROR(-6) No connection: open failed: code 19
    Download failed for file /usr/local/CCSv5/ccsv5/ccs_base_5.0.3.00028/emulation/drivers/../../common/uscif/./xds560v2.out
    SEVERE: IcePick_D: Error initializing emulator

    SEVERE: Can not initialize DebugServer. IcePick_D: Error initializing emulator

    SEVERE: Could not start server: DebugServer.1: Can not initialize DebugServer. IcePick_D: Error initializing emulator

    org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Can not initialize DebugServer. IcePick_D: Error initializing emulator
     (program_evm.js#269)
        at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)
        at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:74)
        at org.mozilla.javascript.gen.c1._c0(program_evm.js:269)
        at org.mozilla.javascript.gen.c1.call(program_evm.js)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)
        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:500)
        at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)
        at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)
        at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)
        at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)
        at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)
        at org.mozilla.javascript.Context.call(Context.java:540)
        at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)
        at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)
        at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)
    Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Can not initialize DebugServer. IcePick_D: Error initializing emulator

        at com.ti.debug.engine.scripting.DebugServer$SessionFactory.<init>(DebugServer.java:148)
        at com.ti.debug.engine.scripting.DebugServer.openSession(DebugServer.java:1337)
        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:142)
        ... 18 more
    julian@julian-VirtualBox:~/my-linux-c6x/linux-c6x-2.0.0.63/program_evm$

    I don´t know if this is something related to using a virtual box.

    I am going to try with a dual booting installation of same version of ubuntu LTS, ubuntu-12.04.2-desktop-i386.iso, to see

    if the output in terminal is the same.

    Regards,

    Julian

  • Hi,

    I tried using a dual booting installation of ubuntu 12.04 lts 32 bits,

    but the problem is not solved, the output in terminal is the same, it

    does not recognize xds560v2 mezzanine emulator.

    Please if someone could give me an advise about the tools I could use also,

    I will appreciated.

  • Hi, Julian,

    The error you are getting may be caused by running the script before the xds560 mezzanine is ready. Try waited for a while (>30 secs) after boot up and see if it helps. You can program the flash through Window machine. I created a batch file (contents shown below) and just execute it from cmd window. The P: drive is where my linux-c6x package located. Change the image(s) you want to flash in the command line.

    cd P:\mnt\sda1\work\pre-build\linux-c6x-2.0.0.63\program_evm
    set DSS_SCRIPT_DIR="C:\Program Files\Texas Instruments\ccsv5\ccs_base_5.0.3.00028\scripting\bin"
    set PROGRAM_EVM_TARGET_CONFIG_FILE=P:\mnt\sda1\work\pre-build\linux-c6x-2.0.0.63\program_evm\configs\evm6678l\evm6678le-linuxhost.ccxml
    %DSS_SCRIPT_DIR%\dss.bat program_evm.js TMDXEVM6678LE "nand"

    Rex

  • Hi Rex,

    actually I solve this issue re-installing CCS v5.03 and then restarting linux virtual machine (vm),

    after that linux vm detects the emulator without problem.

    Regards,

    Julian