({A,). MOTOROLA MVME320/D1 ~~

MVME320 VMEbus Disk Controller Module User's Manual

QUALITY • PEOPLE • PERFORMANCE MVME320/Dl

FEBRUARY 1985

MVME320

VMEbus DISK CONTROLLER MODULE

USER'S MANUAL

The information in this document has been carefully checked and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies. Furthermore, Motorola reserves the right to make changes to any products herein to improve reliability, function, or design. Motorola does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights or the rights of others.

The canputer program stored in the Read Only Memory of this device contains material copyrighted by Motorola Inc., first published 1984, and may be used only under a license such as the License For Computer Programs (Article 14) contained in Motorola's Terms and Conditions of Sale, Rev. 1/79.

WARNING

THIS EQUIPMENT GENERATES, USES, AND CAN RADIATE RADIO FREQUEOCY ENERGY AND IF NOT INSTALLED AND USED IN ACCORDANCE WITH THE INSTRUCTIONS MANUAL, MAY CAUSE INTERFERENCE TO RADIO COMMUNICA­ TIONS. IT HAS BEEN TESTED AND FOUND TO COMPLY WITH THE LIMITS FOR A CLASS A COMPUTING DEVICE PURSUANT TO SUBPART J OF PART 15 OF FCC RULES, WHICH ARE DESIGNED TO PROVIDE REASONABLE PROTOCTION AGAINST SUCH INTERFERENCE WHEN OPERATED IN A COMMERCIAL ENVIRONMENT. OPERATION OF THIS EQUIPMENT IN A RESIDENTIAL AREA IS LIKELY TO CAUSE INTERFERENCE IN WHICH CASE THE USER, AT HIS OWN EXPENSE, WILL BE REQUIRED TO TAKE WHATEVER MEASURES NECESSARY TO CORRECT THE INTERFERENCE.

First Etlition

Copyright 1985 by Motorola Inc. SAFETY SUMMARY SAFETY DEPENDS ON YOU

The lollowlng generalsalety precautions must be observed during all phases 01 operation, service, and repair 01 this equipment. Failure to comply with these precautions or with speclllc warnings elsewhere In this manual "/o/ates salety standards 01 design, manulacture, and Intended use 01 the equipment. Motorola Inc. assumes no liability lor the customer's lallure to comply with these requirements. The salety precautions listed below represent warnings 01 certain dangers 01 which we are aware. You, as the user 01 the product, should lollow these warnings and all other salety precautions necessary lor the sale operation 01 the equipment In your operating en"'ronment.

GROUND THE INSTRUMENT. To minimize shock hazard. the equipment chassis and enclosure must be connected to an electrical ground. The equipment is supplied with a three-conductor ac power cable. The power cable must either be plugged into an approved three-contact electrical outlet or used with a three-contact to two-contact adapter. with the grounding wire (green) firmly connected to an electrical ground (safety ground) at the power outlet. The power jack and mating plug of the power cable meet International Electrotechnical Commission (IEC) safety standards.

DO NOT OPERATE IN AN EXPLOSIVE ATMOSPHERE. Do not operate the equipment in the presence of flammable gases or fumes. Operation of any electrical equipment in such an environment constitutes a definite safety hazard.

KEEP AWAY FROM LIVE CIRCUITS. Operating personnel must not remove equipment covers. Only Factory Authorized Service Personnel or other qualified maintenance personnel may remove equipment covers for internal subassembly or component replacement or any internal adjustment. Do not replace components with power cable connected. Under certain conditions. dangerous voltages may exist even with the power cable removed. To avoid injuries. always disconnect power and discharge circuits before touch.ing them.

DO NOT SERVICE OR ADJUST ALONE. Do not attempt internal service or adjustment unless another person. capable of rendering first aid and resuscitation. is present.

USE CAUTION WHEN EXPOSING OR HANDLING THE CRT. Breakage of the Cathode-Ray Tube (CRT) causes a high-velocity scattering of glass fragments (implo­ sion). To prevent CRT implOSion. avoid rough handling or jarring of the equipment. Handling of the CRT should be done only by qualified maintenance personnel using approved safety mask and gloves.

DO NOT SUBSTITUTE PARTS OR MODIFY EQUIPMENT. Because of the danger of introducing additional hazards. do not install substitute parts or perform any unauthorized modification of the equipment. Contact Motorola Microsystems Warranty and Repair for service and repair to ensure that safety features are maintained.

DANGEROUS PROCEDURE WARNINGS. Warnings. such as the example below. precede potentially dangerous procedures throughout this manual. Instructions contained in the warnings must be followed. You should also employ all other safety precautions which you deem necessary for the operation of the equipment in your operating environment. WARNING

Dangerous voltages, capable of causing death, are present In this equipment. Use extreme cauUon when handling, t.stlng, and adjusting. PREFACE

Unless otherwise specified, all address references are in hexadecimal throughout this manual.

An asterisk (*) following the signal name for signals which are level significant denotes that the signal is true or valid when the signal is low.

An asterisk (*) following the signal name for signals which are edge significant denotes that the actions initiated by that signal occur on a high to low transition.

Signal names in parentheses denote internal module (onboard) signals. TABLE OF CONTENTS

CHAPTER 1 GENERAL INFORMATION

1.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 1-1 1.2 FEATURES ••••••••••••••••••••••••••••••••••••••••••••••••••• 1-1 1.3 SPEX:::IFICATIONS •••••••••••••••••••••••••••••••••••••, •••••••• 1-3 1.4 GENERAL DESCRIPTION •••••••••••••••••••••••••••••••••••••••• 1-3 1.5 APPLICATIONS ••••••••••••••••••••••••••••••••••••••••••••••• 1-5 1.6 REE'ERENCE .MANUALS •••••••••••••••••••••••••••••••••••••••••• 1-5

CHAPTER 2 HARDWARE PREPARATION AND INSTALLATION INSTRUCTIONS

2.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 2-1 2.2 UNPACKING INSTRUCTIONS ••••••••••••••••••••••••••••••••••••• 2-1 2.3 HARDWARE PREPARATION ••••••••••••••••••••••••••••••••••••••• 2-1 2.3.1 PROM Size (JWO) ...... 2-1 2.3.2 Interrupt Level (JWl and JW2) ...... 2-3 2.3.3 Arbitration Level (JW3 arrl JW4) ...... 2-4 2.3.4 Address Modifier (JW5) ...... 2-5 2.3.5 ~ory Mapping (JW6) ...... 2-5 2.4 INSTALLATION CONSIDERATIONS •••••••••••••••••••••••••••••••• 2-6 2.5 CABLING •••••••••••••••••••••••••••••••••••••••••••••••••••• 2-7 2.5.1 System Configuration ••••••••••••••••••••••••••••••••••••• 2-7 2.5.2 Floppy Disk cabling •••••••••••••••••••••••••••••••••••••• 2-10 2.5.3 Examples of Tennination on 5 1/4-inch Hard Disk •••••••••• 2-11

CHAPTER 3 FUNCTIONAL DESCRIPTION

3.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 3-1

CHAPTER 4 REGISTERS

4.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 4-1 4.2 EVENT CONTROL AREA REGISTERS (REGISTERS 1-7) ••••••••••••••• 4-2 4.3 INTERRUPT VECTOR REGISTER (REGISTER 9) •••••••••••••••••••••• 4-3 4.4 INTERRUPT SOURCE REGISTER (REGISTER B) ••••••••••••••••••••• 4-3 4.5 DRIVE STATUS AND CONFIGURATION REGISTER (REGISTER D) ••••••• 4-3

CHAPTER 5 EVENT CONTROL AREA

5.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 5-1 5.2 ECA FIELDS ••••••••••••••••••••••••••••••••••••••••••••••••• 5-1 5.2.1 Cormnarrl Code (1 byte) ...... 5-1 5.2.2 Main Status (1 byte) ...... 5-1 5.2.3 Exterrled Status (2 bytes) ...... 5-4 5.2.4 Maximum Number of Retries (1 byte) ...... 5-4 5.2.5 Actual Number of Retries (1 byte) ...... 5-4 5.2.6 DMA Type (1 byte) ...... 5-4 5.2.7 Cormnarrl Options (1 byte) ...... 5-5

i TABLE OF CONTENTS (cont' d)

5.2.8 Buffer Address (4 bytes) ...... 5-5 5.2.9 Buffer IeDJth Request~ (2 bytes) ...... 5-5 5.2.10 Actual Number of Bytes Transferr~ (2 bytes) ••••••••••••• 5-5 5.2.11 Physical Starting Sector Number (4 bytes) •••••••••••••••• 5-6 5.2.12 CUrrent Cyliooer (2 bytes) ...... 5-6 5.2.13 Reserv~ (10 bytes) ...... ••.....• 5-6 5.2.14 Disk Track Format Fields (8 bytes) ••••••••••••••••••••••• 5-6 5.2.15 Reserv~ (6 bytes) ...... 5-6 5.2.16 Disk Control Fields (40 bytes) ...... 5-6

CHAPTER 6 6.1 INTRODUCTION ...... 6-1 6.2 COMMAND DESCRIPTION •••••••••••••••••••••••••••••••••••••••• 6-2 6.2.1 Recalibrate to Track zero (CALB) ...•..•...••..•...•.••.•• 6-2 6.2.2 Read Multiple Sector with ]mpli~ Seek (REMS) •••••••••••• 6-3 6.2.3 write Multiple Sector with ]mp1ied Seek (WRMS) ••••••••••• 6-3 6.2.4 Fbnnat a Track with ]mp1i~ Seek (FORM) •••••••••••••••••• 6-3 6.2.5 write with Deleted Data (WRDD) ...... •...... •...... 6-4 6.2.6 Veri fy (VER) 6-4 6.2.7 Transparent Sector Read (TSR) 6-4

CHAPTER 7 ERROR CORROCTION

7.1 IN'I'RODtJC'rION ••••••••••••••••••••••••••••••••••••••••••••••• 7-1 7.2 GENERAL DESCRIPTION •••••••••••••••••••••••••••••••••••••••• 7-1

CHAPTER 8 DISK TRACK FORMAT

8.1 INTRODtJC'rION ••••••••••••••••••••••••••••••••••••••••••••••• 8-1 8.2 BAD SECTOR HANDLING •••••••••••••••••••••••••••••••••••••••• 8-3 8.3 OCA TRACK FORMAT FIELDS •••••••••••••••••••••••••••••••••••• 8-4 8.4 DESCRIPTION OF FORMAT P~ERS ••••••••••••••••••••••••••• 8-5

CHAPTER 9 SYSTEM OPERATION

9.1 INTRODtJC'rION ••••••••••••••••••••••••••••••••••••••••••••••• 9-1 9.2 MVME320 INITIALIZATION ••••••••••••••••••••••••••••••••••••• 9-1 9.3 STATUS ON RESET •••••••••••••••••••••••••••••••••••••••••••• 9-1 9.4 HOST INITIALIZATION •••••••••••••••••••••••••••••••••••••••• 9-1 9.5 ECA FIELD TYPES •••••••••••••••••••••••••••••••••••••••••••• 9-2 9.5.1 OCA Formats •••••••••••••••••••••••••••••••••••••••••••••• 9-2 9.5.2 Drive Cbntrol Parameters ••••••••••••••••••••••••••••••••• 9-2 9.5.3 Oommand Execution Parameters ••••••••••••••••••••••••••••• 9-2 9.5.4 COmmand Status ••••••••••••••••••••••••••••••••••••••••••• 9':'3 9.6 StJl-1MAR.y •••••••••••••••••••••••••••••••••••••••••••••••••• •• 9-3

ii TABLE OF CONTENTS (cont'd)

CHAPTER 10 SCHEDULER COOCEPTS

10.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 10-1 10.2 RESOUOCES •••••••••••••••••••••••••••••••••••••••••••••••••• 10-1 10.3 LOGICAL OPERATIONS ••••••••••••••••••••••••••••••••••••••••• 10-2 10.4 COMMAND INITIATION ••••••••••••••••••••••••••••••••••••••••• 10-2 10.4.1 New Command Requests ••••••••••••••••••••••••••••••••••••• 10-3 10.4.2 validity Checks for New Commands ••••••••••••••••••••••••• 10-3 10.5 MVME320 DISK DRIVE CONTROLS •••••••••••••••••••••••••••••••• 10-3 10.5.1 positioning Operations ••••••••••••••••••••••••••••••••••• 10-4 10.5.2 Read~ite Operations •••••••••••••••••••••••••••••••••••• 10-5 10.5.3 New Command During Active Read~ite ••••••••••••••••••••• 10-6 10.5.4 DMA Transfers •••••••••••••••••••••••••••••••••••••••••••• 10-6 10.6 DISK WRITE I/O FOR FORMAT COMMANDS ••••••••••••••••••••••••• 10-7 10.7 COMMAND TERMINATION •••••••••••••••••••••••••••••••••••••••• 10-7

CHAPTER 11 MAINTENANCE

11.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 11-1 11.2 PREVENTIVE MAINTENAOCE ••••••••••••••••••••••••••••••••••••• 11-1 11.3 CORRECTIVE MAINTENANCE ••••••••••••••••••••••••••••••••••••• 11-1

CHAPTER 12 SUPPORT INFORMATION

12.1 INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••• 12-1 12.2 CONNECTOR PIN SIGNALS •••••••••••••••••••••••••••••••••••••• 12-1 12.3 PARTS LISTS •••••••••••••••••••••••••••••••••••••••••••••••• 12-1 12.4 SCHEMATIC DIAGRAMS ••••••••••••••••••••••••••••••••••••••••• 12-1

APPENDIX A DISK FORMATS ••••••••••••••••••••••••••••••••••••••••••••••• A-I APPENDIX B DISK INTERFACE CONNECTOR PIN ASSIGNMENTS ••••••••••••••••••• B-1 APPENDIX C ECA BLOCK TABLES ••••••••••••••••••••••••••••••••••••••••••• C-l APPENDIX D PROGRAMMING CONCEPTS AND SEQUENCE •••••••••••••••••••••••••• 0-1

iii TABLE CF CONTENTS (cont'd)

LIST OF ILLUSTRATIONS

FIGURE 1-1. MVME320 Disk Controller Module •••••••••••••••••••••••••••• 1-2 2-1. Hard aoo Floppy Disk Dr i ve Connections to the MVME320 ••••• 2-7 2-2. Connections to Floppy Disks Only •••••••••••••••••••••••••• 2-8 2-3. Floppy Disk Cabling ••••••••••••••••••••••••••••••••••••••• 2-9 3-1. MVME320 Block Diagram ••••••••••••••••••••••••••••••••••••• 3-1 4-1. Internal Registers •••••••••••••••••••••••••••••••••••••••• 4-1 4-2. Internal Register Address ••••••••••••••••••••••••••••••••• 4-2 5-1. ECA Block FbDmat •••••••••••••••••••••••••••••••••••••••••• 5-2 12-1. MVME320 Parts Location Diagram •••••••••••••••••••••••••••• 12-9 12-2. MVME320 Schematic Diagram (6 Sheets) •••••••••••••••••••••• 12-11

LIST OF TABLES

TABLE 1-1. MVME320 specifications •••••••••••••••••••••••••••••••••••• 1-3 2-1. As-shipped Factory Jumper Header Configurations ••••••••••• 2-2 8-1. SUmmary of Fonnat Parameters •••••••••••••••••••••••••••••• 8-2 8-2. Track Fbnnat Definitions aoo Abbreviations •••••••••••••••• 8-6 12-1. Connector Pl Signals •••••••••••••••••••••••••••••••••••••• 12-1 12-2. MVME320 Parts List •••••••••••••••••••••••••••••••••••••••• 12-4

iv ClfAPTER 1 GENERAL INFO~TION I 1.1 INTRODUCTION This manual describes the Motorola MMME320 Disk Controller Module. The MMME320 interfaces to irrlustry-standard Winchester disk drives (such as the Seagate ST506 and Shugart SAlOOO) and floppy disk drives (5 l/4-inch and 8-inch). The manual includes a general description, specifications, hardware preparation and installation instructions, arrl a functional description. A typical module is shown in Figure 1-1.

1.2 FEATURES 'Ihe features of the MMME320 include: • Combined control for hard arrl floppy disk drives • Winchester disk interface (SAlOOO and ST506) • Supp::>rts MEM arrl FM recording • Soft sector • CYlirrler number: 8- or l6-bit • Programmable hard-disk format • Starrlard IBM formats • Multiple-sector read/write • Implied seek • Error correction up to 11 bits • 32-bit BeC code • Serial data rates up to: 5 megabits/sec (starrlard) 8 megabits/sec (optional) • Self diagnostics • Automatic bad-sector harrlling • Single-phase read arrl write clocks • 8-bit register transfer, l6-bit DMA data transfer • High-level commarrls • 24-bit host address and 6-bit address modifier • VMEbus-canpatible

1-1 •

..... I '"

AMP 1-184354-4

FIGURE 1-1. MVME320 Disk Controller Module 1.3 SPECIFICATIONS The MVME320 is a VMEbus-canpatible module. The specifications (which are subject to change without notice) are given in Table 1-1. I Table 1-1. MVME320 Specifications

CHARACTERISTIC SPECIFICATIONS

Physical characteristics Height 5.4 inches (137 mm) width 10.0 inches (254 mm) Thickness 0.5 inches (12.7 mm) Power requirements 2.6A typical (3 A max.) at +5 Vdc 20 rnA typical (30 rnA max.) at +12 Vdc/-12 Vdc

Operating temperature 00 C to 500 C ambient max.

Storage temperature -400 Cto 850 C ambient max. Relative humidity 0% to 90% (noncondensing) Altitude o ft. to 10,000 ft. Serial data rate 5 megabi ts/second max. Configuration

IJI'B master Slots A24, 016 DTB slave Slots A24, 08

1.4 GENERAL DESCRIPTION The MVME320 is a dual-height module that provides the traditional and advanced features requirErl to control Winchester-type hard disk drives and floppy disk drives. It can control up to four disk drives (up to two hard disk drives or up to four floppy disk drives) in many combinations.

The MVME320 supports single- am double-densi ty (FM am MFM) recordings on floppy disk drives, am double-density (MFM) recording on hard disk drives.

• IBM 3740 single-density format (FM) • IBM System 34 double-densi ty format (MFM) • Hard disk format The controller is programmable using high-level commands over the VMEbus. The (DMA) data transfer on the host bus is l6-bit in parallel at one megabyte/second. The MVME320 is capable of harrlling serial data rates up to five megabits/secom over the disk drive interface.

1-3 The disk interface consists of two sections: • Input am output ports that sense am generate "slow changing" or static I control signals • • Serial data Input/Output (I/O) and high-speed disk control. Because both sections are controlled by a fast internal microprocessor (8X305), the MVME320 is able to control a variety of different disk types and media formats. The host systan ccmnunicates wi th the MVME320 through Event Control Areas (ECA's) which reside in systan manory. An ECA parameter block is set up for each disk drive (up to four) to be controlled. These areas contain information required by the MVME320 to execute disk ccmmams. This information includes data about the requested ccmnam and the disk drive. DMA operations are defined by the ECA description of the ccmmam. The MVME320 contains seven internal 8-bit registers. The host systan requests an operation using these registers. Registers 1, 3, 5, and 7 are loaded with the 24-bit address of the pointer to the ECA parameter block to be acted upon. Ccmnam execution does not start until drive availability is determined. The MVME320 provides a global sanaphore that can be used for this purpose. After a ccmnand is accepted for execution, no further interaction between the host processor am the MVME320 need occur until the carunam is canpleted. See Figure 4-1 for the register formats. The MVME320 microprogram uses the data contained in the ECA block to generate disk interface signals am perform the requested drive I/O. Data transfers to and fran floppy disks are executed in real-time (with 2-byte buffering). Data transfers to am fran Winchester drives are buffered on a sector basis.

Pr ior to informin;J the host of a canmam canpletion, the MVME320 wri tes the return status information to the appropriate ECA block manory. Then the host is informed of canpletion of a ccmmand by an interrupt request signal fran the MVME320. On interrupt service, the host reads the interrupt vector number fran the internal vector number register on the data bus.

1-4 1.5 APPLICATIONS Examples of MVME320-campatible drives: • 8-inch hard disk drives: I Shugart SAIOOO series Quantum Data Peripherals

• 5 l/4-indh hard disk drives: Seagate ST506, ST512, ST406, ST412 Shugart SA600 RMS 500, 506, 512 'lamon International Memories Inc

• 8-inch floppy disks: Shugart SABOO, SABOl, SA810, SAB50

• 5 l/4-inch disks: Shugart SA400, SA410, SA450

1.6 REFEREt-CE MANUAlS

The following manuals are applicable to MVME320.

MVMEBS VMEbus Specification Manual MVME702 MVME702 Disk Interface Module User's Manual

1-5/1-6

OiAPl'ER 2

HAlUVARE PREPARATION AND -INSTALLATION INSTRUCTIONS

2.1 INTRODUCTION

This chapter provides unpackiDJ, hardware preparation, am installation instructions for the MVME320. I

2.2 UNPACKING INSTRUCTIONS NOTE

If shippiDJ carton is damaged upon receipt, request carrier's agent be present during unpackiDJ am inspection of module (s) •

Unpack the MVME320 fran its shippiDJ carton. Refer to packiDJ list am verify that all i terns are present. Save packiDJ material for storing am reshippiDJ of the module.

CAUTION

AVOID TOUCHING ARFAS OF INTEGRATED CIRCUITRY; STATIC DISCHARGE CAN DAMAGE CIRCUITS.

2.3 HAlUVARE PREPARATION

The MVME320 contains the followiDJ jumper-selectable configuration options. The as-shipped factory jumper header configurations are listed in Table 2-1. Jumper hecrler locations are shown in Figure 2-1.

2.3.1 PROM Size (JWO)

Pennanently installED at the factory, this jumper is used to select either 2K x 8 or 4K x 8 PROM's for control store. Typically, 4K x 8 PROM's are used.

Location K6

JWO o o o 0--0 Default = 4K x 8 PROM'S I: 2 3 4 5 6

2-1 •

JI J2 J3

JW2 D

tv I JWO tv

JW5 JWI JW3 ~L_JW_4_..., JW6 Dr-I ------,

P2 PI

FIGURE 2-1. MVME320 Jumper Header Locations TABLE 2-1. As-Shipped Factory Jumper Header Configurations

JUMPER INITIAL FACTORY HEADER JUMPER PLACEMENT

JWO 5-6 JWl 3-8 JW2 2-5, 3-6 JW3 1-2 JW4 1-9, 2-10, 3-4, 5-6, 7-8 JWS 2-3 • JW6 1-2, 3-4, 9-10

2.3.2 Interrupt Level (JWl and JW2)

Interrupt level selection is accomplished at jumpers JWl (IRQ) and JW2 (IACK).

Interrupt Level JWl (IRQ) JW2 (IACK)

LEVEL PINS 1-4 PINS 2-5 PINS 3-6 (highest) 6 8-6 (highest) 6 ON ON OFF 5 8-5 5 ON OFF ON 4 8-4 4 ON OFF OFF (default) 3 8-3 (default) 3 OFF ON ON 2 8-2 2 OFF ON OFF (lowest) 1 8-1 (lowest) 1 OFF OFF ON

Location Dl

JWl o 0 o o Default = IRQ Level 3 1 2 3 4 5 6 7 8

Location EIO

456

o JW2 Default = IACK Level 3 o I I 123

2-3 2.3.3 Bus Arbitration Level (JW3 and JW4)

Bus arbitration priority level is selected at junpers JW3 (BtE REQUEST) arx3 JW4 (BUS GRANT) •

Bus Priority JW3 JW4 Level (BUS REQ) (BUS GRANT) I (highest) 3 1-2 10-2 9-1 (DEFAULT) 2 1-3 10-4 9-3 1 1-4 10-6 9-5 (lowest) 0 1-5 10-8 9-7

Location Cl

JW3 0---0 0 0 0 Default = BUS REQ Level 3 12345

Location Bl

9 10 Default = JW4 BUS GRANT r r 0--0 Level 3 1 234 5 6 7 8

NOTE Placing the module in a slot closer to slot 1 will result in a higher priority within a given pr iori ty level.

2-4 2.3.4 Address Modifier (JW5) The address modifier is se1ecterl at jumper JW5.

To Select Jumper Address Modifier Irrlicating Pins

(29 or 20) hex User or Supervisor 2-3 (DEFAULT) only 20 hex SUpervisor only 1-2

Location K1

JW5 Default = (29 or 20) hex (User or Supervisor access) o 1

2.3.5 Memory Mapping (JW6) Memory mapping in 1K-byte pages is done at jumper JW6, where address bits are set by: jumper inserterl = 0, jumper de1eterl = 1.

Address Bit Pins 10 1- 2 11 3- 4 12 5-6 13 7- 8 14 9-10 15 11-12

Location HI A15 A14 A13 A12 All A10

JW6 0 0 0--0 0 0 0 0 0--0 0--0

12 11 10 9 8 7 6 5 4 3 2 1

Default = 101100

2-5 2.4 INSTALLATION CONSIDERATIONS

This manual should be read and understood prior to installing the MVME320.

WARNING

WHEN HANDLI~ OR TRANSroRTI~ THE MVME320, CARE MUST BE TAKEN TO AVOID STATIC DISCHARGE DAMAGE TO THE INTEGRATED CIRCUITS ON THE MODULE. (l)ND£JCrlVE MATERIALS SUCH AS ALUMINUM FOIL OR SPECIALLY TREATED FOAM IN (l)NTACT WITH THE SOLDER-SIDE SURFACE

a. Unpack the module and inspect it for signs of damage.

b. Be sure that socketed IC's are fully seated in their sockets. c. Make sure that adequate cooling is provided so that an ambient temperature of SOOC will not be exceeded. d. Ensure that the specifications outlined in paragraph 1.3 of this manual can be handled by the user's systan. e. Provide adequate grounding. It is important that the chassis ground is interconnected (e.g., drives, enclosure), and wired to the signal ground in one place only, typically at the power supply.

f. Plug in the MVME320 making sure that it is fully seated in its connector.

CAUTION

THE MVME320 SHOULD NEVER BE REMOVED OR INSERTED WHILE POWER IS ON OR DAMAGE TO THIS UNIT MAY RESULT.

2-6 2.5 CABLI~ System configurations, floppy disk cabling, am examples of tennination on 5 l/4-inch hard disks is presented in the following sections.

2.5.1 System Configurations

A maximum of four drives can be attached to the MVME320 at one time; they may be a mixture of hard and floppy drives, with certain restrictions.

All drives connected to the MVME320 must be soft-sectored. • '!he MVME320 supports single- am double-sided (single- am double-density) disks.

Up to two hard disks may be attached to MVME320 am they must both be either 8-inch or 5 l/4-inch drives. Crystal Yl must be 10 MHz (shipped as stamard) for 5 1/4-inch hard disks, or 8.64 MHz for 8-inch hard disks.

As shown below, connector J3 is the 50-pin hecrler-type that connects all drives in a daisy-chain configuration. '!his connector carries control am data infonnation for the floppy disk drives am control infonnation only for the hard disk drives. Maximum cable length should' not exceed 10 feet (3m). If using the MVME320 with the MVME702, refer to the MVME702 user's manual for cable interface. If using double-sided floppy drives, isolate the "two-sided" status bit fran the cable. Refer to the user's manual covering the drive. When using the MVME320 without the MVME702, pins 4 am 8 on the 5 1/4-inch floppy disk interface need to be altered to move the signal fran pin 4 to pin 8. This may be accanplished with a cable modification or by modifying the disk drive. Note that these modifications are unnecessary when using the MVME702. Connectors Jl and J2 are 2o-pin header-type connectors used to radially connect data lines fran the hard disks to the controller. Maximum cable length should not exceed 20 feet (6 m). Cables for connectors Jl, J2, and J3 should be kept as short as possible. See Figure 2-1 to connect hard am floppy disks to the MVME320.

2-7 8-INCH 8-INCH 8-INCH 8-INCH SO-PIN CABLE SO-PIN CABLE FLOPPY SO-PIN CABLE FLOPPY HARD OR HARD OR A A A ~ OR . OR 5-1/4-INCH ., 5-1/4-INCH II s-1/4-INCH 5-1/4-INCH ...,. HARD ~ HARD ... v ~ FLOPPY FLOPPY DISK (1) DISK DISK DISK

~ 11 20-PIN CABLE 2O-PIN CABLE 50-PIN CABLE (20 FEET MAX.)

w ,..r-' J:Lr~ II J2 I J3 I

MVME320

.II rt lI(- P2 P1 -? NOT USED VMEbus NOTES: (1) Only the em of each signal line (typically on the last drive) requires tennination. 2. In the above illustration, one or two floppies am one or two hard disks may be attacherl (daisy-chainerl) (e.g., two SAIOOO am two SA850 disk drives). The 5 1/4-inch hard disk uses the first 34 lines (1-34) of the 50-pin cable, while the 5 1/4-inch floppy - disk uses the last 34 lines (17-50). 3. The MVME702 is a disk interface module that perfoDnS signal switching am provides stamard disk cable connections for different drives. When using the MVME702, refer to the MVME702 user's manual for cable configuration.

FIGURE 2-1. Hard am Floppy Disk Drive Connections to the MVME320

2-8 See Figure 2-2 to connect floppy disks only. (Refer to paragraph 2.5.2 for the actual cabling infonnation.)

8-INCH 8-INCH 50-PIN CABLE SO-PIN CABLE S-1/4-INCH OR OR A A .. FLOPPY S-l/4-INCH S-1/4-INCH ~ DISK I V FLOPPY ./ FLOPPY ~ (MINI) (2) DISK (1) DISK "

16-PIN CABLE 34-PIN CABLE

50-PIN CABLE (20 FEET MAX.) r I J1 II J2 I J3 I

MVME320

..If \1 lr;' P2 P1 -? NOT USED VMEbus

NOTES:

(1) Only the end of each signal line requires tennination. FOr systems mixing 5 1/4-inch and a-inch drives, this can be accanplished by using an a-inch drive as the last drive installed and tenninating all signal lines on that drive. (2) FOr mini-floppy disk (pins 17-50), the cable will have a 34-pin connector spliced into the upper side of the 50-pin cable. 3. Pin 50 of the 50-pin cable connects to pin 34 at the 5 1I4-inch floppy . The 5 1/4-inch floppy uses only the upper 34 pins of the 50-pin cable (pins 17-50). 4. The MVME702 is a disk interface module that perfoIIns signal switching and provides standard disk cable connections for different drives. When using the MVME702, refer to the MVME702 user's manual for cable configuration.

FIGURE 2-2. Connections to Floppy Disks O1ly

2-9 2.5.2 Floppy Disk cabling

NOTE Disregard this section if using the MVME702 Disk Interface Module.

To avoid delays caUSED by head-settling times or motor-on delay periods, the MVME320 uses the signal line 50 to radially load heads on all 8-inch floppies I and turn the motor-on for all 5 1/4-inch floppy disk drives every tUne an access is made on any of the floppy drives. This increases throughput substantially during copying between floppy drives. Therefore, it is necessary to modify either the radial cable (J3) or the drives as shown in Figure 2-3.

50 PIN CONNECTOR FOR 34 PIN CONNECTOR FOR 8" FLOPPIES 5-1/4" FLOPPIES

LINE 50 NEW HEAD-LOAD NEW MOTOR-ON

18 LINE 32 16 ~.w~<

LINE 24 lx/STEP 8

LINE 20 INDEX 4

2

LEGEND:

--M- DENOTES CUT

FIGURE 2-3. Floppy Disk Cabling

2-10 2.5.3 Examples of Tennination on 5 l/4-inch Hard Disk When using a 5 l/4-inch disk drive in configurations including 8-inch floppy disks on the hard disk, disconnect tenninators on the following signals: DIRECl'ION by lifting pins on the tenninator resistor network IC on the hard disk drive. Delete Pins • IMI 50xx •••••••••••••••••••• 9, 10, 12 ST4xx •••••••••••••••••••••••• 2, 3, 11 ST506 •••••••••••••••••••••••• 8, 9, 11 MINISCRIBE II (Mbd#2006) •••• 1, 11, 12

Always consult the disk manufacturer's manual, andcampare signal positions on connector Jl. Each signal should be terminated only once at the physical end of the line.

If a good description or schenatic is n9t available, use a signal-continuity meter to find the corresponding terminator pin for each connector Jl signal pin.

2-11/2-12

OiAPTER 3

FUNCTIONAL DESCRIPTION

3.1 INTRODucrION

This chapter presents more detailed information about the MVME320 logic operation. Figure 3-1 shows a simplified functional block diagram of the MVME320.

The MVME320 logic is functionally divided as follows:

a. 8X30S MICROPROCESSOR -- executes the microprogram (in the 4K x 24 ROM) at 2S0-nsec instruction time. The MVME320 uses main SYSCLOCK 16 MHz divided • by 2. The 8X30S processes commands and data from the host via the VME­ bus, and controls the disk that will perform the user-selected operation. It also returns the result and status bytes to the host in the Event Cbn­ tro1 Area (OCA) table after the operation is complete.

b. MICROPROGRAM MEMORY -- The 4K x 24 ROM memory which stores the control microprogram that is executed by the 8X30S microprocessor.

c. DISK I/O PORTS - Cbntrols slow disk operations (e.g. , stepping) as directed by the 8X30S.

d. VMEbus I/O PORTS - Interfaces with the host systan using VMEbus I/O operation. This block has an I/O address comp:lrator, control signal receivers, 8-bit data receivers/drivers and control logic.

e. BUFFER MEMORY (lK x 8 PAM) - Used both as a disk sector buffer and as scratchp:ld manory for MVME320 internal operations.

f. SERDES (i.e., SERIALIZE~DESERIALIZER)-- Disk data transfers are performed serially. The SERDES serializes data to be written to the disks and deserializes data received from the disks. The SERDES generates and checks CRC code. The SERDES also contains an error recovery or "watchdog" circui t that monitors for timely completion of various disk operations effected by the MVME320. If the specified disk operation was unsuccessful wi thin the expected time, the MVME320 repeats the same operation up to the specified retry number times.

g. PHASE LOCK LOOP (PLL) -- '!he PLL circuit is a multifrequency data sep:lrator. The use of PLL assures reliable data recovery from the disk and accurate data writing to the disk.

h. MULTIPLEXER - This circuit multiplexes I/O data from the disk units attached to the MVME320 to the PLL circuit.

i. AC FAIL SIGNAL MONITOR - '!he microprogram monitors this signal using a sampling period <200 usec. Upon power-fail detection, all active disk drives are inmediately deselected to protect drives, disk medium, and data.

3-1 •

MICROPROGRAM MEMORY (4K X 24)

11 16

8X305 AC MICROPROCESSOR FAIL (250 NSEC PER SIGNAL INSTRUCTION) MONITOR

8X305 INTERNAL BUS & CONTROL LINES DATA I/O HARD DISK 1 J1

DATA 110 PHASE HARD DISK 2 LOCK SERDES VMEbus I/O DISK J2 MULTIPLEXER LOOP (SEE PORTS FOR 110 (PLL) NOTE) REGISTERS PORTS DATA I/O FLOPPY DISK J3

DMA MEMORY MODULE CHANNEL J3 (lK X EDGE FOR DATA & 8 RAM) CONNECTOR COMMANDS (P1)

NOTE: SerializerjDeserializer, with watchdog circuits.

FIGURE 3-1. MVME320 Block Diagram OfAPl'ER 4

REX;ISTERS

4.1 INTRODUC'rION

The MVME320 is a Direct Manory Access (DMA) transfer orientErl device; only minimal control information neErls to be transferrErl between the I/O and the seven internal registers. Figure 4-1 shows the foonat of the internal registers; each is 8-bits wide. 'Ihe addresses for the internal registers are shown in Figure 4-2. 'Ihe registers reside on the low-order data bus (00-07); therefore, their effective address is always an odd value ranging from 1 to 0 (hex) • Each register is referrErl to by its address (e.g., register D). 'Ihe contents of the internal registers control the command execution. The following paragraphs describe the contents and foonat of each register. bit 7 bit 0 • LEAST SIGNIFICANT BYTE OF THE 1 ADDRESS OF ECA POINTERS

SECOND LEAST SIGNIFICANT BYTE OF THE 3 ADDRESS OF ECA POINTERS

MIDDLE SIGNIFICANT BYTE OF THE 5 ADDRESS OF ECA POINTERS

MOST SIGNIFICANT BYTE OF THE 7 ADDRESS OF ECA POINTERS UNUSED (0 DUE TO 24-BIT ADDRESS LIMIT) INTERRUPl' VECTOR 9 (SUPPLIED TO HOST ON INTERRUPl' ACKNCMLEDGE)

DR4 DR3 DR2 DR1 N/D N/D N/D N/D Interrupt B SRC SRC SRC SRC Source Status

DR4 DR3 DR2 DRl NjD NjD NjD 8/16 Drive o BUSY BUSY BUSY BUSY BIT Status/Configuration (1)

F

NOTE: (1) IgnorErl.

Figure 4-1. Internal Registers

4-1 Register A3 A2 Al DS1* DSO* ------1 0 0 0 1 0 ------3 0 0 1 1 0 --- 5 0 1 0 1 0 ---- 7 0 1 1 1 0 --- ._------9 1 0 0 1 0 --- B 1 0 1 1 0 ------D 1 1 0 1 0 ------

Figure 4-2. Internal Register Address

4.2 EVENT CONTROL AREA REGISTERS (REGISTERS 1-7) These registers are read/write registers containing the 24-bit address of the Event Control Area (ECA) pointers. The least significant bit and the most significant byte of the address are not used by the MVME320. These registers are cleared by RESET to 00. The host subsequently initializes these registers by writing a pointer value to them before issuing a canmarrl. This imicates to the MVME320 the location of the ECA pointer table in the system memory. The ECA pointer table consists of four long-word addresses that imicate the location of the four ECA control blocks. The addresses are arranged in asceming order by drive number. Register 7 contains the most significant byte of the address am register 1 the least significant byte.

NOTE Since the least significant address bit is not used, the effective address for the pointer table in registers 1-7 has to be the actual address divided by 2 (shifted 1 bit to the right) • Example: pointer table address: OOC1234 address in registers: 006091A

The host system must not modify ECA information after the canmam is issued am before the corresporxHng interrupt is received.

4-2 The ECA pointer table can be represented as: 31 o

ECAO ECAI ECA2 ECA3

4.3 INTERRUPr VECTOR REGISTER (REx:;ISTER 9) The contents of this register is presented to the host system during the interrupt­ acknowledge cycle. The register is initialized to the value OFH by a reset of the MVME320. This register contains the global interrupt vector assigned by the host system.

4.4 INTERRUPr SOURCE REGISTER (REGISTER B) The four most significant bits of this register, one for each drive (Drl-4), are used to indicate which drive is the source of an interrupt. The reset signal initializes all four bits to 0, indicating that all four drives are inactive and none of them has initiated an interrupt. When the MVME320 interrupts the host, it indicates which drive has caused the interrupt by setting the interrupt source bit in this register. When the host services the interrupt, it resets the interrupt bit by resetting the corresponding busy bit(s) in register D.

4.5 DRIVE S~TUS AND CONFIGURATION REGISTER (REx:;ISTER D) The host can activate a drive by settiB] the correspondiB] "busy" bit in register D. The MVME320 responds by accessing the corresponding ECA and perfonning the requested action. At any time the host can abort the current drive operation by resetting the bit before the operation is canpleted. This initiates the nonnal MVME320 interrupt sequence. The MVME320 returns a status in the ECA to indicate that the command has been aborted. The reset signal initializes all bits to 0, indicating that all four drives are inactive.

4-3/4-4

OfAPl'ER 5

EVENT CONTROL AREA

5.1 INTROD~ION The Event Control Area (ECA) is a dedicated block of data stored in the system memory. It consists of a fixed-length mailbox area for controlling the exchange of information between the MVME320 arrl the host system. The MVME320 requi res one ECA for each drive connected. Figure 5-1 illustrates the ECA block format. Apperrlix C provides sample ECA block tables.

5.2 ECA FIELDS ECA fields are listed arrl described in the following paragraphs.

5.2.1 Ccmnarrl Code (1 byte) The canmarrl code irrlicates the canmarrl to be executed (refer to Chapter 6, Ccmnarrls) •

5.2.2 Main Status (1 byte) • This field contains general value-oriented status information about the canmarrl execution: Value (decimal) Irrlicates o Correct execution without error

1 Nonrecoverable error which cannot be completed (auto retries were attempted) 2 Dr i ve not reooy 3 Reserved 4 Sector oodress out of range 5 Throughput error (floppy data overrun) 6 Ccmnarrl rejected (illegal carmarrl) 7 Busy (controller busy) 8 Drive not available (heoo out of range)

9 DMA operation cannot be canpleted (VMEbus error) 10 Ccmnarrl abort (reset busy) 11-255 Not Used

5-1 15 o

CCM1AND CODE MAIN STATUS

EXTENDED STATUS

MAXIMUM NUMBER OF RETRIES ACTUAL NUMBER OF RETRIES

DMA TYPE CCM1AND OPTIONS

BUFFER ADDRESS MOST SIGNIFICANT mRD

BUFFER ADDRESS LEAST SIGNIFICANT mRD

BUFFER LENGTH REQUESTED

ACTUAL NUMBER OF BYTES TRANSFERRED

CYLINDER NUMBER (1)

HEAD OR SURFACE NUMBER SOCTOR NUMBER (1) I CURRENT CYLINDER POSITION RESERVED (5 IDRDS)

NO -- PRE-INDEX GAP N1 -- POST-INDEX GAP (2)

N2 -- SYOC BYTE COUN.T N3 -- POST-ID GAP (2)

N4 -- POST-DATA GAP N5 -- ADDRESS MARK COUNT (2)

SOCTOR LENGTH CODE FILL BYTE (2)

RESERVED (3 mRDS)

DRIVE TYPE NUMBER OF SURFACES

NUMBEROFS~O~/~K STEPPING RATE

HEAD SETl'LING TIME HEAD LOAD TIME

FIGURE 5-1. ECA Block Fonmat

5-2 15 8 7 o SEEK TYPE 1 RESERVED FOR CONTROLLER LOW WRITE CURRENT BOUNDARY TRACK PRECOMPENSATION BOUNDARY TRACK

FI:C REMAINDER (3 WORDS) (3)

APPEND ECC REMAINDER FROM DISK (3 WORDS) (3)

RESERVED (2 WORDS) MVME320 WORKING AREA (6 WORDS) RESERVED FOR THE CONTROLLER

NOTES: (1) Physical starting sector number (2) Track fonnat fields (refer to Chapter 8) • (3) Last word (don't care)

FIGURE 5-1. ECA Block Fonnat (cont'd)

5-3 5.2.3 Exteooed Status (2 bytes) This field contains specific bit-oriented status information about the command execution. If errors result during execution, the corresponding bit will be ORea into exteooed status and kept there. This OR function is used by the host system for error logging. The extended status will autanatically be reset to zero by the MVME320 at the beginning of command execution. The error definitions are:

Bit 0 write fault Bit 1 CRC/EOC error on data or ID Bit 2 Data overrun Bit 3 No identifier fouoo Bit 4 Not ready Bit 5 Deleted data address mark Bit 6 write on write-protected diskette Bit 7 Positioning error Bit 8 Data port timeout Bit 9 Disk format error Bit 10 Uncorrectab1e data error (EOC) Bit 11 Command stop or drive not available Bit 12 Drive type rejected Bit 13 Positioning timeout Bit 14 Wrong ID-DATA-ID sequence during read track command Bit 15 Bus error fault

5.2.4 Maximum Number of Retries (1 byte) This parameter specifies the maximum number of retries per command (not per sector) that the MVME320 should attempt after a disk operation error. The value of zero iooicates that no retries will be attempted.

5.2.5 Actual Number of Retries (1 byte) '!his byte is set by the MVME320 to the actual number of retries executed per commaoo. All retries are accumulated by the MVME320 on a sector-by-sector basis.

5.2.6 DMA Type (1 byte)

This 1 byte field should be set to a zero value. This value specifies the Direct Memory Access (OMA) transfer mode of releasing the bus between word transfers. No other options are implemented at this time.

5-4 5.2.7 Cornmarrl Options (1 byte) This byte contains options that apply to the current carnnarrl. The option selections consist of the following: Bit Option o Harrlling of deleted data address mark 1 Reserved (should always = 0)

The options for harrlling deleted data address marks are described in the table below. Sectors with the deleted data address mark (bits 0, 1 of the option field) will be harrl1ed in the following manner for read operations: Bit Option

XOO The sectors with deleted data address mark will be skipped as if it did not exist. A successful CRC/OCC check is not required.

X01 The data of the sector with deleted data address mark will be transferred to the host system regardless of the CRC/OCC check result, arrl the operation will be terminated. 2 Automatic Error Correction (after all retries failed). 1XX Automatic error correction enabled. This option corrects data in the • MVME320 internal memory. It uses the OCA ranainder field of the OCA. Besides the correct data, the MVME320 will write the error correction vector and its relative position from the end of the data buffer into the OCAworking area. 3-7 Not Used.

5.2.8 Buffer Address (4 bytes) This is a 32-bit starting byte buffer address for the DMA transfers. The buffer can start on an odd address. The least significant byte of the address field defines the even or odd byte address of the 16-bit words when in 16-bit mode. The eight most significant bits should be set to zero.

5. 2. 9 Buf fer Length Requested '( 2 bytes)

This field contains the requested number of bytes to be transferred. This field implicitly defines the number of multiple-sector transfers to be performed. A seek occurs only when a zero length is specified.

5.2.10 Actual Number of Bytes Transferred (2 bytes) This field irrlicates how many bytes have actually been read or written during a coomaoo execution. The value can be used, for example, for a location of a problem sector with a nonrecoverable error. The value of this field can be changed by the MVME320 during execution of a command and used as an intermediate field.

5-5 5.2.11 Physical Startio;J Sector Number (4 bytes) This field contains the physical disk location at which the command is to begin execution. The fonnat of the field is:

5.2.12 Current Cylinder (2 bytes)

These two bytes will be updatErl by the MVME320 after each positioning. During the first positioning after reset, the MVME320 will execute an autanatic recalibration. If the current cylinder = 0, prior to the execution of the next carmand, the MVME320 will check the track 0 signals. If neither of the two track signals is active, the MVME320 will execute a recalibration procedure and then start command execution.

5.2.13 Reserverl (10 bytes) I This field is not userl by the MVME320.

5.2.14 Disk Track Fbnnat Fields (8 bytes)

The disk track fonnat fields are describerl in Chapter 8, Disk Track Fbnnat.

5.2.15 ReservErl (6 bytes) This field is not used by the MVME320.

5.2.16 Disk Control Fields (40 bytes) These fields describe the drive interface to the MVME320.

a. Drive Type (1 byte) - The most significant bit of this byte designates hard or soft sectoring (a set bit indicates hard sectoring). The seven least significant bits of this byte specify the disk type.

value Indicates o IBM single-density fonnat, 8-inch floppy disk 1 IBM double-density fonnat, 8-inch floppy disk, or high-density, 5 l/4-inch Amlyn cartridge-floppy 2 Hard-disk fonnat wi th ECC 3 Hard-disk fonnat with CRe 4 Sio;Jle-density, 5 ~4-inch floppy drive 5 Double-density, 5 l/4-inch floppy drive

5-6 b. Number of SUrfaces (1 byte) - 'Ibe number of heads (surfaces) is used by the MVME320 for calculating the increment sector address.

c. Number of Sectors Per Track (1 byte) - 'Ibis value is used for calculating the sector a:ldress. d. Steppirr.;J Rate (1 byte) - 'Ibis field contains the head stepping rate in SOO-usec units, if applicable. e. Head Settling Time (1 byte) - '!his field contains the head settling time in SOO-usec units. If a nonzero head settling time is specified, the MVME320 assumes that a seek-camplete is not available from the drive.

f. lead Load Time (1 byte) - This field contains the head load time in SOO-usec units. For drives with a seek-camplete signal such as hard disks and the Amlyn cartridge-floppy, this value must always be set to zero by the host system.

g. Seek Type (1 byte) - 'Ibis field defines the type of seek positioning to be performed.

Value Indicates o Normal single-step seek 1 Accelerated seek (for STS06) 2 Buffered seek (for ST4l2) • h. Rlase Count (1 byte) - 'Ibis field contains the phase counter, which is a status of the carmarrl execution set by the MVME320. For all ccmnarrls, this field must be initialized to zero by the host system prior to a new command to the MVME320.

i. Low write CUrrent Active Track (2 bytes) - This field defines to the MVME320 the starting track at which low current write current is to be used.

j. Precampensation Active Track (2 bytes) - This field defines to the MVME320 the starting track at which precampensation is to be used. k. ECC Remairrler (6 bytes) - This field contains the calculated ECC remainder generated by the MVME320 (should be 0). Since ECC is 32-bi ts long, the last two bytes are "don't care".

1. Apperrled ECC Remairrler fram Disk (6 bytes) - 'Ibis field contains the actual ECC remainder attached to the data on the disk when written. m. Reserved (4 bytes) - This field is not used by the MVME320. n. MVME320 Work Area (12 bytes) - These six words are reserved for the MVME320 microprogram. The meaning of certain bytes of this area will be determined by the cammarrl being executed.

5-7/5-8

CHAPl'ER 6

6.1 INTRODUCl'ION Execution of all commands is automatic in the MVME320i it does not require any assistance fran the system. The carmand set includes:

Command Function

0 CALB Recalibrate to track zero 1 WRDD write deleted data 2 VER Verify (read wi thoutdata transfer) 3 TSR Transparent sector read 5 REMS Read multiple sector with overlapped seek 6 WRMS write multiple sector with overlapped seek 7 FORM Format a track

A new carmand is requested by the host -by writing into the Drive Status and Configuration Register (register D). The user sets a bit corresponding to the drive to be serviced. This causes the MVME320 to start execution of the carmand on the requested drive. After a command is started, it is executed wi thout further communication wi th the host system. All drive/memory data transfers are handled autanatically by the Direct Memory Access (DMA) controller of the MVME320. The MVME320 signifies through an interrupt signal th~t the carmand is canpleted. The following is a generalized description of the sequence performed by the MVME320 when execut ing a cammand: a. The MVME320 verifies that the drive is available. If it is not, the MVME320 generates an error status and a canpletion interrupt. b. The MVME320 executes a track seek if necessary. For drives which have a seek-camplete signal (as indicated by a zero value in the head settling time field of the Event Control Area (OCA)), a carmand termination can be caused by the timeout of the Seek Canplete signal drive. For drives for which the head settling time is nonzero, the MVME320 waits the specified time after issuinJ the stepping pulses (i .e., there is no timeout on the seeks).

c. The head will be selected or, for a floppy disk, loaded. The MVME320 will wait for four byte times to ensure that head switching has occurred. d. The MVME320 reads the sector identifier to locate the requested sector.

If the MVME320 is unable to read the sector identifier, the cammand is terminated (step g) and the status "no identifier found" is returned.

6-1 If the matchoo sector identifier irrlicates a bad sector, (refer to Cllapter 8, Disk Trace Format) the MVME320 uses the replacanent information to again perform steps b, c, arrl d for the new sector. This bad-sector replacement is not countoo as a retry.

e. After the requested sector has been locatoo, the MVME320 performs the sector disk I/O (read or write) arrl DMA operations. If the operation cannot be canpleted, retry processing is attempted. A failure in this portion of the canmarrl is irrlicated by the return status IIdata part time outll , which distiIl3uishes it fran the read identifier failure of step d. The MVME320 reads the data fran the disk into an internal register first and then through the DMA to the VMEbus memory. The floppy disk read and DMA transfer are executed simultaneously.

f. If multiple sectors have been specified in the canmand, the MVME320 assumes contiguous physical sectors; steps b, c, d, and e are repeated for each sector. The MVME320 autanatically performs any track seek required if the next physical sector is located on the next cylinder.

In the case of bad-sector replacanent, the MVME320 continues the multiple-sector operation (after replaciIl3 the bad sector) at the sector physically located after the bad sector. It performs all the track repositioning required to return the read/write head to the next physical sector.

g. Upon ccmnarrl canpletion, all relevant OCA fields are updated and the appropriate bits of the IIInterrupt Source status" arrl IIDrive Status and Configurationll registers ($B arrl $D) are set, and an interrupt signal is generaterl by the MVME320. Upon interrupt acknowledge, the MVME320 I presents the interrupt vector fran the Interrupt Vector Register on the data bus.

6.2 COMMAND DESCRIPTION

In the carmarrl descriptions, the term IIFIFO II refers to the MVME320 internal memory when it is used as a FIFO buffer. Cbmmarrl descriptions are as follows.

6.2.1 Recalibrate to Track Zero (CALB)

The function of this ccmnarrl is to retract the heads to track O. The MVME320 issues one step IIINII arrl then steps 1l0UT1I until signal track 0 becanes active or until the number of steps equals the maximum number of cylinders fran the ECA. The check on seek canpleted timeout will be made for the hard disk.

6-2 6.2.2 Read M.lltiple Sector with Implied Seek (REMS)

After a successful seek to the desired sector, the MVME320 will start to read the data of the sector into the FIFO buffer am check the CRC or OCC code. Sector data is then transferred through the DMA interface to the host system manory. '!his procedure is repeated until the number of sectors, implied by the buffer length field of the ECA, have been read.

For sectors with deleted data address mark, the MVME320 will process them according to the command option field of the ECA.

6.2.3 write Multiple Sector with Implied Seek (WRMS)

After the desired sector is located, ·the MVME320 will write the canplete data part: preamble, address mark, flag, data, CRC or OCC, and postamble. '!he precise format is given by the drive type. The FIFO will be continuously filled with new data (or zeros if all buffer data fran the buffer has been transferred) • The number of data bytes written in one sector is determined by the MVME320 using information fran the ECA fields. 'Ibis operation is repeated until the number of sectors, implied by the buffer length field of the ECA, have been written.

6.2.4 Format a Track with Implied Seek (FORM)

The MVME320 supports three different media formats (refer to Chapter 8, Disk Track Format, for detailed information). This allows the user to write the format information specified in the OCA track format fields to the recording media. 'lbe buffer address fields of the EX::A table point to a memory space that contains sector information for each sector in the track to be formatted. '!he • format for each section of the buffer information is as follows:

FOR FLOPPY DISKS:

BYTE 0 BYTE 1 BYTE 2 BYTE 3 ------,------where: BYTE 0 = CYLINDER NUMBER BYTE 1 = HFAD NUMBER BYTE 2 = SECTOR NUMBER BYTE 3 = SOCTOR SIZE CODE, 00 = 128 BPS, 01 = 256 BPS

,------FOR HARD DISKS: ------BYTE 0 BYTE 1 BYTE 2 BYTE 3 BYTE 4 ------where: BYTE 0 = CYLINDER NUMBER (MSB) BYTE 1 = CYLINDER NUMBER (LSB) BYTE 2 = HFAD NUMBER BYTE 3 = SOCTOR NUMBER BYTE 4 = SECTOR SIZE CODE, 00 = 128 BPS, 01 = 256 BPS

6-3 Since each section of sector information contains a sector number field, the user can format any desired interleave factor on the disk. This allows the user to tailor the interleave factor to optimize system performance.

6.2.5 write with Deleted Data (WRDD) This caunaoo differs fran the normal write only by writing the Deleted Data address mark (Fa).

6.2.6 verify (VER) Verify with implied seek functionally is the same as the read caunand, but the data is not transferre:I to the host system.

6.2.7 Transparent Sector Read (TSR) This caunaoo will read a single sector and transfer the data to the host system buffer regardless of a CRC/ECC check. Only the exteooed status will be updated with all the error conditions encountered.

This caunaoo can be used for diagnostic purposes and for recovery of damaged data with same manual intervention. If an incorrect CRC/ECC remaiooer occurs, the MVME320 places the remaiooer into I the ECA table, reserved for this purpose.

6-4 rnAPl'ER 7

ERROR CORRECTION

7.1 INTRODUCTION This chapter describes how the MMME320 supports error correction.

7. 2 GENERAL DEOCRIPl'ION The hard-disk fonnat provides the space for a four-byte error correction code in the data part of the sector. The MMME320 has a bit-serial CHC/ECC generator.

The MMME320 supports error correction in the following ways: • Generates the remainder during the sector-write operation. • Olecks the remainder during the sector-read operation. • Delivers all four bytes of remainder for diagnostic purposes. • Cbrrects the data either directly in the memory or provides the remainder in the EI:!C appende1 area of the EI:!A.

7-1/7-2

CHAPTER 8

DISK TRACK FO~T

8.1 INTRODUCTION The MVME320 supports the following track fonnats: • IBM 3740 single-density floppy disk • IBM System 34 double-density floppy disk • Hard disk fonnat In each of the fonnats, data on the physical media is separated into sectors. The fonnat serves several purposes in this arrangEment - it defines the structure of the sector, the location of the actual data, and provides overhead bytes that allow an interval for any switching required by the drive hardware. These intervals, in turn, allow the MVME320 to compensate for any variations in either the recording media and/or the drive hardware. Although each of these formats is well defined, variations in parameter values wi thin a given format require that the MVME320 provide the user with the capability to adjust (program) them. The purpose of this chapter is to describe the formats that are supported and how to program thEm with the MVME320. Because no single standard defines track format parameters, a description of parameters and other pertinent definitions are included later in this chapter. For the definition of any format parameter, refer to paragraph 8.4. Table 8-1 provides a summary of the formats and the programmable values.

The hard disk format is a MFM format which is nearly identical to the IBM SystEm 34 double-density fonnat. The differences are summarized below:

IBM FLOPPY DISK HARD DISK Uses index address marks No index address marks Sector ID part has one Uses two bytes byte of cylinder data I Sector ID part has three Uses one address mark address marks Sector data part has three Uses one address mark address marks Data field check consists Uses either 2-byte CRC of 2-byte CRC only or 32-bit ECC

The Fonnat Track command allows the user to write formatting information to the recording media. Specification of format parameters is accomplished by changing appropriate Event Control Area (ECA) fields. This structure gives the user the flexibility to accanrnodate, through changes in the ECA, variations that occur within a given format.

8-1 TABLE 8-1. Summary of Fonnat Parameters

IBM-COMPATIBLE FLOPPY DRIVES HARD DISKS

MODULE HEX DATA FM HEX DATA MFM HEX DATA PGM DEOCRIPTION USES VALUE CNT VALUE CNT VALUE CNT Pre-Index Gap NO FF 40 4E 80 -- Sync Field 00 6 00 12 - - Index Mark FC/D7 (1) 1 C2 (2) 3 - - Index Flag - I - R: 1 -- Index Gap FF I 26 4E 50 4E 20

Sync Field 00 6 00 12 00 12 10 Address Mark FE/C7 (1) 1 Al (3) 3 Al (3) 1 10 Address Flag - - FE 1 FE 1 Cylinder DMA 1 1 lor2 Side DMA 1 1 1 Sector DMA 1 1 1 Record 01 01 Length DMA (4) 1 (4) 1 CRC-CCITT 2 2 2 Post-ID Gap FE' 11 4E 22 00 3 Sync Field 00 6 00 12 00 12 Data Address Mark FB/C7 (1) 1 Al (3) 3 Al (3) 1 Data Address Flag - - FB 1 FB 1 Data (4) Fill Fill Fill Byte 256 Byte 256 Byte 256 CRC-CCITT 2 2 (5) 2or4 Post-Data Gap N4 FE' 27 4E 54 00/4E 15 Inter-record I Gap (4) FE' 170 4E 589 4E 346 NOTES: (1) Shows data pattern and clock pattern (clock pattern nonnally is FF). (2) Shows data pattern; clock pattern should suppress clock bit between data bit 3 & 4. (3) Shows data pattern; clock pattern should suppress clock bit between data bit 4 & 5. (4) This example is for a 256-byte sector; others will have different values. (5) This can be either a CRC-CITT or a 32-bit ECC field.

8-2 The MVME320 writes the sector identifier and fills the data part wi th "fill byte" starting with the leading edge of the first index pulse and ending with the leading edge of the next pulse.

During the fonnat-write operation, bad sectors can be replaced; a detailed description of the sector replacement algorithm and of the track fonnat is given later in this chapter. The "buffer length" field of the OCA designates the end of the fonnatting operation. Sector interleaving can be done by filling the buffer.

8.2 BAD SOCTOR HANDLING Sometimes defective media sectors are encountered. The cost of perfect media is impractical. Since defective media areas cannot be used for recording data, the occurrence of bad sectors must be taken into account. It is suggested that a software imlementation similar to bad sector lockout (as used on Motorola I s VERSMos) or bad sector replacement (as used on Motorola I s SYSTEM V/68) be implemented.

Sector lockout is accomplished by keepi~g a table of known bad sectors on the disk. The sectors on this list are then avoided. This table need only be checked when accessing sectors of unknown quality (e.g., writing a new sector). A sector replacement algorithm involves keeping a list of known bad sectors and their replacement sector on the disk. This list is checked every time a disk access is made. A copy of this list should be kept in RAM for quicker disk accesses.

8-3 8.3 OCA TRACK FORMAT FIELDS

For the three fonnats supported by the MVME320, eight parameters are required to specify the fonnat of the recording media to the MVME320. The fonnat parameters are programmed by changing the values of the appropriate OCA fields. A detailed description of each of these parameters follows. The layout of the track fonnat portion of the OCA is:

15 8 7 4 3 o NO -- Pre-Index Gap Nl -- Post-Index Gap

N2 -- Sync Byte Cbunt N3 -- Post-ID Gap N4 -- Post-Data Gap N5 -- Address Mark Cbunt

Sector Length Code Fill Byte

where: Sector Length Code = the exponent in the equation for sector length: 128 x 2n

NO, Nl, N2, N3, am N5 are fields reserved for future use; the MVME320 uses constants, which are listed in Table 8-1.

N4 must be initialized in the OCA table using the values listed in Table 8-1.

8-4 TABLE 8-2. Track Fonnat Definitions and Abbreviations

SUBFIELO FOR1ATS OEOCRI PI'ION

NO Index IBM Pre-Index Gap. This gap represents the number only of bytes that appear prior to the index pulse. Nl Index All Post-Index Gap. This gap represents the number except of bytes that appear after the index pulse and hard prior to the 10 subfield. sector

N2 10, All Preamble Count or Sync. This is the number of Data, sync bytes that precede the address mark. Index

N3 10 All Post-IO Gap. This count is the number of bytes that separate the 10 subfield from the data subfield. N4 Oata All Post-Data Gap. This count is the number of bytes that separate the data subfield to the beginning of the 10 subfield of the next sector.

N5 10, IBM Address Mark COunt. This contains the number Data, of address marks contained by the subfields. Index For single-density fonnats the count is one; for double-density fonnats the count is three, except hard disk where it is also one. •

8-6 8.4 DESCRIPTION OF FORMAT PARAMETERS Although exhibiting some differences, the parameters that constitute each of the three fonnats supported by the MVME320 are basically similar. In each fonnat the data on the diskette or disk is separated into a logical data block or sector. The sector beccmes the smallest block of infonnation that can be addressed directly by the MVME320. The hard disk am both IBM formats organize the physical disk into a circular path or track that is separated into several sectors. In this scheme, tracks on the mErlia are referencErl with respect to a physical index mark. An index mark pulse is generatErl by the media to indicate the beginning of a track. By specification of a track am sector, the location of a sector on the media is uniquely addressErl (for at least one side of the media). The programmable hard-sectorErl fonnat also uses this track am sector structure; however, it differs fran the other fonnats in that in addition to the imex pulse, each sector is precErled by a sector pulse.

In each of the formats a sector can be further separated into two parts or subfields -- an ID am a data subfield. The ID subfield contains a unique identifier (or address) am description of the sector. The data subfield contains the actual data of the sector. Both subfields contain three types of information: a. address mark{s). b. data (either actual or about the sector). c. error report. The following definitions apply to the information contained in these subfields: Address Mark -- A unique character which precedes the data in the subfield. FOr MFM fonnats, (non-IBM single-density) it is followed by a single character, the crldress mark flag, which further describes the subsequent data. Error Report -- A pattern generated by the MVME320 that is used to verify the data transmitted. Both fields contain character sequences called IIgapsll am IIsyncs ll • These sequences are used to differentiate the sector subfields and to provide an interval that allows any hardware swi tching to be performal. This in turn canpensates for any timing problems causal by variations in either the recording media or the disk drive. For the programmable hard-sectoral am IBM formats (which use the index pulse), a third subfield is used -- the imex subfield. This subfield appears prior to the first physical sector of a track on the recording malia and has subfields which contain gap and sync sequences. Unlike the other two fields, it occurs only once per track am contains only the address mark infonnation. Table 8-2 provides definitions and abbreviations applicable to the track fonnat specifications providal in this chapter.

8-5 OfAPl'ER 9 SYSTEM OPERATION

9.1 INTRODUCTION This chapter provides information concerning MVME320 initialization, status on reset, host initialization, and EGA field types.

9.2 MVME320 INITIALIZATION Before the MVME320 can process cacmand requests fran the host, it mus t go through an intialization sequence that places it into a known condi tion in preparation for cacmands. This intialization occurs in two distinct stages. The first is started by the activation of the Reset line am the second is perfonned by the host system. The MVME320 status to be considered consists of the following components: • Content of the MVME320 control registers • State of the control and signal lines • Status of the MVME320 microprogram

9.3 STATUS ON RESET

On activation of the Reset line, the MVME320 perfonns the following:

• Clears the MVME320 memory • Resets all control registers • Three-states all bus interface am control lines • Clears all internal registers and counters • Places the MVME320 microprogram into an idle loop

9.4 HOST INITIALIZATION The secom stage of initialization occurs after the reset. The host must ini tialize the MVME320 before it can process any cacmam requests. The initialization infonnation must be passed from the host to the MVME320 control registers. The infonnation consists of the following:

• Load an interrupt vector number into the Interrupt Vector Register. • Load the Event Control Area CECA) registers with the start location of the ECA pointer table in system memory. The host prepares for MVME320 operation by loading the ECA pointer table in system memory with the address of each of the ECA blocks. The disk drive to ECA block assignment is detennined by the relative position of the pointer in the table. The first table entry corresponds to drive one, the second entry to dd ve two, etc.

9-1 9.5 ECA FIELD TYPES

OCA formats, drive control parameters, carmam execution parameters, am canmand status are described in the following paragraphs.

9.5.1 OCA Formats The OCA parameter blocks are the main means of communication between the host system am the MVME320. The information contained in its fields serves essentially two purposes. First, it provides the information required by the MVME320 to generate the disk drive interface signals. Secom, the ECA is used by the MMME320 to pass to the host information required to execute system-level disk operations. To emphasize this second purpose, consider a system operation such as "open a recrl file". Such an operation implies that the host system issues several ccmnams to the MVME320 to read the disk. Implementing such a system-level cammam requires that, at the completion of a cammam, the MMME320 pass to the host current info:cnation about the drive and the ccmnand (such as the current position of the recrl/write hecrl). The host uses this information to prepare the next sequence of MVME320 ccmnaoos. As an MVME320 command proceeds through its execution, it references aoo alters various fields of the ECA. To gain a better understaooing of the interaction between the MVME320 and the various ECA fields, the ECA data can be separated into three catagories: • Drive control parameters • Commam execution parameters • Cbmmam status These categories differentiate the ECA fields with respect to content, access, am alterability. '!he following paragraphs describe the characteristics of each category.

9.5.2 Drive Cbntrol Parameters These fields contain information that defines the disk interface to the MVME320. This information is provided by the host system aoo is not altered by the MVME320. The MVME320 microprogram that controls the disk drive I/O issued will continually reference this information during execution of a cammaoo. To protect against positioning errors when switching from one ECA field to another, the field "current cylinder number" cannot be initialized by the host (since the MVME320 only writes into it am does not read from it) •

9.5.3 Cammam Execution Parameters These parameters consist of those ECA data fields required by the MVME320 to execute a cammam. These fields can be further separated into two groups -­ static am dynamic. '!he static fields are valid for the duration of a commaoo; the MMME320 does not alter any information in these fields while the cammam is being processed. The dynamic fields provide the "logical storage" needed to execute multiple-sector carma.rx3s. The MMME320 uses the dynamic fields of the ECA to maintain the current execution status of the online disk drives.

9-2 Both the static am dynamic fields are loaded pr ior to initiation of a new ccmnand request by the host. The MVME320 provides only rudimentary checks of these fields to ensure integrity of the infonnation. The host must provide the level of safeguards desired. The static fields need to be verified only before a new conmand request is submitted to the MVME320. Because the dynamic fields are continually updated by the MVME320 during carmam execution, they reflect the current value of these parameters at tennination. The dynamic infonnation generated by the MVME320 is used by the host to continue execution of syst~level disk drive operations by providing the host with infonnation regarding v.nere the drive "left off". Such dynamic infonnation requires that the host provide validation checks of the dynamic parameter fields every time a new request is merle to the MVME320.

9.5.4 Cammam Status These fields report to the host the results of a coomam operation and are continually updated after each transfer. They are cleared by the MVME320 when a new request is accepted.

9.6 SUMMARY Communications between the MVME320 am the host are established through the ECA. After a command has been accepted by the MVME320, the host must not alter the ECA. The host can monitor progress by polling the main status byte. The MVME320 can modify other values for internal operations. Dnplicit to the execution of any disk operation is the reading of the ECA data by the MVME320 to allow loerling of drive control parameters. At the conclusion of a disk operation, the MVME320 perfonns a write operation to the corresponding ECA parameters to store the results of the commam. Both reerling am writing of the ECA fields by the MVME320 use the Host/Direct Memory Access (OMA) interface to arbitrate for the and to perfonn required hamshaking. I

9-3/9-4

OIAPI'ER 10 OCHEDULER CON:EPl'S

10.1 INTRODUCTION The primary purpose of the MVME320 in a system is to re1uce the overheed processing of a host involve1 with controlling several disk drives. Off-loading fran the host performs those tasks directly associate1 with disk control am permits the host processor to concentrate on its main application(s). Although the MVME320 is capable of controlling four disk drives simultaneously, it perfans these multiple control functions sequentially. Its operation can be viewed as a resource share1 by all the drives online, with each drive canpeting for the services of the MVME320. In eddition to arbitrating this competition, the sche1uler must remain responsive to new cammam requests.

10.2 RESOURCES The MVME320 resources available to the disk drives am the host processor consist of: • HostjOMA interface • Internal memory • Cbntrol registers • High-speed disk controls and serial I/O interface • Low-Spee1 disk controls The following is the set of basic activities in which the MVME320 can interact with the drives and/or host: a. Reed control register b. Write control register c. Slow disk drive read d. Slow disk drive write e. Read FIFO (OMA) f. Write FIFO (OMA) g. Read E1:A data field (OMA) h. Write El:A data field (OMA) i. Disk drive serial read (high-spee1 disk control) j. Disk drive serial write (higb-spee1 disk control) Because performance of items a. to h. involves the canrmn MVME320 data bus, (000-015) interface, the items are executed one at a time; that is, the MVME320 cannot perform them in parallel. The MVME320 is structured such that the hostjOMA and the high-speed disk control interfaces operate asynchronouly with the MVME320 processor as well as with each other. This suggests that items i. am j. can be performed concurrently with any of the other 8 activities. This is true only on a limite1 basis. Because high-spee1 disk control implicitly uses • the DMA interface, items i. am j. can be execute1 in parallel with any of the other liste1 activities until a DMA is required (items e. or f.). As a result, all of these activities can be considered mutually exclusive.

10-1 10.3 LOGICAL OPERATIONS

Theoretically, a new activity could be schoou1ed after anyone of the basic operations has been perfonned. In practice, this is not an efficient use of the MVME320. Also, certain of these canbinations are not logically useful. For example, during serial disk I/O it would not make sense to allow the Er!A pointer register to be alteroo. For these reasons, the MVME320 does not execute a carmam in teIInS of these basic activities; instead, it joins than into the following logical groups:

• Load and initiate a new command request • PerfoIIn disk positioning I/O • PerfoIIn disk read/write I/O • Disk write I/O for format carmands • Abort a camnand These operations are the most fundamental level of MVME320 acti vi ty. The MVME320 carmands are imp1ementoo essentially as canbinations of these operations. For example, the MVME320 read multiple sector camnand consists of "disk positioning I/O" am several "disk read I/O" operations. For the ranainder of this doclll\ent this set of MVME320 operations will be referred to as "logical operations".

With several disk drives online, the schoou1er should do more than sequence through the execution of a camnaOO; it must decide what drives are to be servicoo and when certain operations are to be perfoIInoo. The algorithm that the host incorporates must not only service the online drives, but it must do this in an equitable manner. No drive should be allowed to monopolize the MVME320 resources; for example, the unservicoo drives in this situation would appear to "wait" while one drive canpletes a carmand. The host systE:m should not be requiroo to "idle", waiting to subnit a new command request. This situation would degrade the performance of the entire systan. Another responsibili ty of the host is to provide some safeguards against a camnand destroying information of another current carmand.

Although the host program will be responsible for making the decisions described above, the operational characteristics of the MVME320 dictate when new camnaOOs are a110woo and when certain operations can be schoou100. The following describes each of the logical MVME320 operations and their interaction with an external host; this information constitutes the limitations am requirements the MVME320 imposes on this host schoouler.

10.4 COMMAND INITIATION

Although requesting the MVME320 to perfonn a carmand involves simply setting the start bit for the desiroo drive in the configuration and semaphore register, execution of the carmam is dictatoo by the status of the MVME320 when the request is receivoo. Because the MVME320 is operating asynchronously with an I external processor or processes, sUbnitting a new carmam is not always as straight-forward as a1 teriD,;J the content of a few MVME320 control registers. The followiD,;J describes the MVME320 behavior when the schoou1er makes a new camnand request.

For the ranainder of this section the internal manory of the MVME320 will be referred to as the FIFO.

10-2 10.4.1 New Command Requests

The host can asynchronously signal the MVME320 that it has a new canrnand by setting the bit assigned to the desired drive in the drive status and configuration rSJister. This can be performed as long as the bus is available. The MVME320 accepts the request but does not necessarily bSJin to process it. If the disk controller is currently controlling another disk drive, the MVME320 accepts the request and treats it as a "pending" request for disk drive service. It does this to prevent forcing the host processor to wait for it to complete its current processing. If the cannand request is for the drive that is currently being servicOO, the MVME320 responds by signifying that it is busy. This will be reported to the host through an interrupt and a status condi tion indicating the drive is busy.

Because four different drives can be online simultaneously, the drive status and configuration register may contain more than one pending request. When this happens, the MVME320 will process the drive wi th the lowest log ical drive number. The logical drive number is assigned implicitly by the OCA pointer table.

10.4.2 Validity Checks for New Cannands

The MVME320 can only perform limi too checks on the Event Control Area (OCA) data. The host should perfonn these checks whenever a disk canrnand request is made; this is especially important when the cannand request is a continuation of a "system-level" disk drive canrnand. Three OCA fields are continually updatOO and are required for continuation of such cannands. These fields are:

• Physical sector start • Current cylinder • Buffer start address Validity check errors detected by the MVME320 will result in termination of the canrnand request andini tiation of the interrupt sequence. These checks are limited to the following:

• Val id ccmnand • Valid options • Valid number of retries requested

After a ccmnand has been acceptOO, the MVME320 will not interact with the host again until the canrnand has been completed or terminated.

10.5 MVME320 DISK DRIVE CONTROLS

One of the most powerful features of the MVME320 is its ability to control a variety of different disk drive interfaces. This ability is achieved by providing it with facilities to easily "program" the desired disk drive interface. The MVME320 disk drive interface signals are generated by an onboard • processor which is controlled by a "table-driven" microprogram. The host systan defines the table parameters to the MVME320 microprogram through the device control parameter fields of the OCA. The processor uses this information to generate the appropriate signals for the interface.

10-3 Disk drive I/O can be separatErl into two groups -- positioning am read/write operations. The MVME320 drive interface, as described previously, consists of two sections:

• Slow disk control and status signals • High-speErl control and serial data read/write signals

Generally, the fonner controls the positioning, am the latter controls the read/write operation.

10.5.1 Positioning Operations

During positioning operations, the read/write mechanism of the disk drive is movErl to the selectErl track and the drive is preparErl for the read/write operation. The positioning procErlure perfonnErl by the MVME320 consists basically of the following seven steps:

a. Read the device control parameters fran the OCA.

b. Read the slow drive status

c. Issue drive signals to the drive to move the heads to the desirErl track (cylimer) • The mechanical motion associatErl with this movanent is referrErl to as "seek".

d. Test the "seek-canplete" flag for the drive until the operation is canplete.

e. Wait for the "head settling time" as specifiErl by the corresponding OCA field to ensure the heads have settlErl.

The MVMl!:320 perfonns a seek to the desirErl track by issuing one seek pulse for each track the heads are to be moved. Because the actual "seeking" is a mechanical operation, it is a relatively slow activity; a minimum of 3 msec is requirErl in drives without a buffered seek feature. The MVME320 will use this time to ei ther attempt other dr i ve control processing, return control to the schErluler, or continue generating and moni toring the seek signals until seek canpletion.

The "type of seek" field of the OCA defines which course of action is perfonnErl by the MVME320. Three types of seek operations are commonly available on most disk drives. The "nonnal" seek allows the MVME320 to issue a single seek pulse am after a sufficient stabilization period becanes available for other processing. The "bufferErl" and "acceleratErl" seeks require a dErlicatErl processor to produce a continuous stream of pulses. Drives interfaced in this manner contain internal counters that store the "seek" count before initiating the actual seek operation. For such interfaces, the number of steps must be sent as a continuous stream of pulses to the disk drive. The MVME320 must issue all the I required seek pulses before it can attanpt other processing. For bufferErl and accelerated seek devices, the maximum time for which the MVME320 is dErlicatErl to positioning I/O generation can be easily derivErl. Each pulse requires a 6-usec per iod for hard disk dr i ves and a 750-usec per iod for the 1rnlyn drive. Therefore, the time for the MVME320 to generate the require] number of seeks is given by the product of the number of seeks am the pulse period per seek. For example, a 512-track seek would require 3 msec on a hard disk with a 6-usec pulse period.

10-4 10.5.2 Read/Write Operations

After the read/write head (s) have been positioned to the correct track, the MVME320 is ready to generate the high-speed disk control and serial data transfer signals needed for disk read/write. For the MVME320, this operation is closely integrated with the activities of the DMA controller. '!he disk drive and OMA interfaces operate in parallel and independent of each other and of the MVME320 control processor.

The MVME320 FIFO buffer is the prUnary data transmission facility between system memory and the disk drive. The DMA controller of the host/DMA interface is responsible for perfoDning the actual transfer. FOr disk read, the serial data fran the drive is placed into the FIFO after it is read fran the drive. For disk write, data is loaded by the DMA into the FIFO fran system memory before it is sent serially to the disk drive.

The "basic read and write" disk operations consist of the following sequence. The read/write operation for the format carmand is essentially executed as described in the following sequence. However, implementation of these commands involves additional processing, which is described in separate subsections.

The disk write operation consists of the following sequence:

a. Read the EGA for drive control parameters.

b. Transfer write data fran system memory to MVME320 FIFO. PerfoDn disk read operation to locate the data part of the requested sector (i.e., process the 10 part of the sector). Refer to paragraph 10.5.2.1.

c. Transfer one operand fran the FIFO to serial drive output.

d. PerfoDn disk write I/O on the drive interface.

e. Continue steps c. and d. asynchronously until a sector has been written.

f. After a sector has been written, write the status and dynamic carmand execution infoDnation about the transfer into the EGA.

g. Repeat steps b. through f. until the requested number of sectors has been written.

'!he disk read operation consists of the following activities:

a. Read the EGA for drive control parameters.

b. PerfoDn disk read operation to locate the data part of the requested sector (i .e., process the 10 part of the sector). Refer to paragraph 10.5.2.1.

c. PerfoDn disk read I/O on the drive interface. Move the character read into the FIFO buffer. • d. DMA transfer the operand fran the FIFO to the system memory.

10-5 e. Cbntinue steps c. and d. asynchronously until a sector has been read.

f. After a sector has been read, write the status and dynamic canmand execution infonnation about the transfer into the ECA.

g. Repeat steps b. thorugh f. until the requesterl number of sectors has been read.

Notes on Basic ReadjWrite Operations.

The previous description for the MVME320 read/wri te I/O operations has been greatly simplifierl and some important points should not be overlooked. First, the actual DMA transfer involves three tasks:

a. Request mastership of the system bus.

b. After becani~ bus master, generate the handshake signals required to send/receive data through the system bus.

c. Tenninate the transmission and return the bus for arbitration.

Second, in step b. for both the read or write, the MVME320 processes the fonnat infonnation fran the media. For a description of this activity, refer to Chapter 8, Disk Track Fonnat.

10.5.3 New Command Duri~ Active ReadjWrite

The MVME320 DMA returns the bus to arbi tration after a programnable number of operands have been transferrerl. Whenever the bus is available, it is possible for the host to request a new command by writing to the drive status and configuration register. The MVME320 cannot begin processing of new canmands while it currently has an operation that involves a DMA transfer. There are two situations to be considererl. First, if the request is for a drive Which is not currently perfonni~ disk I/O, the MVME320 accepts the request and sets an internal flag to indicate a request is pendi~. '!he MVME320 canpletes the command and then processes the pendi~ requests. This allows the host processor to continue processi~ and not be II idledll , waiting for the MVME320 to becane available.

Second, if the host makes the command request to the drive that is currently perfonni~ the disk drive I/O, the MVME320 responds by reporting to the host that the drive is busy through an interrupt.

10.5.4 DMA Transfers

The serial read/write I/O portion of the drive interface is a dedicated slave of I the MVME320 disk drive interface; that is, a serial string is sent or received by the interface without interruption. '!he DMA interface, however, must surrender the bus for arbitration after the requested number of operands have been transferrerl. If the nunber of transfers does not provide the MVME320 with sufficient bus access time, the DMA could fail to keep track with the disk I/O operation.

10-6 For floppy disks, contiguous sectors can be transferred directly from the floppy disks via DMA. The floppy disk is slow enough to allow new arbi tration for each word transfer without significant system restrictions on other components. The fastest floppy disk drive (double-density, 8-inch) allows 30 usec bus latency 62 usec for double-density, 5l/4-inchi 125 usec for single-density, 5l/4-inch}. For hard disks, however, the bus latency time needed for arbitration could cause throughput errors if data were transferred directly from hard disk to host memory. Therefore, the MVME320 reads the disk data into an internal one-sector buffer and then transfers from buffer to host memory. DMA buffering occurs only for hard disks.

10.6 DISK WRITE I/O FOR FORMAT COMMANDS The fonnat carmarrl write operation is perfonned by the MVME320 as integral operations on a per-track basis, as opposed to nonnal disk I/O which is on a sector basis. This technique was selected as a compromise to satisfy two conflicting requirements -- camrnarrl efficiency versus equal access of online drives to the MVME320 resources. This carmarrl would be most efficient if allowed to monopolize the MVME320 resource. However, this situation would prevent any other drive from being serviced until the corrmand had been completed. Nonnally this camrnarrl is a background task wi th the other disk operations having a higher priority. For this reason, allowing the MVME320 to concentrate completely on either camrnarrl is not a good system practice. To allow other drives to be serviced without severely slowing down the execution of these carmarrls, the MVME320 perfonns the I/O associated with them on a per-track basis. The MVME320 becomes available for other procesing after a full track has been processed. For the worst-case situation for the fonnat corrmarrl, the time the MVME320 will not be able to process the other drives will not exceed two disk revolutions. This would occur if the irrlex pulse were just "missed" and a complete revolution were required to firrl the pulse.

10.7 COMMAND TERMINATION The stop carmand is initiated by placing a zero in the appropriate bit position in the configuration arrl semaphore register for the drive to be stopped. If the stop is issued to the drive that is currently processing a corrmarrl, the corrmarrl is immediately stopped; otherwise, the stop camrnarrl is treated as a perrling request to stop. If there are both pending new command and stop corrmand requests queued in the configuration arrl semaphore register, the MVME320 will first perfonn the stop requests. •

10-7/10-8

OIAPI'ER 11 MAINTENANCE

11.1 INTRODUcrION This chapter contains preventive and corrective maintenance instructions for the MVME320.

11.2 PREVENTIVE MAINTENANCE Periodically, the user should perform the normal maintenance procedure for his system. Dirt should be cleaned from the MVME320 module and all filters. Verify the installation procedure for the MVME320 module (refer to installation instructions in Chapter 2). CAUTION WHEN USING THE MVME320 WITH A DISK DRIVE ENCLOSURE CONTAINI~ A SEPARATE POWER SUPPLY, TURN OFF POWER TO THE DRIVE ENCLOSURE BEFORE TURNING OFF rovER TO THE MVME320 TO PREVENT POSSIBLE DAMAGE TO THE SYSTEM. ALSO, WHEN rovERING UP THE SYSTEM, TURN ON THE rovER TO THE MVME320 BEFORE POWERI~ UP THE DISK DRIVE.

11.3 CORRECTIVE MAINTENANCE In most cases, if the MVME320 fails, the module should be returnerl to the factory. However, the following items should be verified first as they could be causing the failure: CAUTION IF THE MVME320 MUST BE REMOVED WHEN PERFORMING ANY OF THE FOLLCMING CHOCKS, TURN rovER OFF BEFORE REMOVING OR RE-INSERTING THE MODULE.

a. Perform the procerlures in the installation section, verifying that the 50-pin connector and 20-pin connectors are properly plugged into both the MVME320 and the first disk drive. b. Verify the connections between drives (e.g., the daisy-chain connections) • c. verify that the last drive in the chain is terminaterl.

d. Be sure that all ICs on the MVME320 are fully seaterl in their sockets.

e. Be sure that the module erlge connector is free of dirt and grease. If II necessary, clean the erlge connector. Be sure that the connector is fully inserterl into the card cage in the VMEbus system.

11-1/11-2

CHAPrER 12

SUPPORT INFORMATION

12.1 INTRODUCTION This chapter contains connector pin signal descriptions, schematic diagrams, and a parts list for the MVME320.

12.2 CONNECTOR PIN SIGNALS

Table 12-1 lists the VMEbus signals on connector Pl giving the signal mnemonic, connector and pin number, and signal characteristic. Connector P2 is not used.

12.3 PARTS LISTS

Table 12-2 lists the canponents of the MVME320. Figure 12-1 is the parts location diagram. The parts list reflects the latest issue of hardware at the time of printing. 12.4 SCHEMATIC DIAGRAMS Figure 12-2 (6 sheets) contains a detailed schematic diagram for the MVME320. This schematic diagram represents the latest design. Occasionally, minor canponent changes are made at the factory. Therefore, when replacing a canponent, always use the same value as the defective canponent event though the schematic diagram may indicate a different value on type.

TABLE 12-1. Connector PI Signals

CONNECTOR SIGNAL AND MNEMJNIC PIN NUMBER SIGNAL NAME AND DESCRIPTION

ACFAIL* 1B: 3 AC FAILURE - Open-co1lector driven signal which indicates that the AC input to the power supply is no longer being provided or that the required input voltage levels are not being met.

IACKIN* lA: 21 INTERRUPr ACKNcmLEDGE IN Totem-pole driven signal. IACKIN* and IACKOUT* signals form a daisy-chained acknowledge. The IACKIN* signal indicates to the VME module that an acknowledge cycle is in progress.

IACKOUT* lA: 22 INTERRUPr ACKNcmLEDGE OUT - Totem-pole dri ven signal. IACKIN* and IACKOUT* signals form a daisy-chainoo acknowledge. The IACKOUT* signal indicates to the next module that an acknowlooge cycle is in progress.

12-1 • TABLE 12-1. Connector Pl Signals (cont'd)

CONNOCTOR SIGNAL AND MNEM)NIC PIN NUMBER SIGNAL NAME AND DESCRIPTION

AMO-AM5 lA: 23 ADDRESS MODIFIER (bits 0-5) - Three-state driven lB: 16,17, lines that provide additional information about 18,19 the address bus, such as size, cycle type, am/or lC: 14 DTB master identification.

AS* lA: 18 ADDRESS STROBE - Three-state driven signal that imicates a valid address is on the address bus.

A01-A23 lA: 24-30 ADDRESS bus (bits 1-23) - Three-state driven lC: 15-30 address lines that specify a memory address. BBSY* lB: 1 BUS BUSY - Open-collector driven signal generated by the current DTB master to indicate that it is using the bus.

BCLR* lB: 2 BUS CLEAR - Tot~pole driven signal generated by the bus arbitrator to request release by the current DTB master in the event that a higher level is requesting the bus.

BERR* lC: 11 BUS ERROR - Open-collector driven signal generated by a slave. This signal indicates that an unrecoverable error has occurred and the bus cycle must be aborted.

BGOIN*­ lB: 4,6, BUS GRANT (0-3) IN - Tot~pole driven signals BG3IN* 8,10 generated by the Arbiter or Requesters. Bus grant in and out signals form a daisy-chained bus grant. The bus grant in signal indicates to this module that it may becane the next bus master.

BGOOUT*­ lB: 5,7, BUS GRANT (0-3) OUT - Tot~pole driven signals BG30UT* 9,11 generated by Requesters. Bus grant in and out signals form a daisy-chained bus grant. The bus grant out signal indicates to the next board that it may becane the next bus master.

BRO*-BR3* lB: 12-15 BUS REQUEST (0-3) - Open-collector driven signals generated by Requesters. These signals indicate that a DTB master in the daisy-chain requires access to the bus.

DSO* lA:13 DATA STROBE 0 - Three-state driven signal that indicates during byte am word transfers that a data transfer will occur on data bus lines (DOO-007) •

DSl* lA: 12 DATA STROBE 1 - Three-state driven signal that indicates during byte and word transfers that a data transfer will occur on data bus lines (D08-o15) • • 12-2 TABLE 12-1. Connector PI Signals

CONNOCTOR SIGNAL AND MNEMONIC PIN NUMBER SIGNAL NAME AND DESCRIPTION DTACK* 1A: 16 DATA TRANSFER ACKNOWLEDGE - Open-collector driven signal generated by a DTB slave. The falling edge of this signal indicates that valid data is available on the data bus during a read cycle, or that data has been accepted from the data bus during a write cycle.

DOO-DIS 1A: 1-8 DATA BUS (bits O-lS) - Three-state driven bidirec­ lC: 1-8 tional data lines that provide a data path between the DTB master and slave.

GND 1A: 9,11, GROUND lS,17,19 IB: 20,23 lC: 9

IRQl*-IRQ7* IB: 24-30 INTERRUPT REQUEST (1-7) - Open-collector driven signals, generated by an interrupter, which carry prioritized interrupt requests. Level seven is the highest priority.

LWORD* lC: 13 LONGWORD - Three-state driven signal to indicate that the current transfer is a 32-bit transfer.

SYSCLK 1A: 10 SYSTEM CLOCK - A constant l6~z clock signal that is independent of processor speed or timing. This signal is used for general system timing use. SYSFAIL* lC: 10 SYSTEM FAIL - Open-collector driven signal that indicates that a failure has occurred in the system. This signal may be generated by any module on the VMEbus. SYSRESET* lC: 12 SYSTEM RESET - Open-collector driven signal which, when low, will cause the system to be reset. WRITE* 1A: 14 WRITE - Three-state driven signal that specifies the data transfer cycle in progress to be ei ther real or write. A high level indicates a read operation; a low level indicates a write operation.

+SV STDBY IB: 31 +S Vdc STANDBY - This line supplies +S Vdc to devices requiring battery backup. +SV 1A: 32 +S Vdc Power - Used by system logic circuits. IB: 32 lC: 32

+12V lC: 31 +12 Vdc Power - Used by system logic circuits.

-12V 1A: 31 -12 Vdc Power - Used by system logic circuits. 12-3 • TABLE 12-2. MVME320 Parts List

LOCATION/REFERENCE MOTOROLA DESIGNATION PART NUMBER DESCRIPTION

84-W8285BOI IWB for MVME320

Cl 21NW9629A16 capacitor, mica, 50 pF at 500 Vdc, 5%

C2 2lNW9629A22 capacitor, mica, 82 pF at 500 Vdc, 5%

CIO~16,C22,C25, 2lNW9632A03 capacitor, ceramic, 0.1 uF at 50 Vdc, 20% C29~31,C34-C37, C41,C44~47, C5~53

Cl7, C24 21NW9629A30 capacitor, mica, 180 pF at 500 Vdc, 5% C18 21NW9629All capacitor, mica, 33 pF at 500 Vdc, 5% C20 21NW9629A47 capacitor, mica, 0.001 uF at 100 Vdc, 5%

C21,C32,C38,C42 23NW9618A79 capacitor, 100 uF at 25 Vdc, 20%

C25 ,C26 ,C49 21NW9604A76 capaci tor, ceramic, 18K pF at 50 Vdc, 5% C27,C33 21NW9604A07 capacitor, ceramic, 2200 pF at 50 Vdc, 10%

C28 23NW9704BOI capacitor, 4.7 uF at 10 Vdc, 20%

C39 21NW9629A02 capacitor, mica, 10 pF at 500 Vdc, 5% C48 21NW9629A06 capacitor, mica, 82 pF at 500 Vdc, 5%

CRl, CR2, CR3 48NW9616A03 Diode, IN4148/IN914

Jl,J2 28NW9802F98 Header, double row, 20-pin J3 28NW9802F99 Header, double row, 50-pin

JWO,JW4,TP2 28NW9802DOI Header, double row, 2-pin JWl 28NW9802D05 Header, single row, 8-pin

JW2 28NW9802B21 Header, double row, 6-pin

JW3,JW4 28NW9802F97 Header, single row, 13-pin

JW5, JW7, TPI 28NW9802D04 Header, sing Ie row, 3-pin JW6 28NW9802F96 Header, single row, 12-pin

Ll 24NW9708A03 Inductor, 100 mH

LEDI 48NW9612A49 LED, Red I PI, P2 28NW9802E51 Connector, 96-pin 12-4 TABLE 12-2. MVME320 Parts List (cont'd)

LOCATION/REFEREtCE MOTOROLA DESIGNATION PART NUMBER DESCRIPTION R1 06&w-124A39 Resistor, film, 390 ohms, 1/4 W, 5% R2 06&W-960D81 Resistor, film, 68.1K ohms, 1/8 W, 1% R3,R8,Rl1,R12, 06&w-124A65 Resistor, film, 4.7K ohms, 1/4 W, 5% R6,R20 06&W-124A49 Resistor, film, 1.0K ohms, 1/4 W, 5% R7,R17 06&w-124A45 Resistor, film, 680 ohms, 1/4 W, 5% R9,R10,R13, 06&w-124A73 Resistor, film, 10K ohms, 1/4 W, 5% Rl6,R21 R14 06SW-960B93 Resistor, film, 909 ohms, 1/8 W, 1% R15 06SW-96OC50 Resistor, fixed, film, 3.24K ohms, l/BW, 1%

R18 06&w-124A56 Resistor, film, 2.0K ohms, 1/4 W, 5% R19 06&w-124A81 Resistor, film, 22K ohms, 1/4 W, 5% R22 06&w-124A41 Resistor, film, 470 ohms, 1/4 W, 5% R23 06&w-124A37 Resistor, film, 330 ohms, 1/4 W, 5% R24 06SW-124A33 Resistor, film, 220 ohms, 1/4 W, 5% R25,R28,R31,R33 o68W-960D47 Resistor, film, 30.1K ohms, 1/8 W, 1% R26 o6&W-96OB18 Resistor, film, 150 ohms, 1/8 W, 1% R27 o68W-96 OBO 9 Resistor, film, 121 omns, 1/8 W, 1% R30,R32 o68W-960B43 Resistor, film, 274 ohms, 1/8 W, 1% R34 o68W-960D05 Resistor, film, 11K ohms, 1/8 W, 1% R35,R36 06SW-124A43 Resistor, film, 560 ohms, 1/4 W, 5% R37,R38 06SW-124A35 Resistor, film, 270 ohms, 1/4 W, 5% RP1,RP3,RP5 51NW9626A53 Resistor network, 8-pin, 4 per package, 47 ohms RP2 51NW9626B02 Resistor network, 8-pin, 7 per package, 47 omns RP4 51NW9626A41 - Resistor network, 10-pin, 9 per package, 4.7K omns

12-5 • TABLE 12-2. MVME320 Parts List (cont'd)

LOCATION/REFERENCE MOI'OROIA DESIGNATION PART NUMBER DESCRIPTION

RP6 51NW9626A67 Resistor network, 10 pin, 8 per package, 220/330 ohms Ql 48NW9610A34 Transistor, NPN, 2N5320 Q2 48NW9610A13 Transistor, NPN, 2N2222 29NW980SB17 Jumper, shorting, insulated

14NW9416AOI Pad, mounting (for Ql)

84-W8285BOI MVME320 PWB assembly 7D,7H 51NW9615E91 I.C. , SN74LSOON 6G 51NW9615C22 I.C. , SN74LS08N 6E,7G,12K 51NW961SE93 I .C., SN74LS14N 7F,8A 51NW9615C24 I.C. , SN74LS32N 6F 51NW9615C25 I.C. , SN74LS74AN 11K, IlL 51NW9615FOI I.C., SN74LS86N 7L 51NW9615C26 I.C. , SN74LS123N 7E SlNW9615HS6 I.C. , SN74LS136N 7A,9H SlNW9615C69 I.C. , SN74LS138N 7K,9G,12C 51NW9615E84 I.C. , SN74LS153N

2D-2G, 2DE, 51NW9615P19 I.C. , SN74LS163AD 2FG 7C SlNW9615C29 I.C. , SN74LS174N 4EF 51NW9615E95 I.C. , SN74LS240N

5EE' 51NW961SF46 I.C. , 74LS241N 10D 51NW9615FO2 I.C. , SN74LS244N 3D, 10F, lOG, 51NW9615F52 I.C. , SN74LS273N 10 HK,lOL

3G SlNW961SE98 I.C., SN74LS373N I 3EF 51NW961SL69 I.C. , SN74LS377N3 12-6 TABLE 12-2. MVME320 Parts List (cont'd)

LOCATION/REFERENCE MOTOROLA DESIGNATION PART NUMBER DESCRIPTION

9D-9F SlNW961SF38 I .C., SN74[s393N 5C SlNW961SN81 I.C. , SN74[s642-1N

2AB,2C SlNW961SH89 I .C., SN74[s64S-1N lH SlNW961SN77 I .C., SN74[s688N 8K SlNW961SD32 I .C., SN74S02N 8D,12A SlNW961SK71 I .C., 74F04PC 8H SlNW9615CS6 I.C. , SN74S08N 6D SlNW961SK68 I .C., 74FllPC 6A,6B,6H SlNW961SD27 I.C. , SN74S32N 8G, 8L SlNW9615C97 I.C. , SN74S112N

7B SlNW9615C34 I.C. , SN74S138N SAB, 6C SlNW961SF79 I.C. , SN74S240N lD,lEF,lG SlNW961SG07 I.C. , SN74S244N 13EF SlNW9615C9S I.C., SN74S74N 9A SlNW961SK69 I.C. , 74F1OPC lOA SlNW9615J39 I.C. , 74F74PC 12H SlNW961SL98 I.C. , AM26[s3 lPC llH SlAWl131X41 Progranmerl PROM llG SlAW4800BOl Prog ranmerl PROO SD SlAW4644B13 Prog r ammerl PROO

2L SlAW4803BOl Prog r anmerl PROO 2HK SlAW4803B02 Progranmerl PROO lL SlAW4803B03 Progr anmerl PROM llD,12D SlNW961SN83 I.C. , AM2982SDC

4AB SlNW961SN84 I .C., AM29826DC

4C SlNW961SP24 I.C. , N8X371N 12-7 • TABLE 12-2. MVME320 Parts List {cont' d)

LOCATI ON/REFEREOCE MOTOROLA DESIGNATION PART NUMBER DESCRIPTION

3AB,3C 51NW9615P41 I .C., AM2953DC 4HKL 51NW9615N06 I.C., N8X305N 4D 51AW4722B02 Programmed PRCM 8F 51AW4722B04 Programned PRCM 10BC 51NW9615P12 I.C., NE530N lOC 51NW9615A28 I.C., MC4024P 12L 51NW9615F60 I .C., MC3486P 4G,5G 51NW9615N51 I.C., UPD2149D OF 51NW9615E11 I .C., MC780SCT 12F 51NW9615P20 I.C., DM74LS952N 8C 51NW9615N82 I • C., s)5000N 9K 01NW9804B83 Digital delay module, 50ns

8E 01NW9804C81 Digital delay module, 2-70ns 6A,6D,6F,6H,7G, 21NW9634A01 capacitor, ceramic, 14-pin 8D,8H,9A, lOA, 10C,12A,13EF 7B,8L,9G 21NW9634A02 capacitor, ceramic, 16-pin 12EF 21NW9634A03 capacitor, ceramic, 18-pin 6C,8F,10D,10F, 21NW9634A04 capaci tor, ceramic, 20-pin 10K,11 EF,l2G

3AB,3C,4AB,llD, 21NW9634A05 capaci tor, ceramic, 24-pin 12D

2L 21NW9634A06 capaci tor, ceramic, 24-pin

8C 09NW9811A16 Socket, I.C., DIL, 16-pin 1L,2L,2HK 09NW9811A16 Socket, I.C., DIL, 24-pin

4HKL 09-W4659B25 Socket, 25-pin 4D 09-NW981lA78 Socket, I.C., DIL, 20-pin

12B 48NW9606A53 Crystal, 10 MHz

I 12-8 Jt 2 .122 JS q 0 CL....L.__ ---'. IR" ::c::::J;,.~J ""1:==:::::J1 I ~m;~~==! I u lEDI C39 c::::::J• 1"11:54. C~74l514 I ~261S31 I ~c..~_4l_52_7_3 __-, O~745'4 112 4' CS4 11.1-___..--4;23 ~~ 11 ~74lS88 U > 741516 I) 825129 I >825147 in ~Su ~ ~ vn r-=-..,..,..=---...... -----,.~~==------, .-____--.T,P2D .------, :' 28 1~74L5273 1:~74l5273 IW4l5273 I c..>-,-74~l52:.:.7...:3__ -,IJVtJ 7415244 ~ HC41124 U2IESSII I r.)I-F_7_4_-,11J

9>74lS123 I > DELI I >74l51SB I r:::->7-4l-S-IS-3-'1 >74lS393 I >74lS393 r-----1 :8Jv~ya ~,-_FI_._---,19 ~ r;:;;-] [iR3r------, 8>745112 I > 74582 I d 74588 I > 745112 I dPA..l6R6 I 2DEl2 I r-~7-4S-'-4--1 trp d 50s..,. I ~I d74lSse 18 -c=J-R28 38 7~74lSI23 a74lSIS3 I 2 74lSlll I d 74lS14 I r-~-74-lS-'-1I -~-- d 74lS174 I d 7451:58 I '--~7-4l-5-1S-8---'17 :~B :=g d 74532 d 741574 I r-d7-4-lS-I4-'1 274511 I C21 d 7452411 I d 74Sse I d 74Sse Is '-62c=JR~ H FED ~ C B A I > 74CSZ41 I >,---,82~S.... IS",,3,---_-,1 0 > 74lS642-1 50 d 7452411 5 '" I > 74l524. ,------,IPAlI6R6 o~ Rll29826 I d I d 14 CISCJ CISCJ

I d 74lS577 I d74lS275 d Rll29S3 13 } 3832 I~- F E 0 C B A 74lS64S-1 d74lS64S-1 L CIIK H > ~O ~02 RIL.C::J- -c:::J-R21 €) 18 .. IOi~'''-t;;..;....==-_--'I c..~7_452~44~_--'1 ~ 745244 I ~t;.;7-,-452~44~_--, c::::::::::=::iCJ CI2 :D CI4 CIP D .------.IJVI JV:LS ==::::t::P=JV::4:::::JI 0 1 f UJIiI - 1.N61 I -0 I ~ 2 ~------f 3 O~------~------I P2 PI

FIGURE 12-1. MVME320 Parts Location Diagram •

8 I 7 I 6 I 5 4 I 3 I 2 I 1 REVISIONS ZONE REV De5:RIPTIQN OATE APPROVED NOTES: A2 IN1TAL RELEASE BY /" I. FOR REFERENCE DRAWIN13S REFER TO SIGNETICS /" . BILL(S) OF MATERIAL <01-W3285801 B REVISED AND REIDENTIFIED ,;,t;)) FROM SMVME4-300 FOR '0/~. 2. UNLESS OTHERWIS~ SPECIi"IED: CONTROL AND PRODUCTION 4/=/,:,/­ ALL RESISTORS ARE IN OHMS, ± 5PCT, ASSEMBLY BY D 1/4 WATT. MICROSYSTEMS D R. W. 3/26/84 ACD ALL CAPACITORS ARE IN UFo I/q;-~ c peeN 264: SH I :U_r:uATc._D kEV ALL VOLTAGES ARE DC. STAT OF SWEETS. 5H 7.., 3. INTERRUPTED LINES CODED WITH THE ADDED CONNECTION BETWEEN ;tJ SAME LETTER OR LETTER COMBINATIONS '0£-1 AND ~G-3. DE.LETED ~ CONN BETW 5E-1 AND 6G-7... ARE ELECTRICALLY CONNECTED. ADDED 8K,9L,SIGI,::'IG2. ,/. ,/~.­ 4. DEVICE TYPE NUMBER IS FOR REFERENCE AND SYSCLI<. *'. SH'3: ADDEO 1;2~8~ 51GI,SIGZ AND 5YSCLK*. - ONLY. THE NUMBER VARIES WITH THE 5H 2 THRU (':REVISED MANUFACTURER. AND UPDTD. SH TO SH REFS. 1/,,& - 5. SPECIAL SYMBOL USAGE: M.H. 1-14-\35 Oc.T fry' * DENOTES - ACTIVE LOW SIGNAL. 6. INTERPRET DIAGRAM IN ACCORDANCE WITH AMERICAN NATIONAL STANDARDS INSTITUTE SPECIFICATIONS, CURRENT REVISION. c c

B B

f-;:; g g IS> W CJ ~ 'W - ·N ~~~~~-.~~~~~~-=~~~ REV STATUS' C' C I C I c: , C Ie' Ul IOF SHE E TS I I I 2 I 3 i 4 I 5 , 6 . ~ :\UNLESS OTHERWISE SPECIFIED, / THIS DOCUMENT CONTAINS INFORMATiON 1-= PAQPRIETARY TO MOTOROlA INC. AND SHALL DESCRIPTION , PART NO \ ~MENS;ONS IN INCHES / NOT BE USED fOR ENGINEERING DESIGN. '\ ' / PROCUREMENT OR MANUFACTURE IN WHOLE OR (jJ:::. ~C DI"ENSI~r IN PART WITHOUT CONSENT OF MOTOROLA INC. Q MOTOROLA INC. ::~.~ DRAWN BY R . WOO 0 5 DATE MOS Integrated Circuits Group A REMOVE AlL BU~ /' SHARP EDGES 3126/84 MlCROSYSTEMS ,~ECKEq.8Y A.c..Dl:.fOQES I" OATE 2900 South Oiablo W;Jy, Tempe. AiIZClI:! 85282 'j,SA A SURfACETexn!y !vad!~~.U-(' ,fJ.-/., .. - d_c.p,J . ~M';ROINC""" PROJECTL~ERP'W'5IELE"' ..... ~.- ... 1-5';

12-11/12-12 8 I 7 I 6 I 5 4 I 3 I 2 I 1 AEV1SIOHS BG1N ZCHE REV DESCRIPTION DATE APPIIOVED I lelsEE SHEET I I>;6;-...... L--I I L .~I I WRI2~~r--L1 5 '" 120 II 4 7 WAS t-j8;"9 2 3 0-:4;-1001----' ?R2 9!...-W1J ~ 6 r--..I17 14 6 L rtfft 3 I I p=:-2~---..... ~ :10K 70 74LSOO 6F 74502 ~~'12A 10 9 10 I@A:lIW4AIT*15VRSI* HIGHiiR JW4 ~ 9 (,01 BGIN* 74LS74 I 8K r!=----...,-§£!]~I:51G2 De '1"". 14 VRS2* I __ ...I !l L_ 5. 1 7 MCLK 74504 ~, 13 VRDL* BGOUT* 8 74LS642-1 2~5 r WC§~D71}-j-+~~==j",k=;1;:;2;,======l===:::j:=:::::-l-+J 14- 78 :T

IBOI~E~X~8~B~SY~.-~:::::~::::~::::::::::;18~~~M5L.Q_~_D~~2,... _l.W~_~ 7- .Y'"S~~L=~K.~*~~~_~3~9L,Q_ ~~74 L_~ __"123r--..~I~2~2~~~~~~~~~~~~~~~2~ 3"'9 ~S138 ~~IOt::~~:~:t~:t~:tt~:::~:t~:::::~~ §g~~* ~R I ~ , 4LS642-1 74L~,r 4 11 l---...JoE----t-tl~THTt_-H_t---i!B RBU '" - 'IBoI5t-~B~R~3~.-.~2~~J{~I~~-=8~R*~~7DCSC~I~3r+_~6 6G 1 ,--,~1~2,--~~-__~V~C~C ______-+_~~ ______4- __-t ____ +--t ______+--t-r~-t~rt--t~t---, o I'B I3 BRI * 4 I L • ..J 13 RBlE~@ 4AI P5 I'BoI2 BRO. 5~ I '1--J ~74LS104 ~74L514 74LS32 'f:oiii L - - ---l _ I 6E 2 5 6E ;:o",,6_--=DT,-,-,-,AC1<~S:..*,-,-_-t-' 'IB l4 BR2. 3 I I I 5 CBRM " 7F 8US REQUESTOR ,....----t_------' :f~=====3=~======~fR~f~~~~~~~I~~~~~~~~~~~1~lt~~ltl-l~

SYSRST as SYSRS . 51GI * DATXCY * 41f'D"'A"'TX".,C..,Y-'*"--____--. B~r=-li=-=-=-=-=-=-=-~~~;-;-;-;;~~~:'~i=::::::::::::~r=::~~~~~::::::::~~[[~::::::::=t1=tt~~~~~~~~~/~:V~(;;;;;;;;;=====~~ II ~ 13. ~ c VCC c ~ EXA08 9.----.., " 1*-++-f_--I~Ii7VO", (LSB l I VO 3 ~2~2H---!------.------_t__hI_+_t_t_~EX;f.D;_;;7:Lr;-;;-:-o!!1A~0J!J8 / I V I 8 9 CBR tff4 EXA07 12 8 I-'.:-++-f_--I-$IV~'.'I' IVI 4 ~2:='H--!------+-.------_t__HI_+Tt_FEX~D~~ ~ 15 CBERR 02 ~ EXA06 7 1:3 IV2 / IV2 S 20 EXD rtA:6 / ~ 3D R22 ~ EXAOS 14 6 &-+-+-+---I-:'IV""3"'., I' IV3 6 4AB 19 EXD rtA:5 / ~ 74LS273 5 CWRT -f3Ail 470 ~ 1'. IV4 7 Am23826 18 EXD l'A04 / IV5 17 16 CDSI ..F.;;;'j 10 I IV5 8 17 EXD l'Ao:3 ~ 2 COSO ~ LED I + 745244 Pjg V.,---~IV:';-6~-:9::i 16 EXOIr"fA:2 ~ 19 CLDEI"'= _I¢I P- V CMsalIV7 10 15 EXD0t-tA:! / L.r.-MI ~ V L,..--rI--rI-!E~N.... ~ ~. I ...... --;;= EXA04 S 15 IV4 ,Y 2Y23Y ,4Y REGI5TER RI3 DD~1\EB~SS H---.wIY 111' 3:/ 6A [ ~ EXA03 16 ~4~t~:t~~ IV5 .!..I.. ~~ ~'--- VME CONTROL REG WTCRCll(\.'- __o=2..---H-t-+----t-~B MCLK* .... ~ EXA02 3 '17 DATA BUS 1_~R~E~C~EI~V~E~R~S4-~_+4-~~======~~~~~~~~ 86 ~ EXAOI 13 1-i2rr+-H~ IV7 .. 74S32 IA '30I~=~-¥"I DRIVERS 9 RECEIVERS ~i~~ I~ ~~.RSTVECT ~ ~'-}~-B----' IVO 23 IV07 2 ~ IV2 7 ~RGMD ~IVI 22 IVD6 3 r!+- r~ ~61~""'ACKR IV2 21 rVDS 4 16 vi~~ '~ 74~~i40 ~ WRITE IC ol5 EXA23 12 8 12 6 IVO V'IV3 20 ~ ____-4~~~1~V~D~4~S 2AB ~ ~ IV5 16 1+J;4"------f-++-l---,-t--1~C3 AB I IC 016 EXA22 7 13 13 2E ~-1-r---1Hr.1~V~I'~IV45 19 ~ __--I~~-;1;-;,V7.':D,;;-3~6 LS645-1 14 ~~------_+_t_H--~-t-~~3AB2 IC 01 EXA21 14 6 14 74L5163 4 IV2 ~IV518 IVD2 7 13 I'~ 17 3AB3 f>L++-_-H13 .... 1...,V3",...,l' V 17 IVDI 8 12 ~ p-eFDBKI6 B ~ 1VDO 9 II VME ~ __~9 ______1-+~ B IEF I 9 DIR STATUS II 191 8.( 6A .. '1'0 7L ~ 745244 Pjg ~ !-:,O"""'''''''''''''''''''''' ---=c- RDSTIE'" "'-..----J::>-,-,IO<--_-+~ P- ~ 15 9 I 74532 rvo 12 ~8?------H-+-Ir-t+~-~=. o· 0 "j"C7jC EXA20 S 15 II 6 IV4 ~ ~CYACTIV ai ~ rU4 3C 8ERRR* ~ ~EXAI9 16 4 12 2F 5 1VS VRUl, * -@9DBOIR EXAI8 3 17 13 74LSI63 4 IV6 iITr 74532 13 ~.I 89 SEF 2 :~2 ~g~~IL 0 tc.2I EXAI7 18 2 14 3 IV7 V . ':l 74LS241" IC.oI2 21 "'-"'-"'-' .---Z ~EXAOI~SY5RESET* 10 7L 10 I I 14 : S 6B 12 I I ~19 ,;5 ~II VIVO 23 ~1,_..... --~~~~:.=t;t~jI~V~175~2 18 EXDIS~ ~ r-t5 EXA02 8a ~ - r-...,.,. __-r;-'~ EXA03 to IS IVI 22 2 IVI4 3 17 EXDI4~ IVD ~I V2 21 H3:-----I-+-f-,1"'V""1""3-4-;;1 16 EXD 13r-tc.6 rrc:2' EXAI6 9 II II 6 i ,Y 1:3 ~ ~-+-+--+-+-';'IV~I"'_'~ IV3 20 :3C 1-:4o-_____I-+-+-:r:-::v':7'7-2~S 2C I S EXDI 21"fC:5 ' po I'C 02 EXAIS 12 8 12 2FG S L-!R.!.!.D<=ScwT2""E..:*,---!.!;IIC(J [ h;; EXAI4 7 13 13 74LSI63 f-:?-++-++--$IV:7.4 2",_, IV4 I Am2953 '"'6S~---I-t+I,""V:-:-'±1 ~6 LS645-1 14 EXDII rtn - 6A 12 x I'C.24EXAI3 J 14 6 14 r-;--+-+---t-+--$1v~.,;"""r3 ~ '-';-_____+-t-+-"I7V;';;'0~7i;1 1:3 EXDI0rrt:"3 VME STATUS 2 74S32~-[)-'-=-----' p:2 "'. 'V l'LR..l1 I-!r7:,-____--HH--7IV9*-:8~ 12 ~~~: I C. 2 I ~ '~ f'8~ ____~I-+~I~ve=---99 ~I~I------r~~~~~ ~~I IG 9 7L 745244 ~ W J'C ~ ...... -,.,... ~{~ p- 9 15 9 drL-----4-1H--i3~TO DISK* =TO MEM * A ~~I 5 IS II 6 .IV4/ A 'tC:2' EXAII 16 4 12 2G 5 .1VS ~ EXAIO 3 17 13 74LSI63 4 IV6/ IVBUS tte:2c EXA09 18 2 14 :3 ./ '-'-"-!:; IV7~'------_r------t_------_t~~ 40 NOTES: ~II 107L ~ INDICATES SHEET NUMBER D FSCMNO. INDICATES VERTICAL ZONE DRAWING NO.63DW3285B 5C INDICATES HORIZONTAL ZONE SCM.E:NONE SHEET 2 OF 6 9-82 8 I 7 I 6 I 5 t 4 I 3 I 2 I 1 FIGURE 12-2. MVME320 Schematic Diagram (Sheet 2 of 6)

12-13/12-14 8 7 6 5 4 3 2 1

OESCRIPTION SEE SHEET I I I - I I coso C2r-~--~------, CLEOI'" C II 6E I I 5C ...fi SYSFAIL '" IC'IO 9 74S32 VCC 74LS642-1 8 RP4 I ...... JW6 47K I'f~ I 10-. 10 66 CBERR 2C 17 5C 3 EXBERR .... D D50 2~-r--'-~~-/ I r------'2 SAIO 101 i8 8 9 IC' " D 13 3' ~o-+'14~----~S;:::A!.!.I>!..1------"9~.-;,-"'------~1 I ~ EXA 10 74LS642-1 I ~""'~5"",,,-o!6 SAI2 8 6 ~EXAII r ______~ ~8~6E~9 ~1 IV3~ 13EF ~ 7, !B SAI3 7', 13 IH ~EXAI2 A ~ w ~I I I SAI4 6, 4 !-f-EXAI3. 74LSI4 WTCRC*@--ll 74S74 Vl II 12 SAI5 5' 15 74LS6881-t6-EXAI4 ~ 8E 6CLR2B 5 5C 15 BCLR* 16'2 ~ OEL2 10 L _____ J 74L5632-1 ~ 70nSEC r-;,J~-2-l: ~l_·_~ r_~L-1-:-9.,.,---,~EXAI5 5 5A8 ~ r-t,---.J - I 18 2 EXOTACK* IA·16 745240 5 6 -= AB2 4J 6A L 74LS642-1 ABI '~6 74S32 P5§ 51G2 AB3. os TXDATA* 18 DTBM~ 17 74S32 START",m---i 16 ~5 C B BERRR .. (STATUS-21 G C LOAOE~r-----~~~i~~-r+~~~:: 66 (4 TOMEM"~ 50 3 4 18 2 IRQ'" D50 14 6 5e TOOI5C"~.~ ~ 825 I 53 t-'--"----t-+-"'-+..:c....t-I-t---...!.::!<5.~ AS .,.,J9 74LS642-1 RDRI 3;;tC6I FPLA.~ ~ .. 131.~ lEXOSO * IA·I 5 17 '--/illlCIRQ ~24~ 6 16 4 4 40 13 13 ~ OTACK 7 PALIGRS 80 12 281 CYACTIV DTBM 19 FPLA ~ 151.~ EXAS .. 1 IA·IS 74S04 V 5 ,,-19 51 G pl><.5-----12c7 1 EXOSI .. CDS I c ILh~ IA'12 [:/" 9 vce iACKR I RI6 74S04 5 i 1 7F 6 48 VMEINToI< 10K 74504 14 I 2 2 ~.--~--~ao~~~--~------~~~~------~ __ ~ 74L532 B IACKIN", IA· ~~~ ____~-t-+-~3~80~4 ______~8~ 74LSI4 B

6 14 EXAMO IACKR* 2 ~ 4 16 EXAM I I 70 \. 3 EXAM2 fB:t7 f 12 IACKOUT II ./ 6C 3 ~ :i--i-~l:, 5 EXAM3 ~ t5 9 ~ EXAM4 (J) JW21 : AOOR MODIFIER 745240 r.1~8~------~~~------r+--~~~--; IA'2 I I ~ 7 EXAM5 ()J I , ~1~S~Y5~C~L~K~"~~ __~4~~12 3 EXSCLK IA-IO WIREO=30 HEX Ti ~IC'14 0 9 EXL'I.ORO" IIC'13 VCC '"3 --2 -I .J 8 12 EXWRITE", ~ 1LEQ* 19 74S04 ~ ()J N RI2 19 13 12 12 74LS32 6E 8 WRITE CD 4.7K so DATXCV* C8 9~ 74L532 (]l I~ B2 8A " 74LSI4 CD w~ 06 13J (0) 8A }8~+-.....__ ~ R8 I ~ 2C2 CWRT 0J 4.7K ~~ R" 13,.-- 4.7K }!..!.__ -+- ____~R"'15fv-_VCC A LJv" 680 A

OflAWlNGN063DW3285B SHEET 3 Of 6

9-82 8 7 6 5 t 4 3 2 1 FIGURE 12-2. MVME320 Schematic Diagram (Sheet 3 of 6) 12-15/12-16 8 I 7 I 6 I 5 4 I 3 I 2 I 1 AEVlSIONS

D D AS ~ IL EXT LEFT {--!J1;gg R2969 I L--.-,...... ,.....,...... ,~~_...... J JWO O'O-r0

R6 IK __O-C\lr1qtl'l\O('. t-I __ H~_ 0-"'r0<:tU"l .or-

R2 68K

O-"'r0

I I 74L500 9 74L506 R8U*~ I ".3 2 6H~ 7H \r-,;L.3 __--.J RE58 * ~ 6G ).S6'-----+--+------+-----~12~l'--..... II VMEINT 26 2 f SYSR5T* C2 10 j 131 6G J}.!-!-..------, B 74532 10 74L506 B ENWR*6D6~------9"-1i1 60 UL IIj 10 F 4 10 74511 12 WAIT 5 R37 12 0 Q ~R5TVECT6 ~ WCKL* ~J 5 * II 9 3 J 6F 270 TRUP* 6 10 8F I I " 74532 7 74L574 6 12 7H B PALI6R6 6G ~> 74~~12 ~+--"I-cP 74~~ WRII * 05 J 6H 6 TROWNI liE 6 9 / 74511 6 R38 .--ll ~ e-2 K ~K p- ~KL- __...J MCLK* 2621--4-'-£.._/ 74LSOO 5 74508 270 - 13 15 14, 15 4 6H)2- WAIT 60 L-.-I---...... --lSD WA I T * '----.... 9 74532 03 TROWN 87 8 = 10 6H CL ~14I-"'-"-t._./ IVL L-______~------*_---~------__~~P~5~~P5

A A

DRAWING NO 63DW3285B fSCllE:NONE SHEET 4 Of 6 9-82 8 7 I 6 I 5 t 4 I 3 2 I 1 FIGURE 12-2. MVME320 Schematic Diagram (Sheet 4 of 6)

12-17/12-18 8 7 6 5 4 3 2 1 REVISIONS ZOOE REV oescruPTlON 74S04 74S04 C SEE SHEET 1 C36 9 8 TPI I 1 I 1 112 ~2. 12A I ~ -i£§CLO - 90 R35 .IM R36 r-____~1~37G~pI2~------+_------~~~--~ I 74LS393 74LS82 390 10/8 390 r!£ J~ 74LS32 5 ) 7FCj 6 D 10 t---l t--- II 6A CLOCK D 68mHZ C39,I0 ~ I I 15i OSIN OSEP 46 ,.....6...... ----0;.;11 .---.. 4 4 - r------+_------H·...:V~:.....-~~ ~. ~~C7~ 13EF lL.. ~ ~"K (I 5 .------.,~ I II L~. I ~ 7K CL 4A; i> 74S74 ~ lOG ~ 74Ls'86 ~r>-'''':''''---V;18;) ilL r( 2 ~O 74LS153.L \\ -.l I SYS CLK*ill- ~ veo at <~ r- L....---,.,....,---' P 7i (§ 10L d B 9F 9E r-+:!:1121 74LSI4 Y,--I ----1--' 12 1 1 15 I 9 8K 10 74 LS393 74LS393 12 DSOUT 0,et-<--t-I-+:ot r'-'" 74L5273 Cj3 ~ 74L5273 .,.-:0' ..£ 2 ~ ~ ""9-+-__--=.1.,1 7G 10 6 DATA I . L. 14 502 II 10 5 6 II '""'4"--1---="2""1 END ~ fe-J ~ ~~ 6\ RWI~ O""IC::;0---If-4~-H3C P5 ~ ~ 6 ~\.!JL. TP2~ ..------++- II J 9 4AI '-="51------11-'-1I C~t------1r-7_, 74L5186 ENOl 8 r-= ~ - 0 :J.!.; 74~?12 ~ ~ '-+-t-l-++-+-r2-,~"i ~ rJ X I ill K ~ ______,3 L--______'~.~

14 C31 I~ 13 312.~~4~-----+-+;------__, PRES II 8K c *8- ECC C c 74502 74L514 V 9G +li 74L515;) 3 I ·31 7805 LI c4~1 c321 -l- CR3 IOOUH::!:C31 C28:i: q. IN4148 4.7MT 1001l:¢.25V I~Oll:¢. 25V ~.I + CL --1.§.... C25 10V\7 ~ +r 8 5 .02~

0: - R30 R32 R31 U ~:f-~-5%-----' RI4 910 ;~ J.. 9 ~ 2T~ f~.O r----+------I----I---'VVI.----l-+-----. 2 ~12VC;~ R 15 1"1. FLOPPY D. R24 l~5 I 2 4 10 14 ~q/~ R26 '-=- _ 7 .1';; 3.3K READ DATA 220 ~5 ~ 14 9 150 6 i1. 2 .1": ~ IDA ...... s.2r--Y=G12 10A""- 1"1. 108Cr---I~..-VV\r--t----'-_._...... _._!:.jIOC .IM 6 r~44J'66~1- ______...... __ -+=-1 9 7G 8 ~ F74 :II 9A 12 F74 R28 21+..... 4 NE530 ~ MC4024 [L.-__....I~ ~ 1 3 12C 7 3 6 T3l II· 1"8'-+-"--V\II~-+,3V'0>AK....-~r v CR2 715 C3H2V §~ HOAT~~ 74LSI53r--+--"~ __7>___'I-"--+-+--- .....>+~-F-10/ -'-';:> 13y~ Rl7 r~% ~28 IN4148 4 ~c L.. ~ B B I~~KM R2219K +5V d! ~ I 8 .J;;;d. ~ II~~ II H~~ ~... ~~~31 9 13 ~TICK'" 9A FlO -~ C20 C24 .OJ II R20 10 14 9A FlO 9 C33 1000p 180 VCO-<)- .---,;1 13 I K r-r1 5% 5.,. rJ l: ~FDHO a. - 3 LSl4J R2S ~~~?O JW7~ 4 5V 30K I ~g5000 + .J2 I I ~------+.~----~-+----+-~------4_--_+------4~~I~~.--_+------~ I 10F Cj4 6 12 R7 ~ 74LS32 ---L§ 74L5273 bJ _____ 4 680 74504 \7 8A 12P1 R33 5 r;b ~ 30K ~'_="91------1~F~3~6IIL~ L...-____-+ __ ___' 13 74L596 2 RI 112 74508

A A

DRAWING NO 63DW328.5B SHEET 5 Of 6

9-82 8 7 6 5 t 4 3 2 1 FIGURE 12-2. MVME320 Schematic Diagram (Sheet 5 of 6) 12-19/12-20 8 7 6 5 4 3 2 1 REVISIONS ZONE DESCRIPTION 2 IV BUS VCCRP6 SEE SHEET 1 1 SIP220/330n 8 ri- 74LSOO l'\ IVO 2..-----,8 rli- SEEK COMPL FDBKI62B "" IV I ~ 1-2-11 -0---71-9 ---+------1 1 20 WAITT*~J.a -}ll-7H II l'\~IV:'::2:;---;-14!1 6 6 IX RWI* 13 r-u- READY IV3 7 100 [3 7 D i'.: 10 TWO SIDED/TROO D 18 r"\. IV4 16 74L32114 4 4 --it DSOUT 505l------,J 1'\ IV5 5 15 5 IG TROOO NOT BUSY IIG-82HSI47 WAIT* A4 t E~~ ",7...... _1....., ~·~i~~*=---;-!Jl~ !-!~'-!7__ ..,,~"+-'.-; ______1~ DISK CHANGE/WR FAULT WR FAULT/WR PPOT 4 IJ 7F 8 3 IIQ97l'y ALL ODD PINS :'I:I~ ~1::I01 --'---'-'<.{.-"'- 12 i~~ ~ --q;;:- (1,3,5,7, ...,49) 45 861L~52 : ~ IV4 / 74S32 13 05 RB*- J IIJ2 ..------Fj C/ ~: ~ PINS 2,4,6,8,11 '=- '::: I"l =r.:C\J:;r;::;or 1 II i"-IV2 8 WRIO* 05/-+-----~ ~1~7-----r_---1~ SEL 2 1'\ IV3 7 ENDE 40·!/-----, 5 DSEP ~1*8------_+------I~ SEL I RW40 i"- IV4 6 Am~~D829 ~1~9------_i----~~ UNIT SEL 0 1'\ IVS S DATA5 ~---j4A7 TRDWN * &9-21 ~:r---::",=",:r.lO=

HWRO* ~-1 "'[r')

12-21/12-22 APPENDIX A

DISK FORMATS

A.I INTRODUCTION

'lhis apperrlix describes 8-inch and 5 1/4-inch hard disk arrl diskette fonnats.

A.2 8-INCH AND 5 1/4-INCH HARD DISK FORMATS

The irrlustry starrlard fonnat for 8-inch arrl 5 1/4-inch hard disks is 32 sectors/track, 256 bytes/sector; however, the MVME320 supports: • Sector 1ell3ths of 128, 256, arrl 512 bytes per sector • Up to 8 heads per dr i ve, arrl • Up to 64K cylinders per drive.

Each sector on the track consists of two fields separated by gaps to allow updating and recovery. The first field in the sector is the sector identifier (ID). The ID field contains four data type bytes for unique identification of the sector. These four bytes are: • Cylinder number • Head number • Sector number • Lell3th code The secorrl field in the sector is the data field containing user data. Figure A-I shows the track fonnat used for 8-inch and 5 1/4-inch hard disk drives.

(Last Sector <------1 Sector------> on Track) ;-YNC~~~-~~lGA;]~:TI~TA -;;I-~-~-;~~;]-~J ~j1 2 FIELD 3 / FIELD 4 ------[- - --L~~:::-:--

3 bytes 352 (NOM) of 4E bytes of 4E (=ZTOL) Byte 1 = Al 2 = FE Byte 1 = Al 3 = XX cyl hi 2 = FB 4 = XX cy1 10 3-258 = user data 5 = XX head 259-260 = XX COC, ECC 6 = XX sector 261-262 = XX ECC 7 = 01 (N) 8 = XX COC1 9 = XX COC2 12 bytes of 00 (2 places/sector)

20 bytes of 4E

FIGURE A-I. Recammerrled Hard Disk Track fonnat (256 Bytes/Sector)

A-I The recordiDJ method used is MFM on all tracks. MFM is encoded using the followiDJ rules: a. Write data bits at the center of the cell.

b. Write clock bits at the beginniDJ of the cell if:

• No data was written in the previous cells • No data will be wri tten in the present cell.

A.3 8-INCH AND 5 1/4-INCH DISKETTE FORMATS Table A-I lists the track fODnats supported on the diskette drives.

~LE A-I. Diskette FODnats

8-Hrn 8-IOCH 5 1/4-ItOi 5 1/4-IOCH 5 1/4-INCH SINGL~ DOUBL~ SINGL~ DOUBL~ OOUBL~SIDED SIDED SIDED SIDED SIDED 96TPI

IBM IBM Fbrmatted the same as 8-inch

TRACKS/DISK 77 154 40 80 160 DATA RATE (BITS/SOC) 250K/500K l25/250K RECORDING METHOO FM/MEM ERROR DETECT CORROCT METHOD l6-bit CRC

BASIC FORMAT: (BYTES/SECTOR)

BUFFERED 128/256/512

UNBUFFERED 128 to 8192 for floppy only TYPICAL SECTORS/TRACK 26 26 16 16 TRACKS/CYLINDER 1 2 1 2

USER DATA 246.272K 985.088K 250.25K 480K BYTES/DISKETTE (SS) (OS, DD) (SS) (OS) 480K (DD)

NOTE: SS = siDJle-sided, OS = double-sided, DD = double-density

A-2 The recording fODnats for floppy disks are similar to those for hard disks. The MVME320 supports both FM and MFM fODnats for single-density and double-density floppies, respectively.

A.3.l 3740 IBM FbDnat This fODnat uses FM single-density encoding on all tracks. Figure A-2 illustrates the track fODnat.

1<-~---1 Sector----> I GAj---r;DEX ~~--~D1GAj;-- ~;~-I;;Ij--;:;~;;J ~4A SYNC AM 1 SYNC FIELD 2 SYNC FIELD 3 / SOCTOR 4B r- --r------r r -- ~ /~ 40 1 byte 6 bytes 27 bytes bytes of FC of 00 of FF of FF 26 bytes 11 bytes 247 bytes of FF of FF (NOM) of FF (=ZTOL) 6 bytes of 00 Byte 1 = FB/F8 (1) 2-129 = XX User Data 130-131 = CRe Byte 1 = FE 2 = XX Track 3 = XX Head 4 = XX Sector 5 = 00 Length Code 6-7 = XX CRe

NOTE: (1) Deletoo data address mark byte:

FB = data field contains normal data F8 = data field contains deletoo data

FIGURE A-2. IBM FMTrack FbDnat (128 Bytes/Sector)

A-3 A.3.2 System 34 IBM Fonnat

This fonnat uses MEM double-densi ty encoding on all tracks except track 0, head o which uses the 3740 fonnat described above. Figure A-3 illustrates the track • fonnat. The MVME320 can support both EM am MEM on track O.

1<- -1 Sector - > I GAP -'--r-I-ND-E·-X--r-GA'-p-T--~-;;-~ DATA ;;; j~ GI\P ] 4A SYNC AM 1 SYNC FIELD :J:~ FIELD 3 ~_~::OR ~

Byte 12 bytes 54 bytes 1-3 = C2 of 00 of 4E 4 = FC 80 22 bytes 247 bytes bytes 50 bytes of 4E (NOM) of 4E of 4E of 4E (=ZTOL)

Bytes 1-3 = Al ..!2 bytes of O...Q. 4 = FB (1) 5-261 = XX User Data 262-263 = CRC

1-3 = Al 4 = FE 5 = XX Track 6 = XX ~ad 7 = XX Sector 8 = XX Length Code 9-10 = XX CRC

NOTE: (1) Deleted data crldress mark:

FB = the data field contains nonnal data F8 = the data field contains deleted data

2. TRACK 0, HFAD 0 uses the fonnat shown in Figure A-2 above.

FIGURE A-3. IBM MEM Track Fonnat (256 Bytes/Sector)

A-4 APPENDIX B

DISK INTERFACE CONNECTOR PIN ASSIGNMENTS

B.1 INTRODUCTION This appendix defines the pin assignments for disk interface connectors J1, J2, and J3. • B.2 20-Pin Connectors (Jl & J2)

+DRIVE SELECTED 1 2 GROUND 3 4 5 6 7 8 GROUND +TIMING CLOCK 9 10 -TIMING CLOCK GROUND 11 12 GROUND +MFM WRITE DAT.A 13 14 -MFM WRITE DATA GROUND 15 16 GROUND +MFM READ DATA 17 18 -MFM READ DATA GROUND 19 20 GROUND

B-1 c.3 50/34-pin Connector (J3)

5 1/4" FLOPPY 8" HAID 8" FLOPPY 8" FLOPPY 5 1/4" HARD (OS) SA450 SAI000 SA800 SA050 ST506

1 2 IMC I 3 4 HEAD SEL22 5 6 WR. GATE 7 8 SK. CCMPLETE SK. CG1PLETE 9 10 (1) TWO SIDED TRACK 00 11 12 WR. FAULT 13 14 HEAD SEL 20 SIDE SEL HEAD SEL 20 15 16 reserved ------17 18 HEAD SEL 21 HEAD L(w) HEAD L(w) HFAD SEL 21 19 20 INDEX INDEX INDEX INDEX 21 22 READY READY READY READY 23 24 IX (INDEX) STEP 25 26 DR. SEL 1 DR. SEL 1 DR. SEL 1 DR. SEL 1 DR. SEL 1 27 28 DR. SEL 2 DR. SEL 2 DR. SEL 2 DR. SEL 2 DR. SEL 2 29 30 DR. SEL 3 DR. SEL 3 DR. SEL 3 DR. SEL 3 DR. SEL 3 31 32 MOTOR ON DR. SEL 4 DR. SEL 4 DR. SEL 4 DR. SEL 4 33 34 DIRECrION DIRECrION DIRECrION DIRECrION DIROCTION 35 36 STEP STEP STEP STEP 37 38 WRITE DATA WR. DATA WR. DATA 39 40 WRITE GATE WRITE GATE WR. GATE WR. GATE 41 42 TRACK 00 TRACK 00 TRACK 00 TRACK 00 > N/A 43 44 WR. PROTOCT WR. FAULT WR. PROTOCT WR. PROTOCT 45 46 READ DATA READ DATA READ DATA 47 48 SIDE SELECT 49 50 "Special signal" Motor-on/Head-load for floppies --- -

NOTE: (1) Always disable two-sided status from drive.

B-2 APPENDIX C EX:A BLOCK TABLES

C.l INTRODUCTION Figures C-l through C-6 are sample EX:A block fonnats for various hard and floppy disks. 15 o COMMAND CODE MAIN STATUS EXTENDED STATUS 0000 • MAXIMUM # OF RETRIES OA 00 ACTUAL # OF RETRIES DMA TYPE 00 00 COMMAND OPTIONS

BUFFER ADDRESS MOOT SI~IFICANT WORD OOOC

BUFFER ADDRESS LEAST SI~IFICANT WORD 2000 BUFFER LENGTH REQUESTED ACTUAL NUMBER OF BYTES TRANSFERRED 0000

CYLINDER NUMBER (1) (4)

HEAD OR SURFACE NUMBER 00 01 SEX:TOR NUMBER (1) CURRENT CYLINDER POSITION 0000 RESERVED (5 WORDS) 0000

NO - PRE-I NDEX GAP 00 00 Nl -- POST-INDEX GAP (2)

N2 -- SYNC BYTE COUNT 00 00 N3 - POST-ID GAP (2)

N4 - POST-DATA GAP lB 01 N5 - ADDR MARK CNT ( 2) SECTOR LENGTH CODE 00 E5 FILL BYTE (2) RESERVED (3 WORDS) 0000 DRIVE TYPE 04 02 NUMBER OF SURFACES

# OF SEX:TORS/TRACK 10 OC STEPPING RATE

HEAD SETl'LING TIME 46 46 HEAD LOAD TIME

FIGURE C-l. Sample ECA Block Fonnat -- Shugart 450 5 l/4-inch Single-Density Floppy Disk IBM 3740 Fonnat, 128 Bytes/Sector

0-1 15 8 7 o

SEEK TYPE 00 J 00 RESERVED FOR CONTROLLER

LGW WRITE CURRENT BOUNDARY TRACK 0028

PREXXMPENSATION BOUNDARY TRACK 0028

:EX:':C REMAINDER (3 WORDS) 0000 (3)

APPEND :EX:':C REMAINDER FRG1 DISK (3 WORDS) 0000 (3) I RESERVED (2 WORDS) 0000 MVME320 WORKING AREA (6 WORDS) 0000

RESERVED FOR THE CDNTROLLER

NOTES:

(1) Physical starting sector number (2) Track fonnat fields (refer to Chapter 8) (3) Last wond (don't care) (4) Cylinder number is use::i as the maximum track number per surface dur ing fonnat canmam. 5. This is an example, assuming the system memory address has been selected as OOOCOOOO ••• OOOFFFFF for a 256K memory module. 6. All numbers are hexadecimal initial ECA values.

FIGURE C-1. Sample ECA Block Fonnat - Shugart 450 5 1/4-inch Single-Density Floppy Disk IBM 3740 Fonnat, 128 Bytes/Sector (cont'd)

C-2 15 o

COMMAND CODE MAIN STATUS

EXTENDED STATUS 0000

MAXIMUM # OF RETRIES OA 00 AcrUAL # OF RETRIES

DMA TYPE 00 00 COMMAND OPT IONS

BUFFER ADDRESS MOST SIGHFICANT WORD OOOC

BUFFER ADDRESS LEAST SIGHFICANT WORD 2000

BUFFER LEOOl'H REQUESTED

AcrUAL NUMBER OF BYTES TRANSFERRED 0000 •

CYLINDER NUMBER (1) (4)

HFAD OR SURFACE NUMBER 00 01 SOCTOR NUMBER (1)

CURRENT CYLINDER POSITION 0000

RESERVED (5 WORDS) 0000

NO - PRE-INDEX GAP 00 00 N1 -- POST-INDEX GAP (2)

N2 -- SYNC BYTE COUNT 00 00 N3 - POST-ID GAP (2)

N4 -- POST-DATA GAP 36 03 N5 - ADDR MARK CNT (2)

SOCTOR LENGTH CODE 01 E5 FILL BYTE (2)

RESERVED (3 WORDS) 0000

DRIVE TYPE 05 02 NUMBER OF SURFACES

# OF SOCTORS/TRACK 10 OC STEPPING RATE

HFAD SETTLING TIME 46 46 HFAD LOAD TIME

FIGURE C-2. Sample ECA Block FOnnat -- Shugart 450 5 1/4-inch Double-Density Floppy Disk IBM 34 Fonnat, 256 Bytes/Sector

C-3 15 8 7 o SEEK TYPE 00 I 00 RESERVED FOR CONTROLLER LOW WRITE CURRENT BOUNDARY TRACK 0028

PREC

EX:X:: REMAINDER (3 WORDS) 0000 (3)

APPEND EX:X:: REMAINDER FRCI1 DISK (3 WORDS) 0000 (3) I RESERVED (2 WORDS) 0000 MVME320 WORKING AREA (6 WORDS) 0000 RESERVED FOR THE CONTROLLER

NOTES: (I) Physical starting sector number (2) Track fonnat fields (refer to Chapter 8) (3) Last word (don't care) (4) Cyliooer number is used as the maximum track number per surface during fonnat ccmnand. 5. This is an example, assuming the systen manory address has been selected as OOOCOOOO ••• OOOFFFFF for a 256K menory module. 6. All numbers are hexadecimal initial ECA values.

FIGURE C-2. Sample ECA Block Fonnat -- Shugart 450 5 l/4-inch Double-Density Floppy Disk IBM 34 Fonnat, 256 Bytes/Sector (cont'd)

C-4 15 o

CCH1AND mOE MAIN STATUS

EXTENDED STATUS 0000

MAXIMUM * OF RETRIES OA 00 ACTUAL * OF RETRIES DMA TYPE 00 00 C

BUFFER ADDRESS MOOT SIGlIFlCANT WORD OOOC!

BUFFER ADDRESS LEM'1' SIGlIFICANT WORD 2000 BUFFER LENGl'H REQUESTED • ACTUAL NUMBER OF BYTES TRANSFERRED 0000

CYLINDER NUMBER (1) (4)

HEAD OR SURFACE NUMBER 00 01 SECI'OR NUMBER (1)

CURRENT CYLINDER POSITION 0000

RESERVED (5 WOROO) 0000

NO -- PRE-INDEX GAP 00 00 Nl -- Pa3T-INDEX GAP (2)

N2 -- SYOC BYTE COUNT 00 00 N3 -- Pa3T-ID GAP (2)

N4 -- POST-DATA GAP lB 01 N5 -- ADDR MARK CNT (2)

SECI'OR LENGl'H mDE 00 E5 FILL BYTE (2)

RESERVED (3 WOROO) 0000

DRIVE TYPE 00 02 NUMBER OF SURFACES

* OF SECI'ORS/TRACK 1A 06 STEPPING RATE HFAD SETTLING TIME 46 46 HEAD LOAD TIME

FIGURE C-3. sample ECA Block Fbnnat -- Shugart 860 8-inch Single-Density Floppy Disk IBM 3740 Fbnnat, 128 Bytes/Sector

C-5 15 8 7 o

SEEK TYPE 00 I 00 RESERVED FOR CONTROLLER LC1Il WRITE CURRENT BOUNDARY TRACK 0028

PREC(}1PENSATION BOUNDARY TRACK 0028

OCC REMAINDER (3 WORDS) 0000 (3)

APPEND OCC REMAINDER FROM DISK (3 WORDS) 0000 (3)

RESERVED (2 WORDS) 0000 I MVME320 WORKING ARFA (6 WORDS) 0000 RESERVED FOR THE CONTROLLER

NOTES:

(1) Physical starting sector number (2) Track fODnat fields (refer to Chapter 8) (3) Last word (don't care) (4) Cyliooer number is used as the maximun track number per surface during format ccmnand. 5. This is an example, assuning the systan manory address has been selected as OOOCOOOO ••• OOOFFFFF for a 256K manory module. 6. All numbers are hexadecimal initial OCA values.

FIGURE C-3. Sample OCA Block Format - Shugart 860 8-inch Single-Density Floppy Disk IBM 3740 Format, 128 Bytes/Sector (cont'd)

C-6 15 o

CCM1AND CODE MAIN STATUS

EXTENDED STATtE 0000

MAXIMUM # OF RETRIES OA 00 ACTUAL # OF RETRIES

DMA TYPE 00 00 COMMAND OPTIONS

BUFFER ADDRESS MOST SIGJIFICANT WORD OOOC

BUFFER ADDRESS LFAST SIGJIFICANT WORD 2000 BUFFER LmGI'H REQUESTED • ACTUAL NUMBER OF BYTES TRANSFERRED 0000

CYLINDER NUMBER (1) (4)

HFAD OR SURFACE NUMBER 00 01 SECTOR NUMBER (1)

CURRENT CYLINDER POSITION 0000

RESERVED (5 WORDS) 0000

NO -- PRE-INDEX GAP 00 00 Nl -- POST-INDEX GAP (2)

N2 -- Snl: BYTE COUNT 00 00 N3 -- POST-ID GAP (2)

N4 -- POST-DATA GAP 36 03 N5 -- ADDR MARK CNT (2)

SECI'OR LENGI'H CODE 01 E5 FILL BYTE (2)

RESERVED (3 WORDS) 0000

DRIVE TYPE 01 02 NUMBER OF SURFACES

# OF SECTORS/TRACK lA 06 STEPPING RATE

HEAD SETTLING TIME 46 46 HFAD LOAD TIME

FIGURE C-4. Sample ECA Block Fonnat -- Shugart 860 8-inch Double-Density Floppy Disk IBM 34 Fbnnat, 256 Bytes/Sector

C-7 15 8 7 o SEEK TYPE 00 I 00 RESERVED FOR CONTROLLER u:NI WRITE CURRENT BOUNDARY TRACK 0028

PREX::D1PENSATION BOUNDARY TRACK 0028

ax REMAINDER (3 WOROO) 0000 (3)

APPEND ElX REMAINDER FRa1 DISK (3 WOROO) 0000 (3 ) I RESERVED (2 WOROO) 0000 MVME320 WORKING AREA (6 WOROO) 0000

RESERVED FOR THE CONTROLLER

NOTES:

(1) Physical starting sector number (2) Track format fields (refer to Chapter 8) (3) Last word (don't care) (4) Cylinder number is usa:i as the maximum track number per surface during format canmarrl. 5. 'Ibis is an example, assuming the systan memory address has been selecta:i as OOOCOOOO ••• OOOFFFFF for a 256K memory module. 6. All numbers are hexadecimal initial OCA values.

FIGURE C-4. Sample ECA Block Fbnnat -- Shugart 860 8-inch Double-Density Floppy Disk IBM 34 Fbnnat, 256 Bytes/Sector (cont'd)

C-8 15 o

CG1MAND CODE MAIN STATUS

EXTENDED STATUS 0000

MAXIMUM # OF RETRIES OA 00 ACTUAL # OF RETRIES

DMA TYPE 00 00 C

BUFFER ADDRESS MOST SI~IFICANT WORD OOOC

BUFFER ADDRESS LEAST SI ~ IFICANT WORD 2000 BUFFER LENGI'H REQUESTED • ACTUAL NUMBER OF BYTES TRANSFERRED 0000

CYLINDER NUMBER (1) (4)

HEAD OR SURFACE NUMBER 00 01 SECTOR NUMBER (1)

CURRENT CYLINDER POSITION 0000

RESERVED (5 WORUS) 0000

NO -- PRE-INDEX GAP 00 00 N1 -- POST-INDEX GAP (2)

N2 -- Sm:: BYTE COUNT 00 00 N3 -- POST-ID GAP (2)

N4 -- POST-DATA GAP OF 01 N5 -- ADDR MARK CNT (2)

SOCTOR LENGI'H CODE 01 E5 FILL BYTE (2)

RESERVED (3 WORUS) 0000

DRIVE TYPE 03 06 NUMBER OF SURFACES

# OF SECTORS/TRACK 20 00 STEPPING RATE

HEAD SETTLING TIME 00 00 HEAD LOAD TIME

FIGURE C-5. Sample OCA Block Fonnat - ST412 5 1/4-inch Hard Disk (10 MHz, 15 Mbyte)

C-9 15 8 7 o

SEEK TYPE 02 J 00 RESERVED FOR CONTROLLER

[,(ltl WRITE CURRENT BOUNDARY TrulCK 0050

PREXXMPENSATION BOUNDARY TRACK 0050

ax REMAINDER (3 WORDS) 0000 (3)

APPEND ax REMAINDER FRCM DISK (3 WORDS) 0000 (3) I RESERVED (2 WORDS) 0000 MVME320 WORKING AREA (6 WORDS) 0000

RESERVED FOR THE CONTROLLER

NOTES:

(1) Physical starting sector number (2) Track fonnat fields (refer to Chapter 8) (3) Last word (don't care) (4) Cylimer number is used as the maximun track number per surface during fonnat carmam. 5. '!his is an example, asstming the system menory address has been selected as OOOCOOOO ••• OOOFFFFF for a 256K memory module. 6. All numbers are hexadecimal initial ECA values.

FIGURE 0-5. Sample ECA Block FOnnat - ST4l2 5 1/4-inch Hard Disk (10 MHz, 15 Mbyte) (cont'd)

0-10 15 o

CCM1AND CODE MAIN STATUS

EXTENDED STATUS 0000

MAXIMUM # OF RETRIES OA 00 ACTUAL # OF RETRIES

DMA TYPE 00 00 COMMAND OPTIONS

BUFFER ADDRESS MOST SIGHFICANT WORD OOOC BUFFER ADDRESS LEAST SIGHFICANT WORD 2000 I BUFFER LENGI'H REQUESTED

ACTUAL NUMBER OF BYTES TRANSFERRED 0000

CYLINDER NUMBER (1)

HEAD OR SURFACE NUMBER 00 01 SECTOR NUMBER (1)

CURRENT CYLINDER POSITION 0000

RESERVED (5 WORDS) 0000

NO -- PRE-INDEX GAP 00 00 Nl -- POST-INDEX GAP (2)

N2 -- STIC BYTE COUNT 00 00 N3 -- POST-ID GAP (2)

N4 -- POST-DATA GAP OF 01 N5 -- ADDR MARK CNT (2)

SECl'OR LENGI'H CODE 01 E5 FILL BYTE (2)

RESERVED (3 WORDS) 0000

DRIVE TYPE 03 04 NUMBER OF SURFACES

# OF SECl'ORS/TRACK 20 00 STEPPING RATE

HEAD SETTLING TIME 00 00 HEAD LOM) TIME

FIGURE C-6. Sample ECA Block Fonnat - Shugart 1000 8-inch Hard disk (8.64 MHz)

C-ll 15 8 7 o SEEK TYPE 02 J00 RESERVED FOR CONTROLLER LOW WRITE CURRENT BOUNDARY TRACK 0080

PRECXMPENSATION BOUNDARY TRACK 0080

ECC REMAINDER (3 WORDS) 0000 (3 )

APPEND ECC REMAINDER FROM DISK (3 WORDS) 0000 (3 ) I RESERVED (2 WORDS) 0000 MVME320 WORKING AREA (6 WOROO) 0000 RESERVED FOR THE CONTROLLER

NOTES: (1) Physical starting sector number (2) Track format fields (see section 8) (3) Last word (don't care) 4. All numbers are hexadecbnal initial ECA values. 5. This is an example, assuming the system memory address has been selected as OOOCOOOO ••• OOOFFFFF for a 256K memory module.

FIGURE C-6. Sample ECA Block Fonnat - Shugart 1000 8-inch Hard Disk (8.64 MHz) (cont'd)

C-12 APPENDIX D

PROGRAMMING CON:EPl'S AND SEQUEN:E

D.l INTRODUCTION

Appendix D provides programming concepts and sequence and a command execution procedure for the MMME320.

D.2 PROGRAMMING a)t~::EPTS

In the VMEbus I/O space, the MVME320 is assigned a base address of the fonn:

ZZZR where:

ZZZ = address bits A4 - A9 (don't care) I and AlO - AIS (fran JW6)

R = any register number (odd numbers fran 1 - D)

For example:

)COl = register 1 at address 3COI

15 12 11 8 7 4 3 o

10011 llXX XXXX RRRRJ \ / \_fran JW6 /

\fbere:

X = don't care R = register number (binary expression of R above) JW6 = jumper network JW6 (at location HI)

D.3 PROGRAMMING SEQUEN:E

Any time after system power-up or system reset, and before executing a cannand for the first time, the host must:

• Initialize the ECA • Set the ECA pointer (Registers 1, 3, 5, 7) • Set the interrupt acknowledge status/ID byte (Reg 9) • Set the interrupt acknowledge address in the trap area (if appropriate to the host, as described below)

D-l a. Initialize the ECA - To create the ECA in main manory, the host must initialize the following portions of the ECA (see Figure 5-1).

• Carmarrl code • Maximum number of retries • Carmarrl options • a-tA type • Buffer address most significant word • Buffer length requeste3 • Cylinder number • Sector number • I-ead or surface number • Post-data gap • Fill byte • Sector length • Number of surfaces • Drive type • Stepping rate • Number of sectors per track • I-ead load time • Head settling time • Seek type • Low write current boundary track • Precampensation boundary track

The following portions of the ECA may be change3 by the MVME320.

• Main status (The MVME320 sets main status to busy in its own memory. the host doesn't neErl to initialize main status. However, if the host wants main status to be meaningful during cammarrl execution, the host must set main status to busy before starting to execute a ccmnarrl. ) • Extende3 status • Actual number of bytes transferred • Current cylirrler position • ECC remai nder • Apperrl ECC remainder fram disk • All reserve3 areas

D-2 b. Set the EGA Pointer (Registers 1, 3, 5, and 7) - This tells the MVME320 where the E:A was created in main manory.

c. Set the Interrupt AcknowlErlge Status/ID Bit (Register 9) - When the MVME320 wants to interrupt, it activates the interrupt line. The host acknowlErlges the interrupt request, and the MVME320 returns the status/ID byte fran register 9. d. Set the Interrupt Acknowledge Address in the Trap Area - If the host system is an MC68000-based system and if the system is interpreting the interrupt acknowledge status/ID bits as an interrupt vector number, the interrupt acknowlErlge address in the trap area must be initialized.

D.4 CCMWID EXOCUl'ION The following sequence is requiroo each time a ccmnand is executoo. I a. Check the busy bit in register D. Wait for O.

b. Set main status in OCA to nusy. c. Fill in and set up OCA. d. Set busy bit in register D.

e. Wait for main status in OCA to change (polling mode) or Wait for interrupt and check register B for interrupting unit (interrupt mode) •

f. If main status ~ 0, then handle errors. g. Clear busy bit in register D.

0-3/0-4 SUGGESTION/PROBLEM s REPORT QUALITY • PEOPLE • PERFORMANCE

Motorola welcomes your comments on its products and publications. Please use this form.

To: Motorola Inc. Microsystems 2900 S. Diablo Way Tempe, Arizona 85282 Attention: Publications Manager Maildrop DW164

Product: ______Manual: ______

COMMENTS: ______

Please Print

Name ______Title ______

Company ______Division ______

Street ______Mail Drop _____ Phone ______

City ______State ______Zip ______

For Additional Motorola Publications Four Phase/Motorola Customer Support, Tempe Operations Literature Distribution Center (800) 528-1908 616 West 24th Street (602) 438-3100 Tempe, AZ 85282 (602) 994-6561 @ MOTOROLA ~ MOTOROLA Semiconductor Products Inc. o p.o. BOX 20912. PHOENIX, ARIZONA 85036. A SUBSIDIARY OF MOTOROLA INC.

17331 PRINTED IN USA (2/85) MPS 2M