Jump to content
moderboy

Launchpad as external programmer

Recommended Posts

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".

Share this post


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

Share this post


Link to post
Share on other sites

n1ksn-

 

welcome to the party. I am interested in how you communicated between the f16 and the olimex, i understand you used jtag, but how? can you elaborate a bit please?

 

Thanks. KB

Share this post


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

Share this post


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.

Share this post


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

Share this post


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.

Share this 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

Share this post


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....

Share this post


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

Share this post


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.....

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×