}

10/19/2012

Using the TI Launchpad MSP430 as an in system programmer (ISP)

Using TI Launchpad MSP430 as an in system programmer (ISP)

One of the really nice things about the TI Launchpad MSP430 is the ease with which you can transfer the MSP430 chip from the development board to your project board.  Just program the chip in the launchpad, take it out, then put it in your project.  Very easy.

But, what if you want to program your chip in circuit?  Each time you move the microprocessor, you run a risk of bending or breaking pins.  Not to mention, you may want to reprogram a chip that is already soldered to a PCB.

That's just as easy, and only requires 4 wires.  There are 5 jumpers between the Emulation and MSP430 side of the board, right where the dashed line is.  Pull the three jumpers from VCC, TEST and RST.  Connect jumpers from the VCC, TEST, and RST pins on the Emulation side of the board to the corresponding pins on your chip.  Use one more jumper wire to connect the ground on the launchpad to the ground pin on your MSP430 chip.

Hit the upload button, as usual.  In the video, you will notice I am using Energia - it programs the MSP430 chip as if it is in the Launchpad board.

In the video I program 3 MSP430G2553 chips and 1 MSP430G2452.  Each chip is programmed with the same code, which just blink an LED on and off on pin 8 at a 100ms rate.

To connect the MSP430 chips directly on the breadboard, you just need to hookup VCC and GND.  You will also need to tie the RST pin HIGH.  The datasheet says to use a 4.7k ohm resistor on the RST pin, but I didn't.

Don't forget to replace the jumpers on your TI Launchpad MSP430 board when you are done.  Hope this was helpful for someone.