• 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 » Microcontrollers » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » Error on CCS 5.2 + Ubuntu 12.04 + LM3S8962 evb
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS

Forums

Error on CCS 5.2 + Ubuntu 12.04 + LM3S8962 evb

This question is answered
Francesco Brasini
Posted by Francesco Brasini
on May 21 2012 04:34 AM
Prodigy10 points

Hello,

 I have succesfully installed and licensed CCS 5.2 on my Ubuntu 12.04 laptop.

I have connected a LM3S8962 evaluation board to my laptop, then I started 

CC2 5.2 and: 

Project -> Import Existing CCS/CCE Eclipse Project.

In the search-directory box, I browsed to StellarisWare/boards/ek-lm3s8962/blinky

but I get the following error:

File connections\Stellaris_ICDI_Connection.xml does not exist. Was included by file /home/user/CodeComposerStudio/workspace_5.2/blinky/target_config.ccxml 

Any ideas on how to solve this problem?

Thanks in advance,

Francesco Brasini.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Stellaris Joe
    Posted by Stellaris Joe
    on May 21 2012 10:02 AM
    Verified Answer
    Verified by Francesco Brasini
    Genius15560 points

    We are still working on support for Stellaris in Linux.  First of all, aside from that error, did your project import okay?  You probably have the red "X" by the target configuration file but otherwise all the files are there, and you should be able to successfully build the project?

    The target configuration file has windows style path separators so that is one reason you are getting an error.  We are fixing the path separators in the next StellarisWare release.  However, that file is not actually present because we do not yet have good support for Stellaris ICDI on linux.  We have been able to make it work, but it does not always work on all systems and we have not been able to debug the reason for this yet but it has something to do with USB drivers.

    So, I would like to say that if you want to use CCS on Linux with Stellaris boards, we highly recommend that you use an XDS100v2(ARM).  This works well:

    http://www.ti.com/tool/xds100?DCMP=dsp_ccs_v4&HQS=Other%252bOT%252bxds100

    If you want to try and get the ICDI direct connection working, you are welcome to do that and we will try to help but may not be successful.  If you want to do that then you need to create a file with the following contents:

    <?xml version="1.0"?>
    <connection id="Stellaris In-Circuit Debug Interface" class="31040">
        <connectionType Type="LM_ICDI"/>
        <property Type="hiddenfield" Value="No" id="dataFileRequired"/>
    </connection>

    Name this file "Stellaris_ICDI_Connection.xml"

    And place it in the path (relative to where you installed ccs):

    ccsv5/ccs_base/common/targetdb/connections/Stellaris_ICDI_Connection.xml

    Good luck.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jose Manuel Cano Garcia
    Posted by Jose Manuel Cano Garcia
    on Jul 03 2012 13:26 PM
    Prodigy40 points

    Thank you for the tip. Following it, I was able to add the "Stellaris In Circuit Interface" as the connection option of my LM4F232 project. However, it still did not work and I had to do some tweaks to get it working. I wrote them here, in case anyone may find them useful.

    First of all, although CCS graphical environment kept complaining about target being missing, I noticed some warnings in the text console regarding libftd2xx.so and  libusb-1.0.so not being found on the system. libftd2xx.so was indeed not on my system, so I downloaded it from FTDI web page (http://www.ftdichip.com/Drivers/D2XX.htm). I copied the "i386 libftd2xx.so.1.1.12" binary to my /usr/lib folder and then created a symbolic link to it, also in /usr/lib:

    sudo ln -s libftd2xx.so.1.1.12 libftd2xx.so

    libusb-1.0 was already instaled on my system (Ubuntu 10.04), but is was named as "libusb-1.0.so.0", so I also created a symbolic link to it in /lib:

    cd /lib

    sudo ln -s libusb-1.0.so.0 libusb-1.0.so

    CCS still wasn't working, and now it complained about the target's clock, but again, in the console there were some warning now regarding the permissions of the device file placed in "/dev/bus/usb/...." folder. So I added this to one of the existing udev rule files.

    SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1cbe",ATTRS{idProduct}=="00fd",MODE:="0666"

    And now, apparently, it works!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ignacio Herrero
    Posted by Ignacio Herrero
    on Jul 26 2012 02:37 AM
    Prodigy110 points

    I can confirm that Jose Manuel's solution works ok in a Ubuntu 11.10 64 bits SO. However, you must use i386 "libftd2xx.so.1.12" instead of 64 bits one, as it doens't work with the later. It's probably due to CCS is a 32 bits program.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Cesar Pulido
    Posted by Cesar Pulido
    on Aug 15 2012 10:38 AM
    Prodigy10 points

    I tried Jose's solution while working on a ubuntu 12.04 64bits environment for my Stellaris Evalbot which is based on Lm3S9B92 but It didn't work completely. To make it work in 12.04 64, not only ibftd2xx.so has to be the i386 version, (like Ignacio mentioned above,) but also the file libusb-1.0.so. Although I'm not sure if it helped, I also used the i386 versions of libdbusmenu-gtk.so.4, libdbusmenu-glib.so.4, and libappmenu.so since these files were causing errors as well.

    I got all the necessary i386 versions from https://launchpad.net/ubuntu/precise/i386. And used them to replace the 64bit versions existing in /lib/ (for libusb-1.0.so), /usr/lib (for libdbusmenu-gtk.so.4, libdbusmenu-glib.so.4), and /usr/lib/gtk-2.0/2.10.0/menuproxies/ (for libappmenu.so). After that, I was able to load blinky onto the board.

    If you do that like I did, then I'd recommend to restore the 64bit files after finishing working with ccs since the i386 versions could break other programs (so far no program has broken though).

    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