PDA

View Full Version : Programming BS2 with the PropPlug?



Klazen
08-03-2008, 10:05 AM
I recently bought a Propeller, and have thought about starting up with the BS2 again as well. However, I only have a laptop now, and it has no serial port. Then I thought, isn't the propplug just a serial-usb connector? If it would work, where do I hook up the wires? I'm guessing RX = Sin and TX = Sout, and vss is the same on both, but what about RES on the propplug? I can;t figure out where that goes. would it be ATN? or is it RST?

Chris Savage
08-05-2008, 03:37 AM
The Prop Plug is a USB to Serial Adapter, however it is not USB to RS-232 and the BASIC Stamp Module is expecting an RS-232 signal on its programming pins. The output from the Prop Plug is non-inverted serial whereas the output from the USB to 232 adapter is inverted RS-232 signals. We do have an inexpensive USB to 232 adapter for under $20.00 that uses the same chipset as the Prop Plug. The part number is 28031. I hope this helps. Take care.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support

Klazen
08-05-2008, 04:55 AM
Ok, thanks. I'll definitely look into that.

Phil Pilgrim (PhiPi)
08-05-2008, 05:10 AM
Theoretically, you could invert the serial signals' polarity in the PropPlug's USB chip by using FTDI's MProg program. But, if you're going to be working with both the Prop and a BS2, switching back and forth would be a real pain. Parallax's USB to Serial Adapter is a good value for the money and will save you the headaches required to time-share your PropPlug.

-Phil

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Still some PropSTICK Kit bare PCBs (http://forums.parallax.com/showthread.php?p=729096) left!

Chris Savage
08-05-2008, 10:14 PM
In OEM BASIC Stamp applications I used to use the USB2SER for programming but the Prop Plug would work equally as well. So if you were to create an OEM circuit which does not include the transistors used for RS-232 interfacing then you could program your controller using the Prop Plug as well. But on the 24-pin Modules it is easier to just use the standard RS-232 signal, even if from a USB to 232 adapter.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support