You have mixed up the actual signaling of the pins. The following
represents the hardware handshaking signals for a DTE device (Data
Terminal Equipment, like a computer or terminal):
RTS ==> Ready to Send (DB25 pin 4)
- terminal raises this to signal that it has data ready;
primary hardware flow control
CTS <== Clear to Send (DB25 pin 5)
- terminal listens to this to see if connected device is ready
to accept data; if not raised terminal must pause output;
primary hardware flow control
DTR ==> Data Terminal Ready (DB25 pin 20)
- terminal raises this to indicate that is has powered up,
initialized, and is ready to begin communicating (stays on)
DSR <== Data Set Ready (DB25 pin 6)
- terminal listens to this to see if connected device is powered
up and initialized; must stay on for communications; is usually
ignored in most UNIX drivers, though some drivers can option
this in
CD <== Carrier Detect (DB25 pin 8)
- terminal listens to this to see if connected device has made
any protocol negotiation and is now satisfied how to communicate;
most device drivers depend heavily on this to indicate that a
connection is "up" or "down"
When connecting a terminal to a computer you want to connect the DTR
signal to both the DSR and CD of the other side. This tell both devices
that the other is powered on and communicating. Hardware flow control
then depends on the RTS and CTS signaling -- RTS of one side is connected
to the CTS of the other.
True RS232 null-modem connections are this:
TX ==> RX \
RX <== TX / data pair
RTS ==> CTS \
CTS <== RTS / handshaking pair
DTR ====> DSR \
\==> CD \
DSR <==== DTR / connection conformation pair
CD <==/ /
Gnd === Gnd - and of course you can't forget ground
You'll find this is true for printers, computers, terminals, barcode
readers -- any two DTE devices connected together.
Post by Matthias CzaplaPost by Keith F. LynchPost by Matthias CzaplaDoes the VT420 really not support hardware flow control?
The VT420 does support hardware flow control.
Allthough I looked very hard I cannot find a supplier of the DEC-423
plugs so Im left with the DB-25 connector. I connected the terminal's
DTR pin to the CTS pin of the host's serial interface, enabled RTS/CTS
hardware flow control at the host and disabled Xon/Xoff flow control.
But it doesnt work (i.e. produces garbage after certain amount of
characters have been received).
I noticed that there is an option "Modem Control" in the "Comm"
directory of the VT420's setup, however when I enable it the terminal
stops responding and displays "Waiting" in its indicator line. I
guess this is because the modem control lines are not connected.
Im not sure what pins have to be shorted in order to trick the
terminal into thinking that there is a modem connected. Can somebody
give me a clue please?
Regards
Matthias
--
Scott G. Hall,
Raleigh, NC, USA
***@BellSouth.Net