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.

Error flashing c6678 EVM with DSS script

Hi everyone,

I am attempting to setup my TMDSEVM6678LE with Linux so that I can have a colleague run DSP executables remotely.  He has access to the network that the c6678 is connected to.  The plan is that he will build executable on his machine using Code Composer, then copy those executables to the c6678 on my network using FTP, and then login to the device and load the executables onto the dsp from Linux using telnet.

I am following the guide at: http://downloads.ti.com/sdoemb/sdoemb_public_sw/linux_mcsdk/latest/exports/linux-c6x-2.0.0.63-users-guide.pdf

But I am getting the following errors: (I am completing these steps using cygwin on a Windows 7 machine)

1.) When running "./bootblob all" the script complains that it can not find the command "fakeroot".  This seems alright since cygwin has root capabilities without running fakeroot.  However, it says it is skipping most images and at the end says: "some attempted template combinations were skipped or failed".

Is this a problem?

2.) To flash the board I have all the switches set correctly and the USB connected to the XD560 Emulator mezzanine board.  I run the command: "$DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678le-le" but a window pops up that says "An error has occured. See the log file $logfile".  The logfile contains thousands of lines of these types of errors: 

!SESSION 2013-09-27 10:12:43.921 -----------------------------------------------
eclipse.buildId=I20120608-1200
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application com.ti.common.core.initialize -rtsc.productDiscoveryPath C:/ti/xdctools_3_24_05_48;C:/ti/bios_5_42_00_07;C:/ti/bios_6_34_02_18;C:/ti/ipc_1_25_00_04;C:/ti/xdais_7_21_01_07;C:/ti/grace_2_00_01_65;C:/ti/uia_1_01_01_14
Command-line arguments: -os win32 -ws win32 -arch x86 -application com.ti.common.core.initialize -rtsc.productDiscoveryPath C:/ti/xdctools_3_24_05_48;C:/ti/bios_5_42_00_07;C:/ti/bios_6_34_02_18;C:/ti/ipc_1_25_00_04;C:/ti/xdais_7_21_01_07;C:/ti/grace_2_00_01_65;C:/ti/uia_1_01_01_14

!ENTRY com.ti.ccstudio.buildDefinitions.core 4 0 2013-09-27 10:12:50.852
!MESSAGE An internal error was logged by 'com.ti.ccstudio.buildDefinitions.core'.
!STACK 0
com.ti.ccstudio.system.setup.HardwareDbException: File devices/c5416.xml does not exist. Was included by file C:\ti\ccsv5\ccs_base\common\targetdb\boards\dsk5416.xml
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$IncludeFileOperation.getAbsolutePath(SystemSetupReader.java:1470)
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$IncludeFileOperation.addToListOfSetupElements(SystemSetupReader.java:1483)
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$CpuCacheItem.addToListOfSetupElements(SystemSetupReader.java:1641)
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$CpuCacheItem.getSetupElements(SystemSetupReader.java:1665)
at com.ti.ccstudio.system.setup.SystemSetupReader.openFlatSystemSetupFile(SystemSetupReader.java:2763)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$SetupModelCache.load(DeviceModelLoader.java:379)
at com.ti.ccstudio.devicemodel.DeviceModelLoader.loadRealDevices(DeviceModelLoader.java:1012)
at com.ti.ccstudio.devicemodel.DeviceModelLoader.access$1(DeviceModelLoader.java:1004)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$InitializationJob.run(DeviceModelLoader.java:790)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$InitializationJob$2.run(DeviceModelLoader.java:708)

!ENTRY com.ti.ccstudio.buildDefinitions.core 4 0 2013-09-27 10:12:50.853
!MESSAGE An internal error was logged by 'com.ti.ccstudio.buildDefinitions.core'.
!STACK 0
com.ti.ccstudio.system.setup.HardwareDbException: File devices/c5509A.xml does not exist. Was included by file C:\ti\ccsv5\ccs_base\common\targetdb\boards\dsk5509a.xml
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$IncludeFileOperation.getAbsolutePath(SystemSetupReader.java:1470)
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$IncludeFileOperation.addToListOfSetupElements(SystemSetupReader.java:1483)
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$CpuCacheItem.addToListOfSetupElements(SystemSetupReader.java:1641)
at com.ti.ccstudio.system.setup.SystemSetupReader$CpuCache$CpuCacheItem.getSetupElements(SystemSetupReader.java:1665)
at com.ti.ccstudio.system.setup.SystemSetupReader.openFlatSystemSetupFile(SystemSetupReader.java:2763)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$SetupModelCache.load(DeviceModelLoader.java:379)
at com.ti.ccstudio.devicemodel.DeviceModelLoader.loadRealDevices(DeviceModelLoader.java:1012)
at com.ti.ccstudio.devicemodel.DeviceModelLoader.access$1(DeviceModelLoader.java:1004)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$InitializationJob.run(DeviceModelLoader.java:790)
at com.ti.ccstudio.devicemodel.DeviceModelLoader$InitializationJob$2.run(DeviceModelLoader.java:708)

First, does my plan of having my colleague ftp and telnet into the c6678 sound like it will work?  If so, is there a way for me to correct these errors?

Thanks so much!,

Matt

  • HI Matthew,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).

    I have requested experts to look into the issue. Thank you for your patience.

  • Hi, Matt,

    In release notes, it states "This release was built on Ubuntu 10.04 32 bit and that is the recommended host configuration. Other recent 32 bit Linux distributions are expected to work but may require extra Linux knowledge. 64 bit hosts have not been verified at this time. Older Linux distributions (for example Red Hat Enterprise Linux 4) would require extra work and updated software and is not recommended. Building on non-Linux hosts is not supported at all; use a virtual Linux host if you must use Windows, Mac, etc." please move to a Linux host.

    As for the DSS script, the syntax you used is for linux. I believe for window, it is %DSS_SCRIPT_DIR%/dss.sh. You can verify before running dss script by connecting CCS to EVMC6678, if you can connectc to the target, you should be able to run program_evm without issues.

    Rex

  • Thanks Rex,

    I can't believe I forgot that.  I'll try it again with the proper DOS syntax.  

    I actually have a c6678 that boots into Linux now that has telnet and ftp capabilities.  That gets me most of the way there.  I still need a way to load programs from the Linux filesystem to one of the DSP cores.

    Someone pointed me to this document: http://processors.wiki.ti.com/index.php/MAD_Utils_User_Guide

    I am familiar with mpmcl and was wondering if the is a DSP-Linux version of this utility?

    Thanks,

    Matt

  • Rex Chang said:
    As for the DSS script, the syntax you used is for linux. I believe for window, it is %DSS_SCRIPT_DIR%/dss.sh. You can verify before running dss script by connecting CCS to EVMC6678, if you can connectc to the target, you should be able to run program_evm without issues.

    If running on Windows host, the dss.bat file should be used instead of the sh file.

  • Hi, Matt,

    As Ki-Soo mentioned, it is dss.bat.

    mpmcl is for keystone-II ARM Linux. DSP Linux on C6678 can use the Syslink. Please refer to the Syslink and its example/demo in the Software Ecosystem of linux-c6x.org.

    Rex