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.

Loading cores with CCS under linux

Hello,
I am trying to use CCS under linux to load cores on Turbo Nyquist. I tried in 3 ways, unfortunately all failing, logs at bottom.
CCS version is 5.0.3.28,  fully licensed,  with mcsdk_02_00_03_15, apparently installed correctly with the needed libraries.
All the projects in the workspace may compile successfully.
Linux is an Ubuntu 12.04 distribution with kernel:
# uname -a
Linux 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Any help/hint is appreciated.
Thanks
Regards
Stefano

Load cores using USB cable connection XDS100v2
All cores can be loaded but core2 which is failing with the error:
Error loading "../core2/Debug/Core2.out": File: /core2/Debug/Core2.out: a data verification error occurred, file load failed.
Checking map file the address provided on console log:
87930cd0    87930cd0    00014d80   00000000    rw-
  87930cd0    87930cd0    00014d80   00000000    rw- .UIAlogger
87945a60    87945a60    00012d1f   0000e2e0    rwx
87945a60    87945a60    0000e2e0   0000e2e0    rwx .MySection
Does the failure indicate a problem on MySection or on UIAlogger?
Any suggestion about root cause?
Load cores using JTAG Emulator XDS560v2 STM
libtiptrace.so is not present in the installation directory: :/usr/local/CCSv5/ccsv5/ccs_base_5.0.3.00028/emulation/tpi
Why?
Could not start server: DebugServer.1: Can not initialize DebugServer.
Unable to load ../../../emulation/tpi/libtpitrace.so: /usr/local/CCSv5/ccsv5/ccs_base_5.0.3.00028/DebugServer/bin/linux_ia32/../../../emulation/tpi/libtpitrace.so: cannot open shared object file: No such file or directory

Load cores using BlackHawk BH560v2
In this case it looks quite clear that driver for the my linux kernel is missing.
Is it available somewhere?
/usr/local/CCSv5/ccsv5/ccs_base_5.0.3.00028/emulation/Blackhawk/Bh560v2/linux.ko# ll
total 56
drwxr-xr-x 10 root root 4096 Aug  7 11:49 ./
drwxr-xr-x  4 root root 4096 Aug  3 13:57 ../
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.25-14.fc9.i686/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.27.25-78.2.56.fc9.i686/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.27.41-170.2.117.fc10.i686/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.27.5-117.fc10.i686/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.27.9-159.fc10.i686/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.32-21-generic/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.32-27-generic/
drwxr-xr-x  2 root root 4096 Aug  3 13:57 2.6.35-22-generic/
-rwxr-xr-x  1 root root   37 Sep  9  2010 InstallKO.log*
-rwxr-xr-x  1 root root  370 Mar  9  2011 InstallKO.sh*
-rwxr-xr-x  1 root root   37 Sep  9  2010 UninstallKO.log*
-rwxr-xr-x  1 root root  370 Mar  9  2011 UninstallKO.sh*
  • Hello,

    Stefano Sartorelli said:
    All cores can be loaded but core2 which is failing with the error:
    Error loading "../core2/Debug/Core2.out": File: /core2/Debug/Core2.out: a data verification error occurred, file load failed.

    Are you loading the same program on all the cores and only core 2 fails? Are you using any GEL startup files with your target configuration?

    Note the gotcha regarding the emulator drivers when installing on Linux. Did you install as root?

    http://processors.wiki.ti.com/index.php/Linux_Host_Support#Ubuntu_12.04_64bit

    Thanks

    ki

  • Hi,

    yes, I am using a DSS script to startup, but the problem was even loading manually with CCS and only with the core2 binary.

    Anyhow I found out the root cause, I misconfigured is some way the target configuration moving from windows to linux.

    About the other points:

    1) libtpitrace.so is missing from CCS 5.0.3 but I saw it is present in 5.1.1.

    I simply copied the library and it seems to work even with CCS 5.0.3, but is this a known problem? I could not find it documented

    2) about BlackHawk BH560v2 drivers for the kernel 3.2.0-27, does anybody know if they are available?

    I saw a note to look for upgrade on CCS 5.1.1 or greater, nothing on CCS 5.0.3

    Many thanks!

    Kind Regards

    Stefano