Launchpad not limited to value line chips

Wanting to use my TI Launchpad as more than just a development board I thought I’d do a few experiments using it as an in-system programmer. After a few tripping points I was able to get it working and then some. It seems that the device is not limited to just the value line of microcontrollers it was intended to support. In the image above I’m using it to program an MSP430F2272 which is a pretty powerful little chip with 32 KB of program space. Click through the break for more information on the setup.

I started by etching a breakout board for the 38TSSOP package so that I had something usable. Drag soldering to the rescue, this turned out to be easier than I had expected.

Once I had access to the pins it was just a matter of checking out the connections used on the Launchpad board and hooking up the f2272. It turns out you only need three; TEST, RST, and GND. You can power the circuit externally or make a fourth connection to the voltage. I was sad to see that the jumper header doesn’t have GND on it so in addition to using an IDC cable, you can see in the image at the top that there’s an orange jumper wire going to the ground-pin breakout from the chip socket.

But I didn’t quite have it working yet. I had problems reliably connecting to and talking to the chip. After studying the schematic (ZIP) I realized I was being plagued by a floating reset pin. I grabbed a 4.7k resistor as a pull-up to volatge and communications are now perfect. For my test code I’m building a small version of pong using a Nokia 3595 LCD screen.

I’m using 100% open source tools for this which means I’m not limited to a 2k code output. You can setup these tools for yourself by following our TI Launchpad on Linux tutorial.

Comments

  1. will says:

    really? i might get one or ten now…

  2. NatureTM says:

    Really glad I saw this; I think I’ll go order some samples. I do like TI’s Code Composer though, so my move to the open source tools will not be a happy one.

    Thanks!

  3. The LaunchPad can be used as a programmer for any MSP430 which supports the SBW interface. The value-line intended limitation refers simply to the DIP socket on the board, with it’s pinout. The user’s guide even states that it can be used to program anything with the SBW interface.

    Cool project though, keep up the good work!

  4. goldscott says:

    Nice!

    I was hoping to use the launchpad for more than just the two dinky little chips it came with.

    Time to go sample some bigger & better MSP430s.

    I’m actually in the process of installing mspgcc and related toolsets on OS X right now. Hope it works…

  5. TheCarlos says:

    Wait, does that mean you can actually buy these now? For real? And you’ll actually get them?

    -c

  6. Pedro says:

    I just checked the TI estore, and they appear in stock.

    I would have ordered one right now, but I had a 50% off voucher which turns out to have expired.

    $4.30 is cheap, but after I add my bank’s foreign transaction charges £4 is a bit too expensive for me right now. For £2.70 I would have bought one, though.

    Yeah, I know, I know; I’m a real cheap bastard, right? Well I’m a student at the moment so I really have no free cash to be spending on stuff like this when I have a perfectly good AVR programmer.

  7. dragonfli says:

    @Pedro

    They’re in stock? Highly doubt that. My order’s still processing with an estimated ship date of next /month/.

  8. Pedro says:

    https://estore.ti.com/MSP-EXP430G2-MSP430-LaunchPad-Value-Line-Development-kit-P2031.aspx

    Reckons they’re in stock; Availability; In Stock is tucked away under the description.

    When they were first released I remember the site saying they were awaiting supplies or something like that, so I assumed it wouldn’t be a case of the website lying about stock levels.

  9. redbeard says:

    meh, given the launchpad and the goodfet, i’ll stick with the goodfet.

    http://goodfet.sf.net

  10. Malte says:

    You figured that out NOW? For me, that was the main reason to get one in the first place. This isn’t exactly news, almost every post I saw about this pointed out that the launchpad is a full featured spy-by-wire debugger.

  11. nave.notnilc says:

    totally called this; from my readings, it will program the MSP430F5 series, and the 14, 20, 28, and 38 pin members of the MSP430F2 series. i.e. anything that can be programmed via spy-bi-wire.

  12. Logan Kennelly says:

    TI’s estore is a mess. I ordered my Launchpads July 17th and they have yet to arrive. In fact, they have re-vamped their store system since then, and I can no longer even check the order status. Three contact emails and one contact phone number all ended up being bogus.

    If it wasn’t for the fact that it is Texas Instruments and they haven’t charged my credit card, I would have assumed it was a scam. I strongly appreciate their effort to enter into the hobbyist market, but it is clear they have a long way to go.

  13. rasz says:

    same, they are not in stock, or they are in stock but just dont ship them cos they dont like me :)

  14. sgf says:

    I live in the UK, and my Launchpad arrived a couple of days ago, having ordered it pretty much immediately upon seeing it. Make of that what you will.

    I’ve yet to find time to play with it, though. :(

  15. nave.notnilc says:

    oh, btw, I ordered my launchpads on the second day and got them within a week; just sayin’ because everyone else is complaining :p

  16. ehrichweiss says:

    TI are apparently shipping to Digikey, etc. long before any individuals ever get any. I waited till the beginning of September to get the FIVE that I ordered and was still being told that I might not get them till October though I had been promised August or September in July. I cancelled and ordered from Digikey for a whopping 5 cents more and got them in 2 days. I don’t care if I had to pay for shipping, the loss of dev time I took waiting on TI to straighten up would have cost me bigtime if I’d been trying to release a product…grrrrrrr.

  17. I finally got mine a couple of days ago. After waiting three months for it to ship, when it did finally ship, it got here within 4 days. A huge box for such a tiny board.

  18. G8erB8 says:

    Ordered 3 about two weeks ago. Got them the same week. Still haven’t played with them much. I’ve never done any kind of programing so the chips it came with are more than enough right now, but I’m glad the option is there for better chips.

  19. I try doing the same thing with the MicroStick from Microchip. It does not work!

  20. Chuckt says:

    I received mine around July 4th.

  21. Andrew says:

    I ordered my Launchpad from DigiKey instead of directly from TI, and it shipped the next day. I’ve had mine for several days now, and it’s working great.

    TI seems to be encouraging people to buy though other resellers by linking directly to resellers’ product pages on the front page of their wiki. Digikey has 180 in stock as I write this.

  22. Bill says:

    Still back ordered from July 15. I’ve lost interest that is just not acceptable.

  23. matt says:

    I got mine in the mail today…… Now to have a little fun……

  24. sgf says:

    nave.notnilc: If you live outside the US, that’s really impressive. My understanding was they were filling all the US orders first.

    I’m not complaining – I was just saying that if you’re /still/ waiting for your board, you should hang on in there. ;)

  25. sariel says:

    this is pretty rad. i had a feeling that the launchpad would program the other 430’s. guess its time to get crackin on a shield.

  26. SomeEvent says:

    @Malte
    Why didn’t you post first? You could have become a productive member of hackaday then.

  27. Rogan Dawes says:

    I ordered three a day or so after they were announced, and got them in mid-July, shipped free to South Africa.

  28. cde says:

    Took 2 and a half months, but I got my Launchpad for 2.15. Should have ordered more :O (Was able to order a free ez430 usb dev thing though haha)

    The launchpad is tiny. Business card tall, Less than a business card long.

    Also ordered some better chips.
    A pair of extra MSP430G2231 (original Launchpad chips. No use getting the other valueline chips really)
    A MSP430F2013 N (14-DIP) which isn’t too different from the g2231, and even the msp430F series has DIP sized chips.
    MSP430F1232 DW (28-SOIC) 16-bit Low-Power Microcontroller, 8kB Flash, 256B RAM, 10 bit ADC, 1 USART

    Soic is probably the smallest size package I’d go with, but SSOP’s arn’t TOO bad. Last time I was using cat5 wires, but those are too heavy, but magnetic wire is perfect for that pitch and easy to use.

    Wish TI had a simple Spy-Bi-Wire listing page to see which ones could be used.

    Also wish there was a 20 pin dip msp430, with more gpio and a hardware uart (Uart + i2c would be best), but bit-banged i2c with a bunch of i2c i/o expanders works.

  29. cde says:

    Also, why not just take the ground from the two headers down at the bottom? The header that has two ground and one V+?

  30. Malte says:

    @SomeEvent

    I didn’t think that this needs to be posted. It even says in the launchpad whitepaper (on page 2):

    “Program any MSP430 Value Line device, eZ430 target board, or Spy Bi-Wire enabled MSP430 device”

    http://focus.ti.com/lit/wp/slay017/slay017.pdf

  31. Joegeek says:

    I still haven’t received mine, I ordered it the day Hack a Day “Showcased” the board. 10 Aug 10 ??
    Still, no LaunchPad in site nor has Ti made any attempts to communicate to me. I just wonder how the hell does Ti stays in the business. I know of two other companies that have a similar problem with NOT receiving their orders in the same fashion. I am wish now I had bought an Arduino board. Well, off to Frys Tomorrow – lol

    Best of Luck on you boards all

  32. cgmark says:

    I bought 2 and received them the next day. I got them from newark.com but they show out of stock there now.

  33. regomodo says:

    Wow, you got yours?! I’m still waiting for 3 I paid for months ago.

  34. ldiaz says:

    I bought mine (live in Colombia) for 25 US Dolars today, it should be in 2-3 days hopefully. I checked and there are only 7 units on the only partnert in the country.

    By the way do you know where are detailed info about the adaptation for programming more MC’s

  35. cde says:

    @ Ldiaz, as long as it supports spy-bi-wire, which is about a quarter of the msp430 chips, and nearly every new one recently, just connect the four lines and v+ and ground from the launchpad. Very simple really.

  36. Andrew says:

    Did anyone else notice that the spy-by-wire interface on this board is itself powered by an MSP430 processor? It’s not a value-line, it’s much higher-end than the target chip: A MSP430F1612. These sell for $8 – $18 a piece!

    I suspect that TI is heavily subsidizing these to promote MSP430s in the hobby market – there’s no way the manufacturing cost could be that low.

  37. Casey O'Donnell says:

    ti sends samples of msp430 f2013 and the g2231.
    8 different parts with the number of pieces limited to how expensive they are. the dip (N) msp430s are limited to 2 of each. 5+ for things like led drivers and opamps. free shipping and it wont take months like it did for the launchpad.

    the f20 is pin compatible can just slot it into the socket instead of using cables.

  38. mikuslaw says:

    One idea about the ground connector. I may be wrong but it could be possible to put a jumper across the 3pin ground/ground/vcc connector to short ground and vcc – as the jumper connecting USB supply to uc supply part is disconnected it shouldn’t generate any shorts, but it would give you a ground on one of the pins in the header.
    (I don’t have my LaunchPad atm to check it though, so be carefull trying :) ).

  39. Douglas says:

    I don’t think anyone has said this but:

    If you look at the board there is actually a programming header right next to the jumpers where Mike connected his IDC cable…marked ‘J4′.

    I know it isn’t the standard 0.1″ pitch but, I suspect you could find suitable connectors or just solder wires to the board which lead to a cable of your choice.

  40. ZAPeachY says:

    Ordered mine from RS. Waited 5-6 working days, as per webpage. Got delivered in 5. And I live in South Africa…

  41. Anon says:

    Douglas, that’s the eZ430 programming interface.

  42. Theophrast says:

    Andrew – subsidizing – probably yes, however, please note that chips are priced not by their actual manufacturing costs, but by what they think the market will pay.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,041 other followers