Rm03/rm05/rm80 compatible disk controller (92 pages)
Summary of Contents for Emulex MD21/S2
Page 1
MD21/S2 DISK CONTROLLER TECHNICAL MANUAL ( SCSI-COMPATIBLE) EMULEX 3545 Harbor Boulevard Costa Mesa, California 92626 MD2151003-00 Rev E (714) 662-5600 TWX 910-595-2521 March, 1988...
Page 2
Multibus is a registered trademark of Intel Corporation. Copyright (C) 1987 Emulex Corporation The information in this manual is for information purposes only and is subject to change without notice. Emulex Corporation assumes no responsibility for any errors which may appear in the manual. Printed in U.S.A.
TABLE OF CONTENTS Section Page Preface..........ONE: INTRODUCTION O V E R V I E W ....FEATURES ........ORGANIZATION OF THE MANUAL ....... TWO: GENERAL DESCRIPTION INTRODUCTION........MD21 DISK CONTROLLER OVERVIEW ....2.2.1 PHYSICAL DESCRIPTION ......2.2.2 FUNCTIONAL OVERVIEW ..2.2.2.1 8031 Microprocessor ......
Page 4
FIVE: INSTALLATION OVERVIEW ........INSPECTION ........MD21 CONTROLLER SETUP ......5.3.1 SWITCH SETTINGS ....... 5.3.1.1 SCSI Device Address Selection (SWl-1 through SWl-3) ...... 5.3.1.2 Sector Size (SWl-5) 5.3.1.3 Disable Drive Spin up (SWl-6)....5.3.1.4 Disable Soft Error Reporting (SWl-7) 5.3.1.5 SCSI Bus Parity Enable (SWl-8) 5.3.2 SCSI BUS TERMINATION POWER OPTION .....
Page 5
B. l OVERVIEW........B—1 EXCHANGING PROMS ......... TABLES Table Title Page 2- 1 Emulex-Certified ESDI Disk Drives ..... 2-10 3- 1 General and Electrical Specifications ..Physical Specifications ....3- 3 Environmental Specifications ....4- 1 Recommended Disk Parameters for ESDI Drives ..
Page 6
TABLES (continued) Table Title Page SCSI Bus Signals........ Single-Ended Pin/Signal Assignments at SCSI Bus Interface........ Disk Drive Cable Requirements..7-13 Control Cable Pin Assignments....7-16 Data Cable Pin Assignments...... 7-17 Connector J4 Pin Description....7-19 Power Supply Connections ....... 7-21 FIGURES Figure Title...
A guide to troubleshooting • PROM Removal and Replacement This manual has been designed to be used with the Emulex SCSI Disk Controller Programming Reference Manual (manual number MD2352501) and it assumes familiarity with the SCSI standard and the ESDI disk drive interface specification.
Page 8
Warranty claims must be received by Emulex within the applicable warranty period. A replaced product, or part thereof, shall become the property of Emulex and shall be returned to Emulex at Purchaser's expense. All returned material must be accompanied by a RETURN MATERIALS AUTHORIZATION (RMA) number assigned by Emulex.
Section 1 INTRODUCTION OVERVIEW The MD21/S2 Disk Controller is a single-board controller designed to interconnect Small Computer System Interface (SCSI) host adapters and controllers to one or two Enhanced Small Device Interface (ESDI) ,5.25-inch Winchester disk drives. The controller features the single-ended SCSI option for drivers and receivers.
Overview FEATURES The MD21 Controller features are summarized below. More details on these features are given in subsequent sections. • Industry standard 5.25-inch form factor and mounting • Operates from single +5 volt source • 32K byte by 9-bit on-board dynamic RAM •...
SCSI and ESDI interfaces. The manual provides no information about the SCSI command set or protocol. For this information, please refer to the Emulex SCSI Disk Controller Programming Reference Manual (manual number MD2352501).
Page 12
Overview Section 5 Installation: This section contains the information necessary to set up and install the MD21 Controller in your system. Section 6 Controller Initialization and Self-Test Procedures This section describes the diagnostic features of the MD21 Controller, including power up and reset tests and •...
ESDI 5.25-inch Winchester disk drive. The MD21 Controller contains the following major components: • Two Emulex custom Very Large Scale Integrated (VLSI) chips: a Buffer Controller and a disk formatter. • An 8031 microprocessor chip •...
Page 14
MD21 Disk Controller Overview MD2103-0785 Figure 2-1. The MD21 Disk Controller General Description...
SCSI protocol controller, the disk formatter, and the buffer controller. The disk formatter and the buffer controller are custom VLSI chips designed by Emulex. Two buses are used in the MD21: the data bus and the microprocessor bus.
MD21 Disk Controller Overview 2.2.,2.1 8031 Microprocessor With the disk formatter, the 8031 microprocessor controls all disk drive operations. These disk operations include drive control, head positioning, and reading drive status. During disk operations, the disk formatter controls formatting of the data that is written to, and read from, the disk drive.
SCSI Bus Overview SCSI BDS OVERVIEW The Small Computer System Interface (SCSI)* is a standard interface established to support mass storage, printer output, and network communication for microcomputers and minicomputers. The interface is an eight-port, daisy-chained bus. The SCSI command standard for the MD21 Controller is based on the ANSI SCSI Interface Specification listed on page vii.
SCSI Bus Overview PERIPHERAL UNITS SUCH AS RIGID DISKS SINGLE INITIATOR, SINGLE TARGET MULTI INITIATOR, MULTI TARGET MD2103-0582 Sample SCSI Bus Configuration Figure 2-3 General Description 2-7...
ESDI Overview 2.4 ESDI OVERVIEW The Enhanced Small Device Interface (ESDI) is a standard interface established to support multiple disk drives on the same controller. ESDI was designed to extend the capabilities of the ST506 interface. The following points regarding the MD21 implementation of the ESDI should be noted: •...
The MD21 supports ESDI disk drives that have clocks up to 15 megahertz. It supports hard-sectored, soft-sectored, and embedded servo disk drives. See Section 4.2.5 for drives that are supported by the Emulex ESDI- to-SCSI disk controllers. General Description 2-9...
Section 3 DISK CONTROLLER SPECIFICATIONS OVERVIEW This section contains the specifications for the components on the MD21 Controller. A general description of each component is included under FUNCTIONAL in the General and Electrical Specifications table. (For a detailed description of the MD21 Controller's function as a whole, see Section 2, subsection 2.2.2, Functional Description).
Page 24
General and Electrical Specifications Table 3-1. General and Electrical Specifications (continued) Parameter Description FUNCTIONAL Subsystem One or two non-intelligent 5.25-inch Configuration disk drives and one disk controller per subsystem Number of Heads Up to 16 read/write heads Sector Size Switch-selectable 256-byte sectors or 512-byte sectors Data Buffering 32K bytes;...
Physical Specifications Table 3-1. General and Electrical Specifications (continued) Description Parameter INTERFACES Standard SCSI bus single-ended Bus Interface option using approved receivers and drivers Disk Drive Interface Standard ESDI disk drive interface; supports one or two 5.25-inch disk drives RELIABILITY Mean-Time Between 4 2 , 4 2 5 hours...
Page 26
General and Electrical Specifications Table 3-2. Physical Specifications Parameter Description Packaging Single board, 5.25-inch footprint, 5.75-inches by 8-inches 20-pin Drive 1 and 2 data cables; Cabling daisy-chained 34-pin drive control cable; daisy-chained 4-pin power connector; 50-pin flat-ribbon cable to SCSI bus Lengths 20-pin data cable: maximum length of 3 meters (10 feet);...
Environmental Specifications MD2103-0774 Figure 3-1. MD21 Controller Dimensions ENVIRONMENTAL SPECIFICATIONS Table 3-3 lists and describes the environmental specifications for the MD21 Controller. Table 3-3. Environmental Specifications Description Parameter Temperature Operating 5°C to 50°C (41°F to 122°F) Storage -40°C to 66°C (-40°F to 150°F) 10% to 95%, noncondensing Relative Humidity Disk Controller Specifications...
DRIVE CONFIGURATION PARAMETERS OVERVIEW This section contains the configuration parameters and sector settings for the ESDI disk drives which have been tested by Emulex and are known to be compatible with the MD23 and the MD24. Also included in this section is a discussion of disk operation.
The MD21 supports both hard-sectored and soft-sectored drives. Table 4—1 lists the drives supported by the MD21. This list contains every drive that Emulex has tested to conform to the timing requirements for both the Emulex ESDI-to-SCSI disk controllers and the ESDI specification. Note that specific revision levels are listed for each model of drive.
Page 31
ESDI Disk Drive Preparation Table 4-1. Recommended Disk Parameters for Use With MD21 V endor/M odel R ev Secto rs/ T rack B y te s per M in b y tes IS G C o m m e n ts S iz e an d T y p e S iz e S iz e...
Page 32
ESDI Disk Drive Preparation The parameters shown in Table 4-1 are defined as follows: Vendor/Model This indicates what company produced the drive and the model of drive that was tested. This is the Revision number of date of manufacture for the drive that was tested. Sectors/Track This is the maximum number of sectors that can be used.
The interleave factor may be specified during a format operation (see the FORMAT UNIT command in the Emulex SCSI Disk Controller Programming Reference Manual, manual number MD2352501). When a data track develops multiple error conditions that cannot be resolved by the use of spare sectors, the controller saves the data from the track and reformats it as a flawed data track.
List cylinder and may not be larger than one track. controller returns the contents of the Grown Defect List during the Data Out phase of a READ DEFECT LIST command (described in the Emulex SCSI Disk Controller Programming Reference Manual, manual number MD2352501). Drive Configuration Parameters...
Disk Operations SECTOR HEADER ID INDEX __ A _ SYNC CYLINDER CYLINDER INTER SECTOR WRITE TRACK BYTE NUMBER NUMBER FLAGS CRC SECTOR NUMBER SPLICE NUMBER SYNC SYNC (MSB) (LSB) ------- y.---- --v - ------ V ----- — *— ~ ------ ----- ------ "Y------- 1 BYTE...
When you are installing the subsystem, you should make a record of the subsystem configuration and environment. Figure 5-1 is a Configuration Record Sheet that lists the information required. Also, this information will be of help to an Emulex service representative should your subsystem require service. Installation...
MD21 Controller Setup INSPECTION Emulex products are shipped in special containers designed to provide full protection under normal transit conditions. Immediately upon receipt, please follow this procedure: Inspect the shipping container for evidence of possible damage incurred in transit. Unpack the MD21 Controller and verify that all components listed on the shipping invoice are present.
MD21 Controller Setup 5.3.1.3 Disable Drive Spinup (SWl-6) Switch SWl-6 indicates whether or not the MD21 Controller automatically spins up the drive during controller power up. When this switch is set to ON (closed), the controller does not spin up the drives during power up.
+4 and +5 VDC power to the subsystem^ external terminators via pin 26 of the SCSI bus. The SCSI Termination Power option is not required if the MD21 is resident in an Emulex subsystem that contains an internal terminator power board. On-board terminators (see subsection 5.3.3) do not require that the SCSI Termination...
The MD21 Controller can be configured to terminate the SCSI bus by inserting one 220/330-ohm resistor pack in the sockets located at U22 and U35 on MD21. The resistor packs are available in the Emulex SCSI terminators kit, P/N MD0113002.
Page 45
MD21 Controller Installation Configure the MD21 Controller by setting the switches on switch pack SWl. All switches have been set at the factory; however, you may need to reset some switches for your specific needs. Place the disk drive on a flat surface. Place the MD21 Controller (component side up) on top of the mounting bracket.
MD21 Controller Installation Figure 5-6. Installing the MD21 Controller on the Mounting Bracket Figure 5-7. Connecting the Disk Drive Data and Control Cables and the SCSI bus to the MD21 Controller 5-10 Installation...
The MD21 Controller equipment generates and uses radio frequency energy. If it is not installed and used in strict accordance with Emulex's instructions, it may cause EMI with radio and television reception. It is the responsibility of the user to properly install the MD21 and ESDI disk drives in a subsystem.
Page 48
EMI that is radiated by the system, especially if the MD21 and the disk drives are installed in separate cabinets. Emulex is not responsible for any radio or TV interference caused by unauthorized modifications to the MD21 Controller.
Section 6 CONTROLLER INITIALIZATION AND SELF-TEST PROCEDURES OVERVIEW This section describes the diagnostic features with which the MD21 Controller is equipped. MD21 Controller diagnostic modes include power-up (and reset) self-test and online host-initiated diagnostic facilities. The principal function of these tests is to determine MD21 Controller functional integrity and to distinguish failures of the MD21 Controller from those of the disk drive.
Page 50
Controller Reset/Power Up Initialization The self-test sequence consists of the following events: • - This routine tests the 8031 Hardware Reset Test microprocessor, buffer controller, disk formatter, and SCSI reset latch for the proper power-up condition. any of these tests fail, the controller can only be reset by a power-up condition.
Page 51
Controller Reset/Power Up Initialization During the self-test, the onboard LEDs will indicate which test(s) are in progress as shown in Table 6-1. Table 6-1. LED Sequences for Self-Test Procedure Description Red LED Green LED Hardware Reset Test 8031 Test PROM Checksum Test Buffer Controller Test Dynamic RAM Test Disk Formatter Test...
Page 52
Controller Reset/Power Up Initialization The initialization sequence consists of the following events: 1. Initialize SCSI firmware a. Set status for all LUN's to BUSY b. Initialize SCSI interface c. Enable SCSI interrupts 2. At this point, the controller responds to a selection phase from the initiator but returns a BUSY status until the initialization sequence is complete.
Initiator is terminated with a CHECK status and a UNIT ATTENTION Sense Key, For more information, see subsection 5.5, SCSI Error Conditions, in the Emulex SCSI Disk Controller Programming Reference Manual (manual number MD2352501). Until the drives have been spun up, any command sent by an initiator which accesses the media is terminated with a CHECK status and a DRIVE NOT READY sense key.
Controller Reset/Power Up Initialization LED 4 LED 3 ■ JUMPERS MD2103-0776 Figure 6-1. Location of LEDs on the MD21 Controller Table 6-2. LED Test Code Descriptions LED 2 LED 1 Test Description (Red) (Green) Power-up Reset Clear Power-Up Self-Test Pass Code 0 = OFF (not lit) 1 = ON (lit) Controller Initialization and Self-Test Procedures...
Page 55
Controller Reset/Power üp Initialization If the MD21 Controller is operative, green LED 1 blinks- If the MD21 Controller fails its self-test procedure, LED 1 does not blink. After the self-test procedure is successfully completed, the MD21 Controller continues with the initialization routine. If the SCSI interface circuits and the 8031 microprocessor are functioning, the MD21 Controller enters the online mode and is available to the...
Page 56
Online Diagnostic Commands As each individual test is performed during the MD21 Controller burn-in mode, a test code is output to the burn-in connector to indicate which component on the MD21 Controller is currently being tested. If an individual test fails, the corresponding test code is output.
SEND DIAGNOSTIC command and executed by the RECEIVE DIAGNOSTIC command. The diagnostic subcommands are listed in Table 6-3 and described in the SEND DIAGNOSTIC COMMAND section of the Emulex SCSI Disk Controller Programming Reference Manual, manual number MD2352501. Table 6-4.
Section 7 INTERFACES OVERVIEW This section describes the interfaces used by the MD21 Controller. It includes information about how the MD21 implements the SCSI bus interface electrical and mechanical requirements, and how it implements the ESDI interface electrical requirements. It also describes the user panel connection and the DC power connection.
SCSI Bus Interface • The maximum cable length allowed is 6 meters (20 feet). The length of the cable located within the FCC compliant subsystem cabinet (that contains the MD21 Controller) is included when calculating the total length of the SCSI bus. The SCSI cable that connects the compliant subsystem cabinet (that contains the MD21 Controller) to the host system must be shielded and properly grounded.
SCSI Bus Interface 7.2.2 SCSI INTERFACE ELECTRICAL DESCRIPTION The MD21 interfaces to SCSI host adapters and other controllers via the SCSI bus. A 50-pin male IDC connector, reference designated J6 on the MD21, plugs directly into the SCSI bus. Component locations for the MD21 are shown in Figure 7-1.
SCSI Bus Interface All assigned signals are terminated with 220 ohms to +5 VDC, or 180 ohms to 4.3 VDC (nominal) and 330 ohms to ground at each end of the SCSI cable as shown in Figure 7-2. + 5 V (NOM) Figure 7-2.
Message Phase These phases are described in more detail in Subsection 5.1 of the Emulex SCSI Disk Controller Programming Reference Manual (manual number MD2352501). When the SCSI bus is not involved in one of the above phases, it is in the Bus Free Phase.
Page 64
SCSI Bus Interface ln Table 7-1, the eight data bit signals are represented by DBO through DB7, where DB7 is the most significant bit and has the highest priority during the Arbitration Phase. Bit number, significance, and priority decrease downward to DBO. The parity, represented by the DBP signal, is always odd.
Page 65
Initiator. Message Indicates the SCSI bus is in the Message Phase. *This condition is described in Section 5 of the Emulex SCSI Disk Controller Programming Reference Manual (manual number MD2352501). Interfaces...
Normally these measurements do not consider delays in the SCSI bus cable. The SCSI command timings are listed and described in Subsection 5.3 of the Emulex SCSI Disk Controller Programming Reference Manual (manual number MD2352501). The timing diagram shown in Figure 7-3, shows the typical relationship between SCSI bus signals and SCSI bus phase sequencing.
SCSI Bus Interface r— BUS SET DELAY Maximum time for an SCSI device to assert BSY and its SCSI ID bit on the data bus after it detects Bus Free Phase. BUS FREE DELAY Minimum time that an SCSI device shall wait from its detection of Bus Free Phase until its assertion of BSY.
Page 69
SCSI Bus Interface "Bus settle delay” - ( ( - - ( L -BSY f - (Busy) - ( ( “ -SEL f . (Select) - ( H (Control/Data) Write peripheral device (Input/Output) -I/O (Request) -REQ ( - (Acknowledge) -ACK ( - (Attention) -ATN f—...
Page 70
SCSI Bus Interface - "Deskew delay" (45 ns) i s ____ (Busy) -BSV $- (Select) -SEL C / D f — -- V 1 . v — V — (Control/Data) 1 I I * I I (Input/Output) (Request) ms____ / i 1 1 ! (Acknowledge) i i i ^ —...
Disk Drive Interface ESDI DISK DRIVE INTERFACE The MD21 Disk Controller interfaces with ESDI disk drives via one 34-line control cable, which is daisy-chained, and one or two 20-line data cables. Table 7-3 lists specifications for each type of cable: Table 7-3.
Disk Drive Interface 7.3.1.2 Input Signal Characteristics When measured at the ESDI device's connection, each signal received by an ESDI device has the following input characteristics: • Signal true = 0.0 VDC to 0.5 VDC • Signal false = 1.4 VDC minimum 7.3.1.3 Termination All assigned signals are terminated with 220 ohms to +5 VDC and 330 ohms to ground at each end of the cable.
Disk Drive Interface FLAT RIBBON OR TWISTED PAIR (3 METERS MAX) CONTROLLER _________ DRIVE -D R IV E SELECTED -C O M M A N D COMPLETE ' -A D D R E S S MARK ENABLE -R E S E R V E D FOR STEP MODE + WRITE CLOCK -W R IT E CLOCK -R E S E R V E D FOR STEP MODE...
Connector J4 on the MD21 (see Figure 7-8) is used to connect the controller to external LEDs and switches that indicate ready and write-protect conditions for each disk drive. On Emulex subsystems, these external LEDs and switches are on a user panel located on the subsystem bezel, as shown in Figure 7-6.
User Panel Connection Table 7-6. Connector J4 Pin Description Function Connection True Ground — Detects DC Power Fail Power Fail High Drive 2 Write Protect Drive 2 Ready LED 3 Drive 1 Write Protect High Drive 1 Ready LED 2 Drive 2 Write Protect LED 1 —...
DC Power Connection 7.4.3 POWER FAIL DETECT SIGNAL Pin 2 on connector J4 is an optional power fail detect signal. This signal allows the MD21 to detect failing DC power. When the signal is asserted (active low), a latch is set. When the MD21 microprocessor senses the latch, it inhibits disk drive activity.
DC Power Connection Table 7-7. Power Supply Connections Description No Connection Ground Ground +5 VDC, + 5%, 1.5 amperes nominal * A RESET occurs if the DC voltage drops to 4.5 or less and an INITIALIZATION sequence occurs when the voltage returns to 4.
It does not diagnose problems with the host adapter, disk drive, or other devices to which the MD21/S2 is connected. If the MD21/S2 does not pass the self-test when it is connected to the other devices in your system, remove the devices and try the self-test again.
Page 82
A. 4 SERVICE The components of your Emulex MD21/S2 Controller have been designed to give years of trouble-free service, and they were thoroughly tested before leaving the factory. If one of the diagnostic procedures described in this manual indicates that a component is not working properly, the MD21/S2 Controller must be returned to the factory, or to an Emulex authorized repair center, for service.
Page 83
Appendix B PROM REMOVAL AMD REPLACEMENT OVERVIEW This appendix provides instructions for replacing the MD21 firmware PROM. EXCHANGING PROMS The MD21 firmware PROM is located in the socket at U9. Pry the existing PROM from its socket using an IC puller or an equivalent tool.
Page 85
Street _______ N am e_____ C ity -------------- T itle ______ State/Country Company__ Zip__________ Department Additional copies of this document are available from: Emulex Corporation 3545 Harbor Boulevard E 0 . Box 6725 Costa Mesa, CA 92626 Attention: Customer Services...
Page 86
NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS PERMIT NO. 202 COSTA MESA, CA POSTAGE WILL BE PAID BY ADDRESSEE EMULEX CORPORATION 3545 HARBOR BOULEVARD PO. BOX 6725 COSTA MESA, CALIFORNIA 92626 ATTN: TECHNICAL PUBLICATIONS...
Address ____________________________________________________________________ C ity_________________ ________________ State_______________________________ _ Z ip ____ PRODUCT INFORMATION EMULEX Product in Use: M D _______ M T _______ IB _______ Top Assembly Number ______________________________________________ ______ Serial Number ________________________________ Date of Purchase........_ Purchased From ______________________________ Sales Engineer_____________________...
Page 88
Include a copy of the program(s) that demonstrates the problem on either hard copy or magnetic media (DOS or FILES 11 format). Please mail the completed form to: EMULEX CORPORATION National Technical Support 3545 Harbor Boulevard...
Need help?
Do you have a question about the MD21/S2 and is the answer not in the manual?
Questions and answers