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.

Stellaris Launchpad + Linux ?

Hello!

I am trying to get my Stellaris launchpad working with Ubuntu 12.04 Linux.

I've downloaded and installed CCS5.3 and can compile the example programs in Stellarisware.  I can't debug them however (the message I get is "Error initializing emulator:  Error loading libdebug.so ...")

I've searched the forums for information on how to proceed, and tried the procedures described here -- no luck though.   The directions all seem to refer to "libftd2xx.so.1.1.12" which I've installed -- but my launchpad has no on-board ftd ICs.

There are two references to a "beta" solution to this problem, but I haven't been able to find it.

Can anyone give me an idea of what to try next? 

Thanks,

Curt Carpenter

  • Curt,

    I am looking into your issue with the folks in the group that use Linux, and will follow up.

    Lela

  • Or you could just try using Open tools to match the spirit of your OS.

    http://forum.stellarisiti.com/topic/309-icdi-support-in-openocd/
    http://forum.stellarisiti.com/topic/355-toolchain-setup-under-gnulinux-including-eclipse/

    I will admit the learning curve may be greater, but it will be worth it :-)


    Cheers
    Spen

  • Thank you Lela -- any information you can provide will be welcome (and I realize this isn't a priority item for you, so your help is doubly appreciated  :-) 

    Regards,

    Curt

    Lela Garofolo said:

    Curt,

    I am looking into your issue with the folks in the group that use Linux, and will follow up.

    Lela

  • Thanks Spenser.  I'm thinking about taking that approach and agree that it would be the right path spirit-wise.  But I've grown comfortable with CCS (and lazy...) over the last few years and hate to abandon it.  Another path is to throw in the towel on Linux and go back to Windows -- but that would represent a dishonourable surrender of the worst sort :-)

    Getting Stellaris Launchpad + CCS5 + Linux  working has been done according to reports here on EtoE -- just not by ME!  So I can't give up without a fight unless I accept a blow to my pride :-)

    Spencer Oliver said:

    Or you could just try using Open tools to match the spirit of your OS.

    http://forum.stellarisiti.com/topic/309-icdi-support-in-openocd/
    http://forum.stellarisiti.com/topic/355-toolchain-setup-under-gnulinux-including-eclipse/

    I will admit the learning curve may be greater, but it will be worth it :-)


    Cheers
    Spen

  • Curt,

    Are you running a 32 bit or 64 bit version of Ubuntu?

    --Miles

  • Hello Miles.

    I'm running 32-bit Ubuntu 12.04LS.  Eventually, I hope to abandon Windows entirely and use Ubuntu for all of my embedded development work (Beaglebone sold me on the approach :-). 

    Stellaris Miles said:

    Curt,

    Are you running a 32 bit or 64 bit version of Ubuntu?

    --Miles

  • Curt,

    The first thing I did when I got to TI is format my IT-issued laptop and installed Ubuntu 10.04 32-bit.  I've since upgraded to 12.04 32-bit but I'm still running CCS 5.2.  I have yet to install 5.3 -- I'll give it a try tonight.  

    FWIW, I've found 5.2.1.0018 to be very solid in Linux.  I'm not discouraging you from running the latest version BUT if you're stuck, falling back to 5.2.1 may be a good short term solution.

    --Miles

  • Miles:

    As far as I can tell, CCS5.3 runs very well on Ubuntu 12.04, so I think you'll be pleased with it.  But you may be right that reverting to CCS5.2 might be the key to making the instructions here on the forum (for achieving Stellaris Launchpad debug support) work.  I'll sure keep it in mind.  I'm a little concerned that I'm not skilled enough in Linux to uninstall CCS5.3 completely though -- so will wait for a bit before giving it a try.

    Hope you'll let me know how your 5.3 trial goes. 

    Regards,

    Curt

  • WRT uninstalling on Linux:  CCS is fairly self-contained.  To my knowledge there are two things that it'll mess with outside of its installation directory:

    1. UDEV rules for your ICDI debugger (so normal users have access to the USB device)
    2. Eclipse will make its workspaces wherever you tell it (though I wouldn't use the same workspace across versions)

    Thus, I always install CCS in /opt/ti/ccs_x.y.z  You should be able to maintain separate installations in separate directories but only have one in your path at any given time. And uninstalling can be as simple as 'rm -rf'.

    Still haven't had  chance to play with 5.3.  Stay tuned...

    --Miles

  • Curt,

    I was able to reproduce the problem.  A fix is in the pipeline and will be available in the CCSv5.4 release.

    --Miles

  • Hello Miles

    I'll look forward to CCS5.4.  Meanwhile, I've been assembling & compiling on CCS5.3 and using OpenOCD.  It would be great to have everything back on one IDE under Linux!

  • Thank you Miles!!!!

  • ubuntu 12.10 x64  with latest CCS (5.3) and bunch of i386 libraries installed

    clean project from template (with main.c) debugging doesn't work with same error

    but examples from stellaris ware for my launchpad works fine, so i'm using it as template.

    Also i have created symlink from libusb-1.0.so.0 to libusb-1.0.so to fix " Error connecting to the target: Frequency is out of range. " error, luckily there was relevant error message in console.