Well, my little home-made Nokia USB-TTL cable looks like it finally gave out on me, and I'm looking for a replacement.
What I want is the cheapest USB-TTL cable/board available. So far it seems to be Modern Device's USB BUB coming in at $14 + shipping (~3-4 bucks).
Are there any cheaper than this? Please don't suggest the $3 Nokia cable again, I just don't have the patience for the drivers, etc. It took over an hour last time just to get the drivers straight, and to top it all of my cable didn't have an internal wire for +5V...
Anything and everything is helpful :). As a side note, I'll trade a new MSP430 launchpad + cash in as a trade for a good one if anyone wants to :P.
Hmmm I hadn't thought of that. Is it plausible? I mean to say could i expect it to work? The MSP430 board is designed as an emulator rather than just USB-UART...
[edit]Not to mention the fact that they're completely different architectures, and the MSP430 chip is completely erased and rewritten, rather than writing data without erasing the bootloader.[/edit]
The launchpad has a usb/rs232 chip separate from the microcontroller. Of course, it's a TI chip, not an FTDI, but the basic architecture is the same as the arduino.
There even appears to be a dotted line, so you can hack the USB section of the PCB away from the processor section.
usb port <> ti usb chip <> another msp which is doing all the emulation / jtag crap <> you target chip via its own serial connection
(when you plug a launch pad in your talking to a mcu thats talking to your target mcu via its own separated (soft?) serial port )
ok so cut off the extra QFP msp chip, now you just lost clock to the ti usb chip as there is only 1 12mhz crystal on board, that goes to the other mcu, which is then piped out of a pin on that same mcu to the usb chip
ok crap, do you reprogram the ti usb chip so it will drive a crystal? or do you make a 12mhz clock source
at that point it hit the trash
if you want to get a 12mhz crystal oscillator you can cut off the larger of the 2 chips and attach it to the ti usb chip, but your soldering leads that make 30guage wirewrap look large
One option might be to find a cheap usb->serial cable, then hack the dongle end before the 9-pin DB connector. I've found a few such serial cables cheaply at Fry's Electronics; I've also found them dirt cheap at local Goodwill locations. I've never tried hacking them, though.
Maybe you should just break down and buy an FTDI breakout or cable and be done with it; they're not that expensive...
I think you should be able to pull off serial (3.6V) off of the launchpad pins labeled RXD and TXD, regardless of whether you're using the programmer section or the target chip at all. As I understand it, the programmer/debug circuit and the "application uart" show up as separate USB devices (well, a single composite device), and normal windows utils will access the serial port just fine. You might be out of luck if you have a mac, or linux, or vista, or W7, though. TI's driver writers seem to be a bit behind the curve.
And it'd hardly be convenient!
I think you should be able to pull off serial (3.6V) off of the launchpad pins labeled RXD and TXD,
well (and I have been poking at this thing for well over a month now) the very first thing I did was jumper RXD and TXD together to form a loop back and brought it up in a serial terminal, you could send stuff to it all day long but it would never echo back
there is some voodoo going on with the TI software (which is a problem for a system) that QFP msp chip has multiple functions and I believe that unless you address it and tell it "yo be a serial port" it isnt going to be, its default state is the emulator, similarly its default programming seems to be jtag and not serial
the only realistic way I can see from what I have learned about this voodoo board to use this as a usb <> serial is to find the rx and tx pins leading from the usb device to the mcu, cut them and solder on new wires
voltage is easy enough the little voltage regulator has 5v in and ground on pairs of pins giving you a larger target
Well, believe it or not, I thought I'd give it a little shot.
I didn't cut up the board or anything, just removed all jumpers and the '430 from the board, then added one jumper between TX and RX for a feedback loop. Using hyperterminal with default settings I get everything I send right back! I'm getting ready to set up voltage dividers for Arduino TX :). Anyone know if this chip is 5V tolerant? That'd save some effort!
Well, as of now, it doesn't look like communication is working through the Arduino...hard to tell though.
My computer seems to wait a random amount of time between when the code is compiled to when it starts uploading, so it's nearly impossible to time to reset push. I tried tying the RST line from the launchpad to the Arduino's, but that didn't work. I tried switching TX/RX (I never know how they're labeling it), but that didn't work either... sigh