Vanguard Multiport™ 4520CP Controller Synchronous/asynchronous Communications for CompactPCI-equipped Solaris™ systems Vanguard Models 4520CPF 4520CPR Part Number: 15-30001-00, Rev.
Copyright © 2002, Aurora Technologies, Inc., a Carlo Gavazzi Group company. All Rights Reserved. Printed in the United States of America This publication is protected by Federal Copyright Law, with all rights reserved.
We/Wir/Nous/Wij/Noi:\ Aurora Technologies, Inc.
Note: this equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications.
Contents Chapter 1. About this Manual Manual Organization ...............................................................1-1 Who Should Use This Book ....................................................1-2 Document Conventions ...........................................................1-3 Related Manuals ......................................................................1-3 Getting Help ............................................................................1-4 Registration........................
Contents (continued) Installation Precautions .......................................................... 3-3 Unpacking Vanguard Hardware.............................................. 3-3 Other Things You’ll Need....................................................... 3-4 Cabling............................................................................... 3-4 Tools................................................................................... 3-4 Installing the Multiport Card ..........................
Contents (continued) mset Error Message ............................................................6-7 Calling for Support ..................................................................6-7 Chapter 7. Warranty & Maintenance Information Warranty on Hardware & Software .........................................7-1 Standard Hardware Warranty Policy ..................................7-1 Standard Software Warranty Policy....................................7-1 Appendix A .
Contents (continued) viii Table of Contents
CHAPTER 1 About this Manual The Vanguard Multiport Controllers User’s Manual describes how to install and use Aurora Technologies’ Vanguard sync/async series of multiport controllers for systems equipped with the CompactPCI bus (cPCI). Manual Organization This manual is organized as follows: Chapter 1, “About this Manual.” Describes the purpose, audience, organization, and related documents for this guide. Chapter 2, “Introducing the Vanguard Multiport 4530CP Controller.
About this Manual Chapter 5, “Using the Vanguard Multiport Software.” Describes administration of ports on the multiport controllers. Chapter 6, “Troubleshooting.” Describes potential installation problems, error messages, and diagnostic tools. Chapter 7, “Warranty & Maintenance Information.” Describes warranty and maintenance information for this Aurora Technologies’ product. Chapter A, “Cables and Connectors.” Provides wiring diagrams and general cabling information.
Document Conventions Document Conventions Table 1 describes the symbolic conventions used in this guide. TABLE 1. Conventions Symbol Description screen display Graphic text that appears on screens, menus and dialog boxes appears in sans serif font. User input User input values appear in boldface. These are characters or commands you type literally. emphasis Italics are used in the text for emphasis, titles, and variables.
About this Manual Getting Help If you need to reach us, you can contact us by • The Web: www.auroratech.com for product literature, phone numbers and address. • Phone service: Mon–Fri, 8:30–6:00 Eastern Time For faster service, have your product serial number available. • FAX: Attn: Customer Service and Support • Email: support@auroratech.
CHAPTER 2 Introducing the Vanguard Multiport 4530CP Controller Congratulations on purchasing your Aurora Technologies Vanguard Multiport™ controller. Combining on-board RISC processing, dedicated data buffers, and flow control processing, Vanguard Multiport controllers off-load communications overhead from your host CPU and your network for optimum system performance.
Introducing the Vanguard Multiport 4530CP Controller Multi-protocol support Optional Aurora synchronous data communications protocols including X.25 and HDLC are available for SPARC and x86 systems. Solstice (SunLink) protocols are fully supported. Interface options The Vanguard Multiport controllers support the RS-232 interface and are available with either DB-25 or RJ-45 connectors. RS-422 or RS-485 with DB-25 connectors are optionally available.
Technical Specification Overview Technical Specification Overview Table 2 provides a technical specification overview of the Vanguard Multiport controllers. TABLE 2. Vanguard Multiport Controller Specifications 4520CP Ports 4 Electrical Interface RS-232 standard RS-422, RS-485 optional Connector DB-25 DTE (male) RJ-45 optional Speed full duplex, async: 50–115.
Introducing the Vanguard Multiport 4530CP Controller TABLE 3.
CHAPTER 3 Installing Vanguard Multiport Hardware This chapter describes how to install Vanguard Multiport hardware and consists of the following: • • • • Taking precautions before installation Unpacking the Vanguard Multiport hardware Installing the Vanguard Multiport card Connecting peripherals Vanguard Multiport 4520CP Controller User’s Guide 3-1
Installing Vanguard Multiport Hardware Installation Overview This section provides an overview of how to install your Vanguard Multiport controller and the Aurora device drivers. TABLE 4. Installation Step Overview Procedures Description Go to 1 Unpack the multiport controller.
Installation Precautions Installation Precautions Taking the precautions described in this section should help you avoid injury or damage to your equipment. Electrostatic discharge can damage integrated circuits on your multiport cards. To prevent such damage from occurring, observe the following precautions during board unpacking and installation. • Handle circuit cards only by their non-conducting edges once you have removed them from their protective antistatic bags.
Installing Vanguard Multiport Hardware TABLE 5. Vanguard Qty. Multiport Controller Parts List Description 1 Multiport Card (1) Rear I/O card (if applicable) 1 distribution cable or box 1 Serial test plug 1 User’s Manual with Driver distribution CD-ROM 1 Driver Release Note Save the shipping cartons and the internal packaging. If you need to ship the product back to your dealer, you must use the original carton and packaging.
Installing the Multiport Card • A small flat-head screwdriver to make cable connections and secure mounting screws. Installing the Multiport Card Detailed installation procedures for cPCI cards can be found in your system installation or hardware documentation. The system documentation explains how the slots are numbered and any special considerations you should note. Electrostatic discharge and static electricity can damage integrated circuits on the cPCI card and in the box.
Installing Vanguard Multiport Hardware FRONT I/O CONFIGURATION Multiport Card 0 1 2 3 Distribution Cable or Box Multiport Card System enclosure Rear I/O Card 3 2 1 0 System enclosure REAR I/O CONFIGURATION Connecting Vanguard Card to the Distribution Cable (or breakout box) FIGURE 1.
Connecting Peripherals Connecting Peripherals Peripherals are connected to the Vanguard Multiport distribution cable/box with user-supplied cables (See Figure 2 on page 7). Detailed cabling information is provided in Appendix A. All peripheral cables must be shielded to ensure proper functioning of your equipment. Once you have the necessary cables, use the following procedure. To connect a peripheral device to the distribution cable/box 1. Acquire the correct, shielded, peripheral cable.1 2.
Installing Vanguard Multiport Hardware 3-8 Vanguard Multiport 4520CP Controller User’s Guide
CHAPTER 4 Software Installation and Configuration The Vanguard Multiport device drivers allow your CompactPCI-based system to communicate with various asynchronous and synchronous serial devices (such as printers, terminals, or modems) through the Aurora ports. A CD-ROM containing the device driver software plus installation script is shipped with your Vanguard Multiport card.
Software Installation and Configuration You only need to install the driver once, even if you are installing more than one Vanguard Multiport serial card. One device driver can support up to sixteen serial cards. After you have installed the driver software, proceed with the setup and configuration procedures that follow in this chapter. Free Driver and Release Note Downloads You can download the latest versions of all Aurora drivers and release notes from the Aurora Technologies web site.
Asynchronous Device File Names term/7 Indicates the port number being accessed on the card. The number increments sequentially (in decimal) from the first port on the first card through the rest of the ports on the rest of the cards installed in the system. Indicates device type: term for terminals, dial in modems cua for dial out modems FIGURE 3.
Software Installation and Configuration Setting Up Asynchronous Port Services Once your peripherals are connected and the Aurora software packages are installed, the next step is to set up the appropriate port services for each peripheral. Solaris has a number of tools available for administering port services. You should familiarize yourself with the man pages on sacadm, pmadm, ttyadm, and lpadmin before attempting to connect peripherals to the Aurora serial ports.
Setting Up Asynchronous Port Services Setting Up Terminal Services Setting up terminal service in Solaris requires the sacadm and the pmadm commands. The following example sets up a typical terminal. To set up services for a typical terminal 1. Create a new port monitor using ttyaur0 as the PMTAG name: system% sacadm -a -p ttyaur0 -t ttymon -c \ /usr/lib/saf/ttymon -v 1 If you get the message ttyaur0 already exists, it simply means that someone has already created ttyaur0.
Software Installation and Configuration hardware). Refer to your Solaris documentation for more information about using Admintool and setting up terminal services. Bypassing the Carrier Detect (CD) Line If you are using 3-wire cabling (or for some other reason the CD line will not be pulled high), you must bypass the CD line for terminal and printer ports. This is done by instructing the driver to assume the CD line is high regardless of its actual state. The easiest way to do this is using Admintool.
Setting Up Asynchronous Port Services To set up services for a typical bidirectional modem 1. Create a new port monitor using ttyaur0 as the PMTAG name: system% sacadm -a -p ttyaur0 -t ttymon -c \ /usr/lib/saf/ttymon -v 1 If you get the message ttyaur0 already exists, it simply means that someone has already created ttyaur0. Use a unique PMTAG name for every 16 Aurora ports (in other words, a unique name for each expansion unit you have). For example, you could use ttaur0, ttaur1,...
Software Installation and Configuration Setting Asynchronous Data Rates Aurora recommends that you use the SunSoft Admintool or Solaris stty command to set baud rates for asynchronous ports. See the Admintool documentation or the Solaris stty(1) man page for information on how to do this. Synchronous Configurations As stated earlier, your Vanguard Multiport card supports multi-protocol configurations.
Synchronous Configurations hdlcdrv/7 Indicates the port number being accessed on the card. The number increments sequentially (in decimal) from the first port on the first card through the rest of the ports on the rest of the cards installed in the system. Indicates device type: hdlcdrv for HDLC devices FIGURE 4. Filenaming Format for Synchronous Files In this example, an HDLC device connected to the port labelled 7 on the second Vanguard Multiport 4520CP card is accessed by the hdlcdrv/7 device file.
Software Installation and Configuration SunLink® Support Some applications require SunLink device names of the form /dev/zshx. If you plan to run such an application over your expansion ports, first run /opt/AURAase/ zshreplace. Then type, devlinks;drvconfig. Note that after running this script, you will not be able to use the Solaris workstation serial ports A and B as zsh devices due to inevitable device name conflicts.
CHAPTER 5 Using the Vanguard Multiport Software Aurora Technologies device driver software delivers advanced features for unparalleled flexibility and convenience. These features are described in the following sections: • • Viewing Port Parameters with aseinfo Administering Ports with mset Viewing Port Parameters with aseinfo The aseinfo command allows you to view the current status of your expansion ports.
Using the Vanguard Multiport Software To view the port parameters 1. Type 2. Scroll through the listing using the space bar. system# ./aseinfo -ports | more To view the active drivers 1. Type 2. Scroll through the listing using the space bar. system# ./aseinfo -drivers | more See Figure 5 on page 5-3 for sample output from aseinfo. In that example two Vanguard 4520CP cards are installed in slots 3 and 4 of the SBus-equipped system.
Administering Ports with mset Board 0 (Vanguard Multiport 4520CP, slot 3) 0,0 0 term/0 sync/0 CLOSED 0,1 1 term/1 sync/1 CLOSED 0,2 2 term/2 sync/2 OPEN asea 0,3 3 term/3 sync/3 CLOSED Board 1, (Vanguard Multiport 4520CP, slot 4) 1,0 4 term/4 sync/4 CLOSED 1,1 5 term/5 sync/5 CLOSED 1,2 6 term/6 sync/6 CLOSED 1,3 7 term/7 sync/7 CLOSED Port Label SIC/port pair FIGURE 5.
Using the Vanguard Multiport Software TABLE 8. mset Options mset Option Description - Sets BAUD rate for given port. -baud Sets BAUD rate for given port. -dtrflow Configures the driver to use DTR (pin 20) as the input hardware flow control pin. The DTR pin will function like RTS (pin 4). The RTS pin switches its function to act like DTR. (Not available in ASE driver) ext Sets [port BAUD rate to external clock. -flush Resets a hung port.
CHAPTER 6 Troubleshooting This chapter describes problems you could possibly experience with your Vanguard Multiport card and the actions you should take to diagnose and solve those problems.
Troubleshooting Installation Problems If you experience problems immediately after the installation of your Vanguard Multiport card, please check the following: • • • • • • • • Is the peripheral cable the correct type? If it is a null-modem cable, is it the right kind of null-modem cable? The vast majority of problems are due to incorrect cable selection. Refer to Appendix A, Cables and Connectors.
The xxtrace Driver Tracing Utility To clear a hung async port 1. Switch user to root: system% su Password: system# 2. Run ps to get the process number for the program that has the port open: system# ps 3. Use kill to remove the offending process: system# kill -9 This should free up the port. If it doesn’t, the process may be defunct. Use the appropriate procedure below to remove a defunct process from a port. To clear a defunct process on port cua/8 1.
Troubleshooting TABLE 9.
The xxtrace Driver Tracing Utility where n is the board number in the system starting with 0, and p is the port number, starting with 0. For example, xb 0:3 turns on tracing for the first Aurora card in the system for port 3. 5. To show that tracing is turned on, type: system# xs The system displays a list of all the trace points. 6. Reproduce the situation that was occurring when you encountered the problem. 7.
Troubleshooting Troubleshooting with mset (async only) You can run mset when you are receiving data corruption errors on incoming data, such as • • • • Receiver Overruns: This occurs when the chip’s FIFO is full, more data has arrived, and the system could not respond to the interrupt fast enough. Frame Errors: The data received was missing a stop bit. Parity Errors: The parity check was wrong. Dropped Characters: The OS did not have enough memory to handle the incoming data. To run mset 3.
Calling for Support 7. To reset all errors and statistics for all ports, enter: system# ./mset -statsreset To report error statistics and reset all errors and statistics per port, you could have entered the following in Step 3: system# ./mset -statsr mset Error Message cannot open device The device specified in the message line cannot be opened by mset. This could be due to permissions on the device, or the driver is not loaded, or that device actually doesn’t even exist.
Troubleshooting 6-8 Vanguard Multiport 4520CP Controller User’s Guide
CHAPTER 7 Warranty & Maintenance Information Warranty on Hardware & Software Aurora products carry the following standard warranties: Standard Hardware Warranty Policy All Aurora hardware products are warranted against defects for two (2) years from the date of delivery. The Standard Warranty includes 90 days of free Technical Support, two (2) years product repair, and driver upgrades.
Warranty & Maintenance Information Product Registration Form Important! Please print, complete, and return this Product Registration Form to Aurora’s Customer Service and Support (CSS) Department at 508-588-0498. The information you provide here allows CSS to validate your warranty and inform you of software and hardware upgrades. Purchase Order No.:________________Sales Order No.:____________ Serial No.
Appendix A Cables and Connectors This appendix provides necessary background information for making connections to serial ports. It discusses modem and null modem connectors, the standard RS232 pinouts, and describes some typical cables. Two terms used frequently in this appendix are • Data Communications Equipment (DCE) • Data Terminal Equipment (DTE) DCE peripheral devices usually refer to modems. DTE devices include terminals, printers, and computers.
Cables and Connectors when connecting a DCE device, such as a modem, to a Vanguard Multiport card, use modem (or straight-through) cables. For DTE devices, such as terminals and printers, use null-modem cables. Since cabling accounts for most installation problems, this appendix describes the different types of cables to use. You should check the design of the cables you buy against the cables defined in this chapter to verify that you have the correct cables.
Serial Connector Pinouts Serial Connector Pinout Pin Number RS-232 Signal V.24 Signal Direction 6 DSR 107 Input 7 Signal GND – None 8 DCD 109 Input 15 TxCin 114 Input 17 RxCin 115 Input 20 DTR 108/2 Output 24 TxCout 113 Output Pin Signal Descriptions Signal Chassis GND Description Chassis (Earth) Ground. Prevents static discharge. TXD Transmit Data. Sends data to peripheral device. RXD Receive Data. Receives data from the peripheral. RTS Request to Send.
Cables and Connectors Pin Signal Descriptions Signal Description DTR Data Terminal Ready. Indicates the local device is ready to communicate. TxCout Transmit Data Clock. Output for transmitter signal element timing generated on the Vanguard Multiport cards. Asynchronous Serial Cables Vanguard Multiport cards support both asynchronous and synchronous communications. This section describes cables for asynchronous use. The section on page 7 describes cables for synchronous use.
Asynchronous Serial Cables Vanguard Multiport Connector 2 3 4 DTE 5 6 7 8 20 FIGURE 7. Modem Cable Modem Connector 2 3 4 5 DCE 6 7 8 20 Asynchronous Modem Cable (DTE to DCE) Asynchronous Null-Modem Cables Null-modem cables are designed to connect devices that send and receive data on the same pins, which is the case when you connect a DTE device to another DTE device. Because both devices are trying to send and receive on the same pin, the wiring of the cable must swap those signals.
Cables and Connectors Vanguard Multiport Connector 2 3 4 5 6 7 8 20 FIGURE 8. A-6 2 3 4 5 6 7 8 20 Asynchronous Null Modem Cable (XON/XOFF Handshaking) Vanguard Multiport Connector 2 3 4 5 7 6 8 20 FIGURE 9.
Synchronous Serial Cables Vanguard Multiport Connector 2 3 4 8 7 5 6 20 FIGURE 10. Peripheral Connector 2 3 4 8 7 5 6 20 Asynchronous Null Modem Cable (DTR Handshaking) See your device manual to determine what type of null-modem cable is required. Note that all three cables shown here can support XON/XOFF software flow control since pins 2, 3, and 7 are wired the same way. Synchronous Serial Cables Vanguard Multiport controllers offer full support for synchronous communications.
Cables and Connectors Vanguard Multiport Connector 2 3 4 5 DTE 6 7 8 15 17 20 FIGURE 11. Modem Cable Modem Connector 2 3 4 5 6 DCE 7 8 15 17 20 Straight-through synchronous modem cable Connecting Other Synchronous Devices Figure 12 shows the null-modem cable design for connecting Vanguard Multiport controllers to synchronous DTE devices.
Synchronous Serial Cables DB25 female clock source side FIGURE 12. DB25 male 2 3 4 5 8 6 20 7 15 17 2 3 4 5 8 6 20 7 15 17 Synchronous Null-Modem Cable This is a general purpose synchronous cable that can be used for other, non-Aurora ports. Connecting Peripherals Each port on the expansion unit has a male DB-25 connector. You must supply cabling that connects your peripheral devices to the DB-25 connectors on the Expansion unit. Depending on the required interface, you may need to use an adaptor.
Cables and Connectors 14 TxCin 15 16 RxCin 17 18 19 DTR 20 21 22 23 TxCout 24 25 1 GND (Chassis) 2 TxD 3 RxD 4 RTS 5 CTS 6 DSR 7 GND Signal 8 CD 9 10 11 12 13 RS-232 Interface Signals Transmitted through the DB-25 Connector Pins FIGURE 13. RS-422 and RS-485 Support (optional) Since RS-422 and RS-485 are electrical specifications only, they can be supported over many connectors.
Synchronous Serial Cables TxDB 14 TxCinA 15 RxDB 16 RxCinA 17 18 19 DTR 20 21 22 23 TxCoutA 24 25 1 GND (Shield) 2 TxDA 3 RxDA 4 RTS 5 CTS 6 DSR 7 GND Signal 8 CD 9 RxCinB 10 11 TxCoutB 12 TxCinB 13 Signals Transmitted through the DB-25 Connector Pins for RS422 and 485 FIGURE 14.
Cables and Connectors A-12 Vanguard Multiport 4520CP Controller User’s Guide
Appendix B Product Information Worksheet Completing the Product Information Worksheet Complete the following information about your Aurora WANmultiServer and workstation. WANmultiServer serial number: _______________________ Rear I/O Card model no.: ____________________________________ Rear I/O Card serial no.
Peripheral/Port assignments: Slot Port Peripheral 0 ___ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 B-2 Vanguard Multiport 4520CP Controller User’s Guide
Index A About this Manual 1-1–1-4 Administering ports 5-3 aseinfo, viewing port parameters 51–5-3 Asynchronous cables A-4 device file names table 4-3 modem cables A-4 null-modem cables A-5 port services, setting up 4-4–4-7 ports, clearing 6-2 C Cables and connectors A-1–A-11 Cabling 3-4 asynchronous A-4 connector pinouts A-2 overview A-1 synchronous A-7 Calling for Support 6-7 Connecting peripherals 3-7 Connector pinouts A-2 Conventions 1-3 Customer Service and Support 6-7 D Device driver software ins
Index (continued) H R Hardware, installation 3-1–3-7 Hung async ports clearing 6-2 Related manuals 1-3 Removing existing packages 4-1 RS-232 functional pinout A-9 RS-422 and RS-485 support A-10 I Installation overview 3-2 problems 6-2 quickstart 3-2 Installation, hardware 3-1–3-7 precautions 3-3 tools needed 3-4 Installation, software 4-1 Interface options 2-2 Introduction 2-1 M Modem cables asynchronous A-4 mset administering ports with 5-3 error message 6-7 options, table 5-4 troubleshooting with 6