Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "William H. Magill" <magill@mcgillsociety.org>
To: axp-list@redhat.com
Subject: Re: FSL v.50 on CPU 0 and serial console problem
Date: Sun, 18 May 2003 13:34:41 -0400	[thread overview]
Message-ID: <01ED89B9-8957-11D7-B196-000502AE337A@mcgillsociety.org> (raw)
In-Reply-To: <04e501c31d19$80d7f390$0200a8c0@proto1>

[-- Attachment #1: Type: text/plain, Size: 4137 bytes --]

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.

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

[-- Attachment #2: Type: text/enriched, Size: 4215 bytes --]

<fontfamily><param>Courier</param>On Sunday, May 18, 2003, at 04:43
AM, Simon Tierney wrote:

<excerpt>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?

</excerpt>

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.


<excerpt>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.

</excerpt>

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


  reply	other threads:[~2003-05-18 17:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17 23:48 FSL v.50 on CPU 0 and serial console problem Simon Tierney
2003-05-18  3:14 ` William H. Magill
2003-05-18  8:43   ` Simon Tierney
2003-05-18 17:34     ` William H. Magill [this message]
2003-05-18 20:22       ` Simon Tierney
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox