moderboy 1 Posted January 24, 2011 Share Posted January 24, 2011 Hello guys! I need help with the launchpad. I've read the datasheets and manuals but it's still not clear to me that how can I use it to program a uC for example on my breadboard. I dont want to remove it and place into launchpad every time. Can somebody please tell me which pins I have to connect to program the external chip and do i have the remove the one in the launchpad or can i program 2 at a time? Thanks! And greetings from Hungary Quote Link to post Share on other sites
gatesphere 45 Posted January 24, 2011 Share Posted January 24, 2011 Hello guys! I need help with the launchpad. I've read the datasheets and manuals but it's still not clear to me that how can I use it to program a uC for example on my breadboard. I dont want to remove it and place into launchpad every time. Can somebody please tell me which pins I have to connect to program the external chip and do i have the remove the one in the launchpad or can i program 2 at a time? Thanks! And greetings from Hungary I haven't done this myself, but it seems to me that you have to connect Vcc and GND, and also at least RST and TEST. I'm not sure about TXD (P1.1) and RXD (P1.2), as I think they're only used for UART comm with the host PC. But, it couldn't hurt to attach them, unless you're using them in your circuit. The easiest way to program a chip in your breadboard from the launchpad would be to simply leave all the jumpers on at the top of the board, and connect to the proper pins of the chip on the breadboard by using jumper wires into the socket on the LaunchPad. The holes might be a bit tough to get jumpers in initially, but they'll eventually go in. Hope this helps! boseji and Dimiric 2 Quote Link to post Share on other sites
emit 0 Posted January 24, 2011 Share Posted January 24, 2011 I haven't done this myself, but it seems to me that you have to connect Vcc and GND, and also at least RST and TEST. I'm not sure about TXD (P1.1) and RXD (P1.2), I use it this way and it works. Only need to connect the first four. see spy-bi-wire pdf for details. oh and i leave the dip socket empty. I don't know if you can do two at a time. Quote Link to post Share on other sites
moderboy 1 Posted January 24, 2011 Author Share Posted January 24, 2011 Thanks for the answers! I think than the RESET and other legs are for debugging. Quote Link to post Share on other sites
OCY 19 Posted January 25, 2011 Share Posted January 25, 2011 The RST and TEST are the two signals you need to do programming or debugging. And you always need Vcc and Vss no matter what you do. Quote Link to post Share on other sites
GeekDoc 226 Posted January 25, 2011 Share Posted January 25, 2011 And don't forget, you probably have pin 10 (RST) on the MSP430 tied high in your circuit. You'll have to "untie" that so you can reprogram the chip. gatesphere 1 Quote Link to post Share on other sites
gatesphere 45 Posted January 25, 2011 Share Posted January 25, 2011 And don't forget, you probably have pin 10 (RST) on the MSP430 tied high in your circuit. You'll have to "untie" that so you can reprogram the chip. Forgot to mention that. Thanks for that, Doc! Quote Link to post Share on other sites
NJC 17 Posted January 28, 2011 Share Posted January 28, 2011 The RST and TEST are the two signals you need to do programming or debugging. And you always need Vcc and Vss no matter what you do. You actually don't need Vcc if the chips is powered externally. More accurately, you do not want to use the Vcc of the LaunchPad if you are powering the chip externally. Two power supplies fighting ends terribly. You need the ground though in order to provide a reference for the 2 programming signals. Example: For an MSP430 hooked up on a breadboard with RST tied to VCC via a resistor (47k), and powered by 2xAA batteries, you only need to connect the GND, the RST, and TEST pins in order to program the chip. Quote Link to post Share on other sites
bluehash 1,581 Posted May 17, 2011 Share Posted May 17, 2011 Moved to "Programmers and Debuggers" + Made sticky. Quote Link to post Share on other sites
EngIP 31 Posted May 20, 2011 Share Posted May 20, 2011 I was continually moving the chip from launchpad to breadboard (AA battery powered) until I noticed someone else doing this. What a joy it was to discover I could program the chip in situ! To play it safe, I decided to remove my AA power supply, an power from the launchpad whilst programming. As has been said, disconnect the reset resistor if you had one in your circuit, connect up power, gnd, test and reset from the launchpad to the chip, and program from there. Honestly, I must have replaced my chip in the breadboard over 100 times before I discovered this method! So annoying when all you want to do is change a delay value! Quote Link to post Share on other sites
rockets4kids 204 Posted May 20, 2011 Share Posted May 20, 2011 For those who have not studied their launchpad schematic and PCB, this photo will be rather illustrative: This photo is not mine, and was posted by someone (I forget who) on the #43oh IRC channel. My version is not nearly so pretty, as I hacked the female headers that came with the Launchpad, but it gets the job done just fine. Remember, you will want to keep those jumper leads as short as possible to avoid errors programming the chip on your breadboard. Quote Link to post Share on other sites
dannyboy 0 Posted August 20, 2011 Share Posted August 20, 2011 Is there anything inherently incorrect in attaching wires to the uC slot itself, as below? I have a jumper header or two (in the pic) salvaged from a computer PSU, but they're not particularly nice to use with a breadboard. Quote Link to post Share on other sites
bluehash 1,581 Posted August 20, 2011 Share Posted August 20, 2011 You should be ok. Quote Link to post Share on other sites
zeke 693 Posted August 20, 2011 Share Posted August 20, 2011 Nope. Sheesh. My post don't make sense when bluehash slips in a response just before I can. :? Quote Link to post Share on other sites
bluehash 1,581 Posted August 21, 2011 Share Posted August 21, 2011 Nope. Sheesh. My post don't make sense when bluehash slips in a response just before I can. :? I dialed my Stargate before you. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.