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.

Severe error while trying to run program_evm.js

Today when I try to program the flash of my TMDXEVMC6678LE with the following command

    ${DSS_SCRIPT_DIR}/dss.sh program_evm.js TMDXEVMC6678LE-le

I get the following errors

SEVERE: Can't generate board data file /home/dave/.TI/3123642554/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 /home/dave/.TI/3123642554/0/0/BrdDat/ccBoard0.dat
An invalid processor ID has been found.

I am not sure what changed as I don't think I changed any configurations.  I have been working on the demo code for the EVM to run and only now went to update the binary blobs with the demo code and I am getting this error.  I had the error once before when I tried to program on a PC, but since I moved to the Linux machine, I have not seen issues.  Does anyone know how to get past this?

Thanks

  • Hi, David,

    What does PROGRAM_EVM_TARGET_CONFIG_FILE point to? Does it point to the one from release package? Are you using the correct one?

    Rex

  • PROGRAM_EVM_TARGET_CONFIG_FILE is not defined.  The directions in the "Program EVM Users Guide" this does not need to be defined.

    If PROGRAM_EVM_TARGET_CONFIG_FILE environment variable is not set, the DSS script will use the default ccxml files that support the following emulators for CCS 5.1.0:

    1. xds100 inbuilt (evm667xl.ccxml)

    2. xds560 mezzanine card (evm667xle.ccxml)

    If this is not correct, please advise what it should be set to and I will correct it immediately.

    Thanks


  • Hi, David,

    Set it to the one in program_evm/configs/evm6678l/evm6678le-linuxhost.ccxml and give it a try again. If you still have problem, try using CCS to see if you can connect to the core 0 of C6678. You may also want to use the gel file come in the release package to replace the one under ccsv5/ccs_base/emulation/boards/evmc6678/gel/. Rename the original one. Depending on your CCS version, you may want to set t the path to this gel file for core 0 in the target advanced configuration if using ccsv5.1.

    Rex

  • OK, thanks.  That was it.  There are two "program_evm" folders on my system.  One that came wth the mcsdk tools and the other that came with the C6Linux software (see below)

    dave@UbuntuDevMachine:~$ find ./ -name program_evm -type d

    ./ti/mcsdk_2_01_02_05/tools/program_evm

    ./my-linux-c6x/projects/bootloader-support/program_evm

    I was using the one that came with the c6Linux tools and not the one that came wth the MCSDK tools.  Your help here is appreciated.