LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does Anybody have labview drivers to program an MSP430 via SERIAL PORT?

Ray,

 

Perhaps you're thinking of the JTAG interface to the MSP430 as a candidate for a DIO interface.  No, the MSP430 bootstrap loader is a character-oriented asynch serial protocol.  It's hard-coded into most MSP430 variants, and is sort of an auto-bauding bit-banged UART implementation, so it doesn't use, nor require the micro to even have, a "real" UART.  The MSP is forced to start the BSL by a specific pin toggle of *RESET and TCK, which can be done using DTR and RTS (all through level converters, of course).  Tx and Rx on the micro are just a couple of general-purpose pins.

 

Like JTAG, it's a way to get (and potentially read out) code and data from an MSP430.  Unlike JTAG, there's no support for breakpoints, debugging, etc, and you can't use the BSL to blow the security fuse.

 

You can probably Google for the TI document SLAU265A, or the older SLAA089D I used, to see specifics.  The newer doc covers the extended-memory '430 devices.

 

From the host perspective, it's just another unique serial device with a limited set of short message formats.

 

Shravan, I'll send you a private email to follow up.

 

Best regards,

 

Dave

David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
Message 11 of 60
(3,840 Views)

Thanks David.

 

You're correct.  🙂

0 Kudos
Message 12 of 60
(3,825 Views)

David,

 

I'm using the eZ430 kit with USB connectivity to the PC.  I also have the eZ430-RF-2500 kit.  I'd like to see if I can adapty your code to program these guys through their USB interfaces.  Could I use your VIs?

 

Thanks!

0 Kudos
Message 13 of 60
(3,737 Views)

Warsch,

I'm willing to send you code (if I can get your email address), though I don't know whether it'll be applicable.  Does the USB interface on your kit enumerate as a serial port on the PC?  And if so, can it be linked to the port pins on the MSP430 needed for bootstrap (typically P1.1, P2.2, true for the MSP430F2274), plus *RST and TCK?  Without that connection, this isn't going to help you.  It's all serial VISA, and you must be connected to the port pins on the MSP that implement the bootloader.

 

Dave

Message Edited by David Boyd on 08-27-2009 05:31 PM
David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
Message 14 of 60
(3,727 Views)

David, 

 

I think I may be in luck.  The USB comes in as a Virtual COM port (COM15) in my case.  I'm already listening to this device in Hyperterm.  Further, a quick glance at the data sheet suggests that in addition to TX/RX (probably pins 1 and 2), I have access to TEST/SBWTCK and #RST/SBWTDIO.  I'm hoping these are the correct pins.

 

You can send that to:  warsch@ieee.org

 

Thanks much!

 

-Jason

0 Kudos
Message 15 of 60
(3,718 Views)

Jason,

Replied via private email. 

Dave

David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
Message 16 of 60
(3,714 Views)

Hi Dave,

 

Would you mind sending me your labview soure code for Serial port to program MSP430.

it will much appreciated. my email is pedz_5 @ hotmail.com

 

thanks,

Ped

0 Kudos
Message 17 of 60
(3,410 Views)

Replied to Pedz via private email.

When I was a kid, it was always nice when the teacher put a star or a smiley on my homework (hint, hint).

Dave

 

David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
Message 18 of 60
(3,350 Views)

Hello David,

Im working on a flow sensor project which implements MSP430 MCU with eZ430 RF2500 kit. I use two RF2500 boards for my proect. One board(transmitter) is connected to the flow sensor developed, another board(reciever) connected to PC which recieves the temparature readings via radio link. I have to display and analyse the temparature readings in Labview on my PC from the reciever board. I am going through the links about the app note. Would you mind helping me out by sending your VIs regarding the BSL for MSP430 so that i can analyse it and use it as reference for my project.

 

My email id is : mail4aarief@gmail.com  

Thanks in advance

regards

Aarief 

0 Kudos
Message 19 of 60
(3,287 Views)

Hi David!

 

May I ask you also for the MSP430 BSL code in pure-G?

 

Thank you very much in advance!

 

Best regards

Gerhard

g.chvatal@adcon.at

0 Kudos
Message 20 of 60
(3,205 Views)