----- Original Message -----
Sent: Sunday, May 18, 2003 6:34 PM
Subject: Re: FSL v.50 on CPU 0 and serial
console problem
On Sunday, May 18, 2003, at 04:43 AM, Simon Tierney wrote:
I have a modem cable connected to com2 on the WIN2K and I have
tried the
other end on each of the com connectors on the Alpha (Digital
Server 7305).
All the com port connectors on WIN2K are the small 9
pin type and I have a
male to female adapter in line to allow the modem
cable to connect to the 9
pin connector on the Alpha.
Could this
be the problem?
Yes and no. It depends on if this
"adapter" is simply a "Gender Bender" (converting mail to female) or a "Null
Modem." A null-modem "flips" receive and transmit lines.
I have also tried connecting another modem cable from a 9 pin
(Com 1 on the
WIN2K) to 25 pin (which is I think the modem port) on the
Alpha, but there
is no output.
Historically, on Digital
(DEC) equipment, you only need pins 2,3 and 7 -- receive data, transmit data
and ground between a terminal and a CPU. The other lines are "handshake" lines
normally only used by modems.
So you need, what today is called a
crossover cable, or historically, a null-modem.
Serial communications
are normally accomplished under RS232C -- which is a Standard, defined in
terms of a 25 pin DB25 connector. It always describes the connections between
a "modem" and a "terminal". The terms of the Standard are "DCE" - Data
Communications Equipment, the modem - or "DTE" Data Terminal Equipment,
the computer (which used to be a real VT100).
IBM corrupted the
standard when they introduced the PC and the 25 pin connector was abbreviated
to a 9 pin, DB9 based connector. Today the 9pin connector is commonly found,
but it is not defined in the actual RS232C Standard.
Since both
Computers are "DTE" if you connect them together, the Transmitted Data is
received by the Transmitted Data line, instead of the Received Data line. A
null-modem flips pins 2 and three so that Transmitted Data is correctly
received by Receive Data.
A standard RS232C "null modem" configuration
for DEC gear.
TD 2 ------\ /------3 RD
X
RD 3-------/ \------2
TD
GND 7----------------7 GND
Additionally, some null-modems tie
pin 1 and pin 7 together (the two grounds),
Also, pins 6,8,20 and 21, are
often strapped together to present an "always on" hardware condition. (These
are often used by PC software incorrectly to provide "hardware
flow-control."
Manufacturers have long made special cables, one to
connect a terminal to a modem, and a different one to connect that same
terminal directly to a CPU.
One DB9 arrangement is as follows (the pins
are usually numbered - when you look in the shell with a strong
light.)
6 7 8 9
1 2 3 4 5
1- AA - FG - Frame Ground, (earth
ground) frequently jumpered to signal ground
2- BB - RD - Receive
Data
3- BA - TD - Transmit Data
4- DTR - Data Terminal Ready
5- GND -
Signal Ground
6- DSR - Data Set Ready
7- RTS - Request to Send
8- CTS
- Clear to Send
9- RI - Ring Indicator
As you can see, this is
different from the RS232 Standard which defines the pins as follows. (Only the
ones normally used for Async.)
Pin/Interchange / Common /
description
Circuit / Name
1- AA - FG - Frame Ground, (earth ground)
frequently jumpered to signal ground
2- BA - TD - Transmit Data
3- BB -
RD - Receive Data
4- CA - RTS - Request to Send
5- CB - CTS - Clear to
Send
6- CC - DSR - Data Set Ready
7- AB - SG - Signal Ground
8- CF -
CD - Carrier Detect
20- CD - DTR - Data Terminal Ready
21- CG - SQ -
Signal Quality
22- CE - RI - Ring Indicator
Here's a couple of sites
talking about
RS232C.
http://mindprod.com/rs232c.html
http://users.breathemail.net/trevor_gowen/rs232/rs232.htm
http://www.airborn.com.au/rs232.html
Just
Google for RS232C pin-outs... The info is also buried on the HP website
someplace, but I don't know where
anymore.
/fontfamily>T.T.F.N.
William H. Magill
# Beige G3 -
Rev A motherboard - 768 Meg
# Flat-panel iMac (2.1) 800MHz - Super Drive -
768 Meg
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64
5.1a
magill@mcgillsociety.org
magill@acm.org
magill@mac.com