Jump to content
43oh

Launchpad as external programmer


Recommended Posts

  • Replies 74
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

FET-Pro430 programming software for Texas Instruments MSP430 microcontrollers    

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 UAR

If all else fails, you can always use Elpotronics' FET-Pro430 Lite to make the LaunchPad a standalone programmer.

Posted Images

I have been using a Launchpad as a Spy-Bi-Wire programmer with an Olimex H2274, their header board for an MSP430F2274. Since my breadboard is powered by the USB connection on the Launchpad, I made four connections with a little custom cable I made. It connects the VCC, RST, and TEST pins on the Launchpad J3 and GND on J6 to the 14-pin JTAG connector on the header board. The cross jumpers on J3 are removed or just stored on the lower set of pins.

 

I'd put in a link to my TI forum post (which includes a picture), but I'm too new here to be allowed to do so. If you go to the TI MSP430 forum you can find it under "Doing Baugh's State Machines Book on the Cheap".

Link to post
Share on other sites
I'd put in a link to my TI forum post (which includes a picture), but I'm too new here to be allowed to do so. If you go to the TI MSP430 forum you can find it under "Doing Baugh's State Machines Book on the Cheap".

 

Welcome to the Forums n1ksn. Two more posts and you will be able to post links. For now, I'll help you out:

http://e2e.ti.com/support/microcontroll ... 69706.aspx

 

8228.StateMachineBoard.JPG-550x0.jpg

Link to post
Share on other sites

Thanks for the link, bluehash. Much appreciated. It looks like the Img feature is for linking to a website, and I don't have one, so I had to rely on a posting elsewhere. Is there a way to post images directly (after I get my 3 postings)?

 

Kenemon, I'm a bit confused by your question as there is no f16 involved in my setup. At the risk of insulting your knowledge I'll elaborate a tad. The chip on the header board is a MSP430F2274, and it is hardwired to the JTAG connector on that board, which also has a clock crystal installed. I connected the programmer on the Launchpad using Spy-Bi-Wire, which is a subset of the 14-pin JTAG connector which has pins for VCC, GND, RST, and TEST. I just looked up the pinout in the references and used the usual jumper wires. I then build the connector cable just to avoid connection mistakes with four individual wires. The other board on the breadboard is a MAX single channel RS232 line driver and receiver on an SMT to DIP adapter which has the connections on the Softbaugh ES2274 board, including pull-ups and pull-downs to put it to sleep when unused.

 

I hope somewhere in there I answered your question (if I understood you). Thanks for the welcome.

 

I'll post a link to my Launchpad satellite board, which after the discussion I've read here I might want to call a "booster." Maybe shields could be called "payloads"?

 

Cheers,

Andy

Link to post
Share on other sites
Thanks for the link, bluehash. Much appreciated. It looks like the Img feature is for linking to a website, and I don't have one, so I had to rely on a posting elsewhere. Is there a way to post images directly (after I get my 3 postings)?

Your welcom. You should be good now. You can upload your pic, instead of linking it offsite.

Link to post
Share on other sites

Sorry n1ksn,

 

Kenemon, I'm a bit confused by your question as there is no f16 involved in my setup.

 

I am referring to the FET on the LP. As far as I know, they are specified as MSP430F16xx, I think mine are F1612's.post-1413-135135508407_thumb.jpg

 

I have been tying to use CCS and IAR to "get thru" this chip to other non-proprietary MCU's, but am confused. When selecting target devices, the options do not exist. I have even tried MSPflasher, and that was scary (with a brushup in DOS), to no avail. I hope this better explains my question.

 

Thanks. KB

Link to post
Share on other sites
Is there a way to post images directly (after I get my 3 postings)?

I had to have someone explain this to me as well... ;)

 

Below the edit window is an "Upload Attachment" tab. Make sure the image is scaled properly and upload it. After it's uploaded, you get the option to "Place inline", which will show the image in your post.

Link to post
Share on other sites

Thanks for the image posting info, Geekdoc. Much appreciated.

 

Kenemon, perhaps your question is too advanced for me. I use the IAR IDE for programming the MSP430F2274 and just select that chip under project options and select TI FET for the programmer and debugger. I also manually select Spy-Bi-Wire in the options, just be to sure.

 

Andy

Link to post
Share on other sites

don't worry, i am not that advanced. Your reply is what I was looking for. In CCS, I cant find these??

 

and select TI FET for the programmer and debugger. I also manually select Spy-Bi-Wire in the options, just be to sure.

 

 

post-1413-135135508686_thumb.jpg

 

but I found the debugger setting you mentioned in IAR:

 

post-1413-135135508676_thumb.jpg

 

 

I cant find the "programmer" you mentioned. Can you point me closerI think this is what I needed. Much Thanks....

Link to post
Share on other sites

In the IAR Embedded Workbench:

 

Select the project name in the file tree on the left. This is important to get the right set of options.

 

Then go to Project/Options to pull up a list of option categories and their associated tabs:

 

General options category: Target tab: Device (choose your target device to program through the Launchpad)

Debugger category: Setup tab: Driver set to FET Debugger

FET Debugger category: Setup tab: Connection set to Texas Instruments FET, Debug protocol set to Override default and Spy-Bi-Wire.

 

Hope this helps. There is really no mention of a "programmer." Sorry if I misled.

 

Andy

Link to post
Share on other sites

Thanks n1ksn,

 

it has been challenging for me to figure this out. Generally not from lack of help, but from my lack of expertise. I realize now that CCS usually makes the whole process more difficult. Your help is exactly what I needed. Now I need to try it with IAR!

 

Still tryin to figure out what the LP "TP" jumpers can be used for.....

Link to post
Share on other sites
  • 2 months later...

Hello,

 

There is some good news from my side that I would like to share in this same context.

 

I have tested MSP430 LaunchPad to successfully program MSP430F5310, MSP430F5418 and MSP430F5438 over SBW!! :thumbup:

I would detail the setup in my blog.

 

These are all bigger microcontroller and have lots of features.

They are the ones I use to make embedded products at work.

Some of them can give a battery lifetime of 5years on 2.4G Wireless networks.

 

Well now I can use them at home too. Thanks to TI , MSP430.

And a Big Thanks to the 43oh Community :clap:

 

I have new board coming up that I have developed using MSP430F5310.

Hope that this would enable more advanced projects.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...