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.

Tiva Launchpad (formerly Stellaris) Linux support in CCS 5.4.0 beta question

Greetings,

First of all i want to say the installation of CCS 5.4.0 beta went really smoothly on Ubuntu 12.04 LTS.

My question is related to support for Tiva Launchpad in this version. So far, i downloaded an succesfully compiled Project0 from TivaWare with this toolchain. The ICDI for Stellaris is available as an option form in the target_config.ccxml project file, which is selected by default. The thing is that i haven't been able to debug the application since this error comes out:

CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M4_0: Error connecting to the target

Since there is no additional information to this error message is difficult to debug the problem.

However, the Launchpad gets recognized by the OS, this comes out in lsusb output:

Bus 004 Device 002: ID 1cbe:00fd Luminary Micro Inc.

and the dmesg output:

[ 6015.808038] usb 4-2: new full-speed USB device number 2 using uhci_hcd
[ 6016.032078] usb 4-2: New USB device found, idVendor=1cbe, idProduct=00fd
[ 6016.032085] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6016.032089] usb 4-2: Product: In-Circuit Debug Interface
[ 6016.032093] usb 4-2: Manufacturer: Texas Instruments
[ 6016.032096] usb 4-2: SerialNumber: 0E104A5F
[ 6017.070599] cdc_acm 4-2:1.0: This device cannot do calls on its own. It is not a modem.
[ 6017.070658] cdc_acm 4-2:1.0: ttyACM0: USB ACM device
[ 6017.074130] usbcore: registered new interface driver cdc_acm

Any help would be appreciated.

Thanks in advance.

Felipe.

  • I got the same problem in ccs 5.4 and ubuntu 12.04.2 64bit

  • same problem on CCS5.4 and Ubuntu 13.04 x64 (Launchpad Stellaris EK-LM4FXL).

  • Same here and still no update from TI yet. 

  • Add one more. Same here with Stellaris board. No Tiva C yet.
    CCS5.4 Debian Testing amd64.
    TI Linux support it's almost no existent.

    Edit.
    I've managed to get rid off the libftd2xx.so and libusb-1.0.so error messages.

    You need to :
    export LD_LIBRARY_PATH="to some directory where both file resides".
    In my case, I've created  a "OSDrivers" directory and put there both files.
    So: export LD_LIBRARY_PATH="/home/xx/ti/css5v/OSDrivers"

    I taked libusb-1.0.so.0 from  /lib/i386-linux-gnu/ and renamed to libusb-1.0.so (in fact a symbolic link)

     For libftd2xx.so, I've downloaded the D2XX driver pack from FTDI. Then picked libftd2xx.so.1.1.12 from directory release/build/i386/ inside the archive, and renamed to libftd2xx.so.
    Then you can launch csstudio from the same shell session.

    There's another way to do it.
    Instead the export trick, you can do straight in the shell:
    LD_LIBRARY_PATH="/home/xx/ti/css5v/OSDrivers" ./csstudio
    That way you  can use it in a bash script, and use it to launch CSS instead the real executable.

    Hope will help you.

    P.S.
    BTW this problem comes by  bad programming practices. The usual way to search for the libraries in descendent version order. Like:
    libusb-1.0.so.0.1.3
    libusb-1.0.so.0.1
    libusb-1.0.so.0
    libusb-1.0.so

    Minor versions first, so the first library found will be the most close version of the desired library. because it's frequent to have more than one version of some libraries for backwards compatibility reasons.