Long time no post!
There have been some interesting news recently:
- The older mspgcc4 toolchain has been merged into the mspgcc project at sourceforge. Efforts have been geared towards supporting a greater variety of MCUs that include both the MSP430G2231 that came with the LaunchPad as well as the MSP430G2452 included with TI's Capactive Touch Sensor Booster Pack.
- Terence, a.k.a PentiumPC has just come up with a kernel extension that supports both programming/debugging and virtual serial communication!! This is great news for the LaunchPad community because an official VCP driver for OS X has been missing all this long.
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.
Works great for me! OS 10.2.7, rev. 1.4
ReplyDelete...well of course I meant OS 10.7.2
ReplyDeleteSmall thing:
ReplyDeleteThe link to "http://code.google.com/p/osx-launchpad" points to "http://code.google.com/p/osx-launchpad/downloads/list".
Thanks, fixed.
ReplyDeleteHas anyone had success using this with an Olimex JTAG-TINY-V2? Here is a trace of my attempt:
ReplyDeletemarks: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
Have you tried with sudo? If yes, you should contact the author of mspdebug. He's actively developing mspdebug and will most likely help.
ReplyDeleteToolchain installed fine and works with the breathing demo on 10.7.2. Thanks!
ReplyDeleteAnybody gotten things working inside Eclipse?
Thanks for your great work! I am stuck with the following error when trying to compile, any ideas?
ReplyDeletedyld: Library not loaded: /usr/local/Cellar/libmpc/0.9/lib/libmpc.2.dylib
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?
ReplyDeleteLifesaver! 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!
ReplyDeleteHi, 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?
ReplyDeleteThank you