Sunday, October 30, 2011

LaunchPad toolchain 20111001 is out!

Long time no post!

There have been some interesting news recently:

It's kind of sad that companies think communities mean people need to hack their way through incomplete support and half-finished work. But I guess that's part of the $4.30 deal... Anyway, on to the subject:

I have posted a new version of the GCC toolchain for the MSP430 family. You can download it from:

http://code.google.com/p/osx-launchpad/downloads/list

Instructions on how to install and compile the "breathing led demo" are here:

http://code.google.com/p/osx-launchpad

Enjoy and please drop a comment with successful installations, error reports or flames.

11 comments:

  1. Works great for me! OS 10.2.7, rev. 1.4

    ReplyDelete
  2. ...well of course I meant OS 10.7.2

    ReplyDelete
  3. Small thing:

    The link to "http://code.google.com/p/osx-launchpad" points to "http://code.google.com/p/osx-launchpad/downloads/list".

    ReplyDelete
  4. Has anyone had success using this with an Olimex JTAG-TINY-V2? Here is a trace of my attempt:

    marks:demo-breathing-led markschulz$ clear

    marks:demo-breathing-led markschulz$ mspdebug --usb-list
    Devices on bus 250:
    250:001 05ac:8006
    250:002 0424:2514
    250:004 05ac:0236 [serial: ?]
    250:005 0a5c:4500
    250:008 05ac:8218
    250:003 05ac:8403
    250:006 15ba:0031 Olimex MSP-JTAG-TINY (v2)
    Devices on bus 253:
    253:001 05ac:8006
    253:002 0424:2514
    253:003 05ac:8507 [serial: 8JAB71D98DCLJL00]
    253:004 05ac:8242
    253:005 050d:0016
    253:007 05ac:1008
    253:008 05ac:912f
    253:009 05ac:9221 [serial: ?]
    marks:demo-breathing-led markschulz$ mspdebug olimex 'prog main.elf'
    MSPDebug version 0.17 - debugging tool for MSP430 MCUs
    Copyright (C) 2009-2011 Daniel Beer
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    usbutil: unable to find a device matching 15ba:0002
    olimex.c: Trying to open interface 1 on 006
    olimex.c: can't claim interface: Permission denied
    olimex.c: failed to open Olimex device
    marks:demo-breathing-led markschulz$

    Note that the Olimex appears as device 15ba:0031 when listed, but when we try to load code it appears that we are now trying to access device 15ba:0002. Weird behaviour on the surface.

    Cheers
    Mark

    ReplyDelete
  5. Have you tried with sudo? If yes, you should contact the author of mspdebug. He's actively developing mspdebug and will most likely help.

    ReplyDelete
  6. Toolchain installed fine and works with the breathing demo on 10.7.2. Thanks!

    Anybody gotten things working inside Eclipse?

    ReplyDelete
  7. Thanks for your great work! I am stuck with the following error when trying to compile, any ideas?

    dyld: Library not loaded: /usr/local/Cellar/libmpc/0.9/lib/libmpc.2.dylib

    ReplyDelete
  8. Sorry, I take that back! It was as easy as upgrading macports and doing a "sudo port install libmpc"! I assumed the toolchain had included any dependencies?

    ReplyDelete
  9. Lifesaver! Thanks for posting this, I got my TI LaunchPad working finally on my Mac (Snow Leopard). No serial port that I can find so far but mspdebug works beautifully!

    ReplyDelete
  10. Hi, because I had to install OS lion and we are a year later, is the above still the best and latest way of doing it and with the latest available info?

    Thank you

    ReplyDelete