• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » Loading cores with CCS under linux
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Loading cores with CCS under linux

    Loading cores with CCS under linux

    This question is answered
    Stefano Sartorelli
    Posted by Stefano Sartorelli
    on Aug 07 2012 09:01 AM
    Prodigy90 points
    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*
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Aug 08 2012 15:12 PM
      Guru116780 points

      Hello,

      Stefano Sartorelli
      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

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stefano Sartorelli
      Posted by Stefano Sartorelli
      on Aug 09 2012 01:27 AM
      Verified Answer
      Verified by Ki-Soo Lee
      Prodigy90 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use