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.

Linux- c6x- 2. 0- GA User Guide

Other Parts Discussed in Thread: CCSTUDIO

Dear all,

 I try to  program the EVM6678. We execute the command as described in the linux-c6x-2.0.0.63-users-guide page 6-7.

In any combination, I get an errror messgaeWho can help me?

 Thanks

Yehuda

P.S. 

Here is the response:

$DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l-le "eeprom51,nand"
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$
[Yehuda.Singer@Yehuda-LInux program_evm]$
[Yehuda.Singer@Yehuda-LInux program_evm]$
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l-le "eeprom51,nand"
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR%/dss.sh program_evm.js evm6678l-le "eeprom50,eeprom51"
bash: /usr/local/bin/ti/ccsv5/ccs_base/scripting/bin%/dss.sh: No such file or directory
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l-le "eeprom50,eeprom51"
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js EVM evm6678l-le "eeprom50,eeprom51"
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js EVM 6678l-le "eeprom50,eeprom51"
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js EVM 6678l-le
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js EVM 6678-le
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js TMDX EVM EVM 6678-le
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js TMDSEVM EVM 6678-le
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js TMDSEVM  6678-le
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ echo $DSS_SCRIPT_DIR
/usr/local/bin/ti/ccsv5/ccs_base/scripting/bin
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written
[Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh program_evm.js 6678l
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
    tmdx: TMDX type EVM
    tmds: TMDS type EVM
    c: Not used, for backward compatibility
    <device> is the board name e.g 6472,6678 etc
    l: Low cost EVM
    x: EVM supports encryption
    e: EVM uses 560 Mezzanine Emulator daughter card
    le: Little Endian
    be: Big Endian
    example: TMDXEVM6678L-le
    [images_to_write] OPTIONAL is a list of the images to be written
    example: eeprom50,nor
    If not specified all (eeprom50,eeprom51,nand,nor) will be written

  • Hi, Yehuda,

    Use space as the separate for the images you want to program, such as, %DSS_SCRIPT_DIR%\dss.bat program_evm.js TMDXEVM6678LE "nand eeprom51".

    Rex

  • Dear REx

    thanks,

    This is the response I get now.

    Yehuda

    [r

    oot@Yehuda-LInux program_evm]# $DSS_SCRIPT_DIR/dss.sh  program_evm.js  TMDXEVM6678LE "nand eeprom51"
    Syntax error in command line
    Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
        tmdx: TMDX type EVM
        tmds: TMDS type EVM
        c: Not used, for backward compatibility
        <device> is the board name e.g 6472,6678 etc
        l: Low cost EVM
        x: EVM supports encryption
        e: EVM uses 560 Mezzanine Emulator daughter card
        le: Little Endian
        be: Big Endian
        example: TMDXEVM6678L-le
        [images_to_write] OPTIONAL is a list of the images to be written
        example: eeprom50,nor
        If not specified all (eeprom50,eeprom51,nand,nor) will be written

  • HI, Yehuda,

    The command I gave you was what I ran from widow setup. Try to use the lower case for the platform to see if it works. If not, I'll need to set up my linux environment to see what may be the problem.

    Rex

  • Dear Rex

    I tried and it does not work.

    I have to move for 2.5 hours. Can we try it together when I come back?

    Yehuda

  • Dear Rex

    Please note that I use a Linux machine.

    Yehuda

  • Hi, Yehuda,

    I don't see any problem in Linux environment either.

    /mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js tmdxevm6678le "nand"
    board: evm6678l
    endian: Little
    emulation: XDS560 mezzanine
    binaries: /mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/
    ccxml: /home/a0850461/ti/CCSTargetConfigurations/c6678Test.ccxml
    Loaded FPGA Image: /mnt/sda1/opt/ti/ccsv5/ccs_base/emulation/drivers/../../common/uscif/./dtc_top.jbc
    flxInitLoad: client has not been protected.
    flxInitLoad: client has not been protected.
    Writer:/mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/nandwriter_evm6678l.out

    NAND:/mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/nand.bin

    Start loading nand.bin
    Start programming NAND
    NAND Writer Utility Version 01.00.00.04

    Flashing block 1 (0 bytes of 14680064)
    Flashing block 2 (16384 bytes of 14680064)
    Flashing block 3 (32768 bytes of 14680064)
    Flashing block 4 (49152 bytes of 14680064)
    Flashing block 5 (65536 bytes of 14680064)

  • The other trial with 2 images, you do use the comma for separator. That was my mistake. I may have mixed Window batch file with Linux. I control-C out of the execution if I don't get syntax error as yours.

    /mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js tmdxevm6678le "nand,eeprom51"
    board: evm6678l
    endian: Little
    emulation: XDS560 mezzanine
    binaries: /mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/
    ccxml: /home/a0850461/ti/CCSTargetConfigurations/c6678Test.ccxml
    flxInitLoad: client has not been protected.
    flxInitLoad: client has not been protected.
    Start writing eeprom51
    Writer:/mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/eepromwriter_evm6678l.out

    Image:/mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/eeprom51.bin

    EEPROM Writer Utility Version 01.00.00.04

  • Rex Chang said:

    The other trial with 2 images, you do use the comma for separator. That was my mistake. I may have mixed Window batch file with Linux. I control-C out of the execution if I don't get syntax error as yours.

    /mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm$ $DSS_SCRIPT_DIR/dss.sh program_evm.js tmdxevm6678le "nand,eeprom51"
    board: evm6678l
    endian: Little
    emulation: XDS560 mezzanine
    binaries: /mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/
    ccxml: /home/a0850461/ti/CCSTargetConfigurations/c6678Test.ccxml
    flxInitLoad: client has not been protected.
    flxInitLoad: client has not been protected.
    Start writing eeprom51
    Writer:/mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/eepromwriter_evm6678l.out

    Image:/mnt/sda1/work/pre-build/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/eeprom51.bin

    EEPROM Writer Utility Version 01.00.00.04

    Dear All

    1. I tried and this is the response.

    [Yehuda.Singer@Yehuda-LInux program_evm]$ $DSS_SCRIPT_DIR/dss.sh  program_evm.js tmdxevm6678le "nand,eeprom51"
    Syntax error in command line
    Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]
        tmdx: TMDX type EVM
        tmds: TMDS type EVM
        c: Not used, for backward compatibility
        <device> is the board name e.g 6472,6678 etc
        l: Low cost EVM
        x: EVM supports encryption
        e: EVM uses 560 Mezzanine Emulator daughter card
        le: Little Endian
        be: Big Endian
        example: TMDXEVM6678L-le
        [images_to_write] OPTIONAL is a list of the images to be written
        example: eeprom50,nor
        If not specified all (eeprom50,eeprom51,nand,nor) will be written

    2. In addition, I found that the c6678Test.ccsml is missing.

    Best regards

    Yehuda

  • Hi, Yehuda,

    C6678Test.ccxml is the target configuration I created using CCS to test my newly installed linux CCS for the connection to C6678. You can use your own ccxml or the one in release package, but I think your issue happens before it reaches reading ccxml file. I can't figure out why you are having a syntax error while I don't see that on my linux system. By the way, I am using Ubuntu 10.04 LTS. I am not sure if different Ubuntu version may contribute to your issue if you are not running 10.04.

    Rex

  • Dear Rex

    My shell is #!/bin/bash.

    However in the script files the shell is #!/bin/sh.

    Can this lead to the error?

    Best regards

    Yehuda






  • Hi, Yehuda,

    I don't think that is the issue. Please see"Setting up the Linux host" in linux-c6x.org page,

    http://www.linux-c6x.org/wiki/index.php/Setting_up_the_Linux_Host

    I cut and paste the section regarding the shell. Please refers to the link above for more details. I thought the shell issue is related to the build and am not sure if it affects programming. I think your issue has something to do with the linux host, not linux-c6x release package.

    /bin/sh

    On Ubuntu, /bin/sh is normally dash and not bash. For linux-c6x-0.7.0 this causes an issue. To work around this issue, configure /bin/sh to be bash instead of dash:

  • Dear Rex

    thank you for your response. I have observed that after:

    1. Configuring a c6678 file.

    2. Saving the file.

    3. Executing a test.

    4. The test completes successfully.

    The test file  c6678Test.  is not generated at all.

    Can you please send me such a file and I will put it manually?

    Best  regards,

    Yehuda

  • Dear Rex, 

    We work in Linux and we downloaded the linux-c6x-2.0.0.63 from the web-site.

    1. If we execute: $DSS_SCRIPT_DIR/dss.sh  program_evm.js tdmxevm6678le -le,  then we get

    binaries: /usr/local/bin/ti/linux-c6x-2.0.0.63/projects/bootloader-support/program_evm/binaries/tdmxevm6678l/
    ccxml: /usr/local/bin/ti/linux-c6x-2.0.0.63/projects/bootloader-support/program_evm/configs/tdmxevm6678l/tdmxevm6678le-linuxhost.ccxml
    board binaries directory not found

    2. If we execute  $DSS_SCRIPT_DIR/dss.sh  program_evm.js tdmxevm6678le -le "nand eeprom51 eeprom50", then we get 
    Syntax error in command line

    Thanks in advance,

    Yehuda

  • Hi, Yehuda,

    I notice that you are not getting syntax error in the first example any more, but "binaries directory not found".  That is because there are typos in the commands. tdmxevm6678le is not a supported platform, but tmdx. Besides, according to the syntax, the space before -le should not be present. I believe I also mentioned earlier that in Linux, comma is required between images in your 2nd example in addition to the typos as those in 1st one. Would you be able to use the same command as mine? cut and paste the command I used in my earlier reply, and give it a try.

    Rex

  • Dear Rex

    THanks for your answer. I have an advance, but still it does not work.

    Please see the error message in the sequel.

    Best regards,

    Yehuda

    sh-4.1$  $DSS_SCRIPT_DIR/dss.sh program_evm.js tmdxevm6678le  "nand,eeprom51"
    board: evm6678l
    endian: Little
    emulation: XDS560 mezzanine
    binaries: /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/
    ccxml: /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/configs/evm6678l/evm6678le-linuxhost.ccxml
    SEVERE: Could not open /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/logs/evm6678l_2013_06_18_80131-trace.txt
    org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Could not open /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/logs/evm6678l_2013_06_18_80131-trace.txt (program_evm.js#264)
        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.call1(OptRuntime.java:66)
        at org.mozilla.javascript.gen.c1._c0(program_evm.js:264)
        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 open /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/logs/evm6678l_2013_06_18_80131-trace.txt
        at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.traceBegin(ScriptingEnvironment.java:547)
        at com.ti.ccstudio.scripting.environment.ScriptingEnvironment.traceBegin(ScriptingEnvironment.java:452)
        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
    java.lang.NullPointerException
        at com.ti.dvt.datamodel.solution.SolutionManager.shutDown(SolutionManager.java:191)
        at com.ti.dvt.datamodel.ui.RtaPlugin.stop(RtaPlugin.java:54)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
        at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
        at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
        at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
        at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693)
        at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
        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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    sh-4.1$

  • Hi, Yehuda,

    I am not sure how you set up everything, but the error says "SEVERE: Could not open /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/logs/evm6678l_2013_06_18_80131-trace.txt". Do you have correct privilege to access that directory? I suggest you install linux-c6x to a directory without root privilege.

    Rex

  • Dear Rex

    thanks for your answer. Even if I am a privileged user(root) the process fails.

    I add only the first 3 significant lines:

    sh-4.1# $DSS_SCRIPT_DIR/dss.sh program_evm.js TMDXEVM6678le  "nand,eeprom51"
    board: evm6678l
    endian: Little
    emulation: XDS560 mezzanine
    binaries: /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/binaries/evm6678l/
    ccxml: /usr/local/bin/ti/linux-c6x-2.0.0.63/program_evm/configs/evm6678l/evm6678le-linuxhost.ccxml
    SEVERE: Can't generate board data file /root/.TI/2841553145/0/0/BrdDat/ccBoard0.dat
    An invalid processor ID has been found.

    SEVERE: Could not start server: DebugServer.1: Can't generate board data file /root/.TI/2841553145/0/0/BrdDat/ccBoard0.dat
    An invalid processor ID has been found.

    Best  regards

    Yehuda

  • Dear REx

    I found the solution:

    1.  We have to define PROGRAM_EVM_TARGET_CONFIG_FILE. The configuration file create by the CCS puts it in a place that the program_evm does not know. 

    and moe , the string is not defined.

    Hence, I inserted export PROGRAM_EVM_TARGET_CONFIG_FILE=  /home/Yehuda.Singer/ti/CCSTargetConfigurations/C6678.ccxml
     

    2. Please note that the error message is not comprehensive.

    Best regards,

    Yehuda