Using the TI MSP430 LaunchPad with Ubuntu 10.04

TI MSP430 LaunchPad

The Arduino and the massive community around it have made AVR the de facto standard for hobby microcontrollers, despite the aloofness of Atmel to take advantage of it.  TI apparently decided that they wanted a piece of the pie, so they took a peek at the Arduino recipe and are now selling something that looks a whole lot like it for a fraction of the price.  The TI MSP430 LaunchPad ships with a MSP430G2231 and a MSP430G2211, microcontrollers sourced from TI’s Value Line.  The first, with I²C, SPI, ADCs, PWM, and UART, is a capable Arduino replacement for physical computing, though the latter chip is limited mostly to GPIO.  Unfortunately, both are a bit anemic when it comes to Flash and RAM.  TI’s roadmap shows promise regarding this issue.

The big problem though, is software.  The appeal of Arduino is largely that it has a dead simple to use, cross platform IDE, running on the well maintained and supported avrgcc and avrdude.  TI’s solution, on the other hand, is a set of two Windows-only, registration-required, code-limited, IDEs.  Linux and Mac users are left a little high and dry.  Luckily, there are some projects, new and old, that make it work out.

You can follow the instructions at mylightswitch to install MSPGCC4 and mspdebug, neither of which is in the Lucid repositories.  MSPGCC is an MSP430 port of the GCC toolchain, complete with GDB.  mspdebug lets you program and erase the flash on the LaunchPad, among many other things.  There are some usage instructions for it at Ramblings and Broken Code.  True to its name, the guide is partially broken.  To use the LaunchPad with mspdebug 0.9, you have to specify the driver instead of using -R.  In our case, we want to use the following:

mspdebug rf2500

Ideally, we would be able to use the uif driver that the eZ430U and other TI development boards use.  Unfortunately, the LaunchPad is incompatible with the firmware used with the ti_usb_3410_5052 module that comes with Linux.  There is a really amazing three part series on this at Travis Goodspeed’s blog.

While it is indeed possible to use the LaunchPad and MSP430 devices in general in Linux, I’m going to stick with the trusty AVR/Arduino combo for now.

Related Posts

25 Responses to “Using the TI MSP430 LaunchPad with Ubuntu 10.04”

  • > Linux and Mac users are left a little high and dry.

    Did you notice that TI even removed some Linux information from the wiki?

    Maybe they have a deal with the commercial compiler vendors (one being TI itself) not to mention Linux.

    > I’m going to stick with the trusty AVR/Arduino combo for now.

    Yes, TI doesn’t get it.

  • gee you guys are paranoid. The linux information wasn’t removed from the TI wiki; it was just slightly reformatted and moved to it’s own section.

    I sort of agree that TI doesn’t quite get it, but I think they are trying…

  • Horseshit. AVR was what it is before Arduino. If anything, Arduino has eaten away its popularity.

    • I should be more specific. AVR, PIC, and TI MSP, while all popular in industry, have always had relatively small hobbyist communities around them. I posit that Arduino has brought microcontrollers to the masses to an extent that AVR, PIC, Parallax, or TI had never managed previously.

      My statement that this makes AVR the de facto standard for hobby microcontrollers is due to Arduino using an AVR, avr-libc, and avrdude. I consider Arduino a superset of AVR. Arduino being popular thus means that AVR is also popular.

  • I only just finally got my launchpads. Better late than never I guess.

    In a hurry to get compiling and playing I really didn’t want to wait for the toolchain to build.

    Luckily someone has a PPA for mspgcc4. I wrote a blog post about it.

    Hopefully this can save some others some time too.

  • A word of warning: I’m running Ubuntu Hardy, and had problems with the TI ez430 kit because the driver for the USB UART chip that comes with the 2.6.24 kernel has bugs. I installed a patched driver recommended on someone’s blog (I foolishly neglected to bookmark it), and the ez430 worked. Once: the patched driver downloaded new firmware to the UART, and the programmer didn’t work the next time it was plugged in. Someone’s well-intentioned effort to make TI-based USB-serial cables work better had bricked my ez430.

    The launchpad appears to have much the same hardware, and the same USB IDs. So I haven’t plugged my Launchpad (which also just arrived after months on backorder) in yet, because I’m pretty sure it will also get bricked.

    Bottom line: be very sure about the version of the ti_usb_3410_5052 driver on your system. There’s no warning or prompt about the firmware being replaced, and I haven’t been able to find a copy of the old firmware with which to unbrick the ez430.

  • There is a community project called energia (on github) which is basically an a fork of Arduino IDE and libraries to make them compiling for the MSP430

  • Very nice article, totally what I needed.

    My site: television; Latosha,

  • After fighting so hard herself to push for Women’s Boxing to be part of the
    Olympics back when she was still campaigning as an amateur, and ever after she
    had already climbed the pro ranks, Julaton was unable to mask her emotions as she witnessed her fellow female boxers make history.
    It an interpretation of the wildlife and nature the street scenes and architecture and the life of
    Mother Teresa. s communication message, a new challenge arises of selecting the right personality for a
    particular brand.

    my web page :: Mary Kom Reviews

  • Hello every one, here every person is sharing these kinds of know-how,
    so it’s good to read this webpage, and I used to pay
    a visit this web site every day.

  • Hmm it looks like your site ate my first comment (it was extremely long) so I guess I’ll
    just sum it up what I wrote and say, I’m thoroughly enjoying your blog.

    I too am an aspiring blog writer but I’m still new to the whole thing.
    Do you have any suggestions for newbie blog
    writers? I’d definitely appreciate it.

  • I’m not that much of a internet reader to be
    honest but your blogs really nice, keep it up!
    I’ll go ahead and bookmark your site to come back down the road.
    Many thanks

  • Hi, this weekend is good in favor of me, as this point in time i am reading
    this fantastic informative paragraph here at my home.

  • Connections will be the heart of internet marketing.

  • I just couldn’t go away your site before suggesting thgat I
    really enjoyed the usual info an individual provide on your visitors?
    Is gonna be again ceaselessly inn order to inspect neew posts

  • Telling your companies to stop promoting is a brilliant transfer, if a Model web page already has over
    5,000 likes my suggestion could be the identical thing.
    These are changing advertising parameters that firms want to concentrate on. My beef
    is with Fb for not explaining to Manufacturers and Agencies the changes
    that they make on a daily and monthly foundation. Fb thinks that they know
    greater than everyone (and I agree with you, that they take themselves manner too severely).
    With a view to have an excellent relationship with the numerous Manufacturers which can be on Facebook they should start performing like a public company –
    and inform us about these modifications. You’re
    sensible sufficient you’d be studying tips on how to
    moonwalk and hiring the most effective klingon translator money might buy.

  • Hurrah! Finally I got a webpage from where I be able
    to really get valuable information concerning my study and knowledge.

  • great submit, very informative. I’m wondering why the other specialists of this sector do
    not realize this. You must proceed your writing. I’m confident, you’ve a
    huge readers’ base already!

  • Remarkable! Its in fact remarkable article, I have got much clear idea about from
    this article.

  • Wow, amazing blog layout! How long have you been blogging for?

    you made blogging look easy. The overall look of your web site is magnificent,
    as well as the content!

  • Pretty section of content. I simply stumbled
    upon your weblog and in accession capital to assert that I get in fact enjoyed account your blog posts.
    Any way I’ll be subscribing for your augment or even I fulfillment you access constantly rapidly.

  • If you would like to improve your know-how only keep visiting
    this site and be updated with the latest information posted here.

  • Heeya i’m for the first time here. Ifound this board andd I find
    It truly useful & it helped me out a lot.

    I hope too give something back and aid others like you aided me.

  • I almost never leave comments, but i did a few searching and wound up here Using the TI MSP430 LaunchPad
    with Ubuntu 10.04 | eclecticc. And I do have some questions for you if it’s allright.
    Could it be only me or does it appear like a few of these comments look like coming
    from brain dead individuals? :-P And, if you are posting on additional
    sites, I’d like to keep up with everything new you
    have to post. Could you list of every one of all your communal sites like your Facebook page, twitter feed, or linkedin profile?

  • Thanks for your personal marvelous posting!
    I genuinely enjoyed reading it, you are a great author. I will always bookmark your blog and
    may come back from now on. I want to encourage you
    continue your great writing, have a nice morning!

Leave a Reply