Programmer questions
stleric
Posts: 13
In the BS2 docs, where the programmer hookup is diagrammed, the DSR and RTS pins are jumpered together at the PC side connector. Is this connection necessary? Is this something that's required by the BASIC Stamp Editor?
Second question: I have a Parallax USB to serial adapter, with cable (Parallax P/N 28031-RT. Is there a diagram of the DB9 pinout somewhere? I'm not 100% but it seems that pins 2 and 3 are swapped wrt what's on my PC's COM port.
TIA
eric
Second question: I have a Parallax USB to serial adapter, with cable (Parallax P/N 28031-RT. Is there a diagram of the DB9 pinout somewhere? I'm not 100% but it seems that pins 2 and 3 are swapped wrt what's on my PC's COM port.
TIA
eric
Comments
2) Not sure what you're looking for. The diagram on page 28 of the BASIC Stamp Syntax and Reference Manual shows the 4 pins needed for programming (Rx, TX, DTR, Gnd) plus DSR and RTS as noted above.
As I said, I'm looking for the pinout of the DB9 side of the 28031. Does the 28031 utilize all signals (DSR, DTR, RTS, CTS, etc)? And in particular, which pin is RX and which is TX (as I said originally, it seems as if the RX and TX pins are flipped relative to what's on my computer's COM port).
Regards,
eric
5 - common
4 - DTR, ATN input to Stamp, active high reset
3 - TX, data input to Stamp
4 - RX, data output from Stamp
6 - DSR is wired to
7 - RTS output from PC (this is special ID for the Parallax cable)
The DB9 on the Stamp carrier boards is wired DCE, and the PC side is normally wired DTE. So the cable is straight through from pin 2 to pin 2 and from pin 3 to pin 3. The signal names are with respect to the PC DTE side, that is, TX is an output from the PC and an input to the Stamp.
The DSR-RTS connection is made on the Stamp carrier board, not on the #28031, nor on the Stamp module itself.
I'm curious why you think the pins are swapped?
This is what I was looking for, thanks.
eric
Kind of a long story and probably moot as everything now seems to be behaving like I'd expect.
eric