Digital PDFs
Documents
Guest
Register
Log In
EK-DELQA-UG-002
May 2000
171 pages
Original
6.9MB
view
download
OCR Version
7.8MB
view
download
Document:
DELQA User's Guide
Order Number:
EK-DELQA-UG
Revision:
002
Pages:
171
Original Filename:
OCR Text
DELQA User’s Guide Order Number: EK-DELQA-UG-002 Prepared by Educational Services of Digital Equipment Corporation The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Digital Equipment Corporation or its affiliated companies. Copyright ©1988 by Digital Equipment Corporation All Rights Reserved. Printed in U.S.A. The postpaid READER’S COMMENTS form on the last page of this document requests the user’s critical evaluation to assist in preparing future documentation. The following are trademarks of Digital Equipment Corporation: DEC DIBOL UNIBUS DEC/CMS EduSystem VAX IAS VAXCcluster DEC/MMS DECnet MASSBUS DECsystem—10 PDP DECSYSTEM-20 PDT DECwrter RSX ST VMS VT dilgliltia]] - This document was prepared using VAX DOCUMENT, Version 1.0 CONTENTS Preface . .. .. ... . . ix CHAPTER 1 INTRODUCTION 1.1 SCOPE . . . . . e, 1-1 1.2 ETHERNET OVERVIEW . . . . .. . 1-1 . e, 1.2.1 General Description . . . . . . . . ... 1-1 1.2.2 Ethernet Layers . e 1-5 1.2.3 Data Encapsulation .. ... ... . e 1-6 1.3 . . . . . . . . .. DELQA OVERVIEW . . . .. . . . . . . e 1.3.1 General Description . . . . . . . . . .. 1.3.2 Physical Description 1.33 Order Codes . . . . . . . . . i i e e e 1-8 1-8 . . . ... ... ... ... ... .. ... ... ... ... e 1.34 Q-bus Addresses . . . . . . . . 1.3.5 Ethernet Connection i i e e e 1-9 e - . . .. .. ... .. ... . . ... .. e L4 SPECIFICATIONS . . . . . . 1.5 THE DELQA MODULE FUNCTIONAL DESCRIPTION . .. .. ... ........... 1.5.1 General Description . . . . . . . . . . 1.5.2 Operating Modes 1.5.3 Host Programming . . . . . . . .. 1-9 e e e e s, L 1-9 1-11 1-12 1-14 1-14 . e . . . . .. .. .. ... . ... 1-14 1-15 1.54 Module Components . . . . . . . .. .. i e 1-15 1.5.5 Processor Subsystem . . . . . . ... .. 1-16 1.5.6 LANCE/SIA Subsystem 1.5.7 QIC Subsystem . . . . . . . . e 1-17 1.5.8 QNA2 Subsystem . . . . . .. e e 1-17 1.5.9 Memory Subsystem . . . . . . .. L 1-18 1.5.10 Q-bus Interfaces . . . . . . . . . ... 1-18 1.5.11 Q-bus Timers e 1-18 s 1-18 o e 1-18 1.6 . . . . . . ... . . . . . . . . . e MODULE INTEGRITY . . . . . . . . . . e e e 1.6.1 Self-Test 1.6.2 Maintenance Operations Protocol MOP) 1.6.3 IEEE 802.2 Link-layer Service Access Point (LSAP) Messages 1.6.4 Host System Diagnostics . . . . . . . . . . . . ili 1-17 e . . . . ... ... ... .. ... ... ... ... 0 . . . . .......... e 1-19 1-19 1-19 CONTENTS CHAPTER 2 installation 2.1 SCOPE . . . . e e e 2-1 2.2 UNPACKING AND INSPECTION 2-3 2.3 CHECKING INSTALLATION REQUIREMENTS . . . . . . ... . ... i 23.1 Fuses 2.3.2 Backplane Positioning 2.4 . . . . ... . . i e e . . . . e e . . . . . . .. ... 2-5 . . . . ... .. . . . . . i 2-5 24.1 Switch Settings . . . . . ... e e e e 2-6 24.2 Ethernet Address . . ... ... .. e 2-9 24.3 Inserting in System Backplane Slot . . . . . .. .. ... .. .. ... ... ... ... ... 2.4.4 Cabinet Kit. 2.5 INSTALLING THE MODULE L e 24 2-5 e e e e . . . . . .. e DIAGNOSTIC ACCEPTANCE TESTS . . . . . . . o e e e e 2-12 ... ... 2-12 . . . . . . . .. ... . . . . . i 2-13 2.5.1 Installation Tests on MicroPDP-11 Systems . . . . .. .. ... ... ... 2.5.2 Testing in MicroVAX II Systems 26 Connectionto Ethernet. ... ... 2-13 3.1 SCOPE . . . o 3-1 32 OVERVIEW . . . . e e 3-1 CHAPTER 3 . . . .. ... ... e 2-9 2-11 Programming 3.2.1 Transmit—Host to Ethernet Data Transmission . . . . .. ... .. .. ... ........ 3-2 3.2.2 Receive-—Data Reception from Ethernet to Host . . . . . . .. ... ... ......... 3-2 3.3 REGISTER DEFINITIONS . . . . . e e 34 3.3.1 Control and Status Transfers . . . . .. ... ... ... ... ... ... ... .. . . . ... 34 3.3.2 Control and Status Registers . . . . . . . . . . . . ... 3-4 3.3.2.1 333 3.3.3.1 Control and Status Register (CSR) Definitions Vector Addresses . . . . . . . . . . .. ... ... ... ......... L Vector Address Register (VAR) Definitions 334 BDL Start Address Registers (BDL SARS) 3.3.5 Station Address Registers (SA ROM) 34 . e e e . . . . . ... ... ... ... ... ..... . . . . . . . . .. 34 3-11 3-11 . v, 3-15 . . . .. . . . .00, 3-16 . 3-16 34.1 HOST MEMORY DATA STRUCTURES . . . . .. . .. .. . . . . Receive and Transmit Buffers . . . .. .. ... ... ... ... .. .. . .. .. . .. ... . 3-17 342 Buffer Descriptor Lists (BDLs) . . . . . . . . .. ... .. i 3-17 343 Buffer Descriptor Bit Definitions . . . . ... ... .. ... ... ... . ... .. .. ... 3-18 3.4.3.1 Flag Word . . . . . .. . . e 3-19 3432 Address Descriptor Bits . . . . . . . . . . 3-19 3433 Buffer Address . . . . . . ... 3-20 3434 Buffer Length (Word Count) . . . . . . . . . . . . .. . e 3-20 3.4.3.5 Status Words . . . . . . L 3-21 3.5 e . 3-24 3.5.1 DATA TRANSFER PROCEDURES . . . . .. . ... . . Transmit Packet . . . . . . .. .. . .. . 3-24 3.5.2 Transmit Programming . . . . . .. . .. ... ... 3-25 35.3 Transmission Errors . . . . . e 3-26 354 Receive Packet 3.5.5 Receive Programming 3.5.6 Receive Errors . . . . . . . . . 3.6 3.6.1 e e e e e e e e . . . . . . . . . . . 3-26 . . . . . . . . . . . . . . e 3-27 3-27 CONFIGURATION AND CONTROL PROCEDURES . . ... ................ 3-28 Boot/Diagnostic Load . . . . . . . . . ... . e 3-28 v CONTENTS 3.6.2 SEID . e e 3-29 3.6.2.1 Setup Packets . . . . . ... 3-29 3.6.2.2 Setup Information . . . . . .. ... L 3-29 3.6.2.3 Setup Packet Buffer Descriptor 3-30 3.6.2.4 Setup Packet Format 3.6.3 Reset . . . .. ... ... ... . . . . .. . . . ... .. .. ... .. . ... ... . . . o 3-31 3-34 3.64 Interrupt Handling . . . . . . .. .. . e 3-35 3.6.5 Loopback . . . . . . .. e .. 335 3.6.6 Sanity TIMET . . . . . o o o 3-36 3.7 .. . e MAINTENANCE OPERATIONS PROTOCOL (MOP): MODULE SUPPORT .. ... .. - 3-36 3.7.1 Internal Loopback . . . . . . . . .. .. .. e PP 372 MOP Element Blocks (MEBS) . . . . . . . . . . . e 3-37 3.7.3 MOP Element Type 0: MOP Termination . . . . ... .. .. ... ..., ...u..... 3-38 3.7.4 MOP Element Type 1: Read Ethernet Address . . . .. ... ................ 3-38 3.7.5 MOP Element Type 2: Reset System ID . . . . . .. .. .. ... ... .. .. ....... 3-41 341 e e 3-37 3.7.6 MOP Element Type 3: Read Last MOPBoot . . . . . ... ................. 3.7.7 MOP Element Types 4, 5: Read, Write Boot Password . . . .. ... ........... 341 3.7.8 MOP Element Type 6, 7: Read/Write System ID . . . .. ... ... ... ......... 341 3.7.9 MOP Element Types 8, 9: Read, Read/Clear Counters . . ... .............. 345 4.1 SCOPE . . . o e e e 4-1 4.2 MAINTENANCE PHILOSOPHY 4-3 CHAPTER 4 MAINTENANCE . . .. . . . .. . . i, 4.2.1 Preventive Maintenance . . . .. ... .. ... . ... . ... P 4-3 422 Corrective Maintenance . . . . . . . . . . . .. 4-3 e 4.2.3 Field Replaceable Units (FRUS) . . . . . . . . .. ... . . . . 4-3 424 Diagnostic Procedure . . . . . . . . .. ... e 4-4 SELF-TEST . . . . . . e [ 4-5 4.3 4.3.1 Extended Primary Bootstrap . . . . . . . . . ... .. e 4-5 43.2 Citizenship Test . . . . . . . 4-6 . 4.3.2.1 Citizenship Test Descriptions 4322 Citizenship Test Results 4.4 . . . . . . . . ... .. ... . . . . . . . . ... .. . . . 4-6 . . . e MAINTENANCE OPERATIONS PROTOCOL (MOP): NETWORK SUPPORT 4.4.1 MOP Remote Console Message: Request System ID 4.4.2 MOP Remote Console Message: System ID 4.4.3 MOP Remote Console Boot Message . . . ... 4-8 4-11 . . . ... ... ........... 4-11 . . .. ... ... ............... 4-12 v v v v it it e et e i 4-15 44.3.1 Processing a Remote Message . . . . . . .. .. .. ... . ... 4-17 4.4.4 Ethernet Channel Loopback Protocol Support . . . . . ... ... ... ........... 4-18 4.5 . . . . . ... IEEE 802.3 NETWORK SUPPORT: NULL LINK-LAYER SERVICE ACCESS POINTS ... .. e e e e 4.5.1 TEST Méssage . . . . . . . . o 4.5.2 XID (Transmit ID) Message . . . . . . . ... 4.6 NETWORK DIAGNOSTICS . . . . . e e e e e 4-20 4-20 4-20 e 4-20 4.6.1 DECnet Network Control Program (NCP) . . . ... .. ... .. ... . .. ... ..... 4-20 4.6.2 Network Interconnect Exerciser (NIE) .. 4-21 MODULE DIAGNOSTICS . . . . . . e s 4-21 4.7 . . . . . . . .. . . . . . 4.7.1 MicroVAX Diagnostic Monitor (MDM) 4.7.2 PDP-11 Field Functional Diagnostic (ZQNA??). 4.7.3 PDP DEC/X11 Exerciser . . . . . . . . . . . . . . . . . . . . . ... 0 . . . .. .. .. ... .. . . ... .... e e e e e e 4-21 4-21 4-22 CONTENTS Appendix A VECTOR ASSIGNMENTS A.l The Floating Vector Assignment . . . . . ................... A2 FLOATING VECTORS Appendix B . . ... ... . Diagnostics B.1 SCOPE B.2 OPERATING ENVIRONMENTS B.2.1 B.2.1.1 i i . . . . . . .. .. . o i, PDP-11 Diagnostic Runtime Servicess (DRS) .. ... .......... DRS Commands . . . . ... ... ... i, B.2.1.2 DRS Switches . . . . ... ... .. ... . . B.2.1.3 DRS Flags . . ... ... . .. B.2.2 MicroVAX Diagnostic Monitor (MDM) . .. ... ... ......... B.3 NETWORK INTERCONNECT EXERCISER (NIE) B.4 INTRODUCTION B.5 OPERATING MODES . . . . . . . . . . . . .. e e . ........... e e i, B-5 e e e B.5.1 Unattended Mode . . . .. ... .. .. .. ... .. ..., B-5 B.5.1.1 B-6 B.5.1.2 Build Node Table . ... ..... . ... ..... .. ... ..... Direct Loop Message Test. . . . . . . ..o v v i v i ene . B-6 B.5.1.3 Pattern Test B-6 B.5.1.4 . . . . ... ... ... ... . .. . . . ... Multiple Message Activity Test . . . ... ... ... ......... B-6 B.5.2 Operator Directed Mode . . .. ... ................... B-6 B.6 SYSTEM REQUIREMENTS . . . ... .. ... . . B-7 B.7 COMMAND DESCRIPTION . . ... ... ... . .. B-7 B.7.1 B.7.1.1 B.7.1.2 DRS Commands Switches Flags ........................e e e e . . . .. ... .. . . . . . B-9 B.7.2 NIECommands . .. ............................. B.8 ERRORS . .. ... e B.8.1 B-7 B-8 Error Messages . . . . . . .. .o v ittt B-11 B-20 B-20 B.8.1.1 General . . ... ... ... B.8.1.2 B-20 Basic . ... ... e . B-20 B.8.1.3 B.8.2 B.9 B.9.1 Extended . ...... ..... .. ... .. .. Other Error Messages B-21 PDP-11 FUNCTIONAL DIAGNOSTIC (ZQNA??) . . .. ... . ..... ZONA?? Environment . . . . ... .. . . B-21 B.9.2 ZQNA?? Test Descriptions B.9.3 ZQNA?? Error Reports . . . . . . .. .o v B-21 v vt e B-21 . . . .. ........ ... B-22 B.10 MicroVAX DIAGNOSTIC MONITOR (MDM) B.10.1 MDM Environment . . . . ... ... ... B.10.2 MDM Service Test Descriptions B.10.2.1 B-20 . . . . ... ... v, . . ... ... ....... . . . . . ... .............. Verify Mode Tests . . . . . . . ... B-23 B-23 B-23 i it B.10.2.2 B-23 Field Service Functional Tests . . . . ... .. ... ........... B-24 B.10.2.3 Field Service Exerciser . . . . ... ... ... ... ... v.... MDM Utilities . . . . . . .. ... e B-25 B.10.3 B.11 B--24 DEC/X11 EXERCISER . . .. ... ... .. . . .. B.11.1 B-26 Environment . . . .. ... ... ... .. .. B-26 B.11.2 Command Descriptions . . . . .. ...................... B-27 vi CONTENTS Appendix C PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.1 Data Definitions ... C-1 C.2 Resetting the DELQA . . . . ... .. ... . .. . . ... C-5 C3 Configuring the DELQA . . . ... .. ... .. ... ... .. ... .... C-6 C4 A Simple Interrupt Handler . . . . .. ..................... C-12 C.5 Data transmission . . . . . ... .. ... 0 C-13 C.6 Data reception . . .. . . .. .. ... e C-17 C.7 Executing on-board diagnostics . . . . . ... ... ... .. ......... C-21 C.8 BUFFER DESCRIPTOR MANAGEMENT ALGORITHM. C-21 . . . ... ... ... ... ... ... .. ... . . ... ... INDEX FIGURES 1-1 Typical Ethernet Configuration . . . .. ... ................. 1-2 1-2 Warnings 1-3 14 Ethernet Connectivity 1-5 Ethernet Packet (Frame) Format . ... ... . . . ... .. ... ... ... .. ... ... . . . ... ... ... ............ 1-6 1-7 1-6 DELQA Functional Block Diagram . . .................... 1-10 1-7 DELQA Module Board Layout . . . ... ................... 1-16 2—-1 DELQA Switches in Default Position and LEDs . . . ... ......... 2-2 Rear Panel, Bulkhead, Blanking Panel, and Modules 2-3 DELQA Cabinet Kits 2-7 . . . ... ... ... 2-9 . . . .. ... ... ... .. ... ..... ... ... 2-10 3-1 Transmit Sequence (No Chaining) . . ... ... ... ............ 3-3 3-2 Host I/OPage Map. . i 3-5 3-3 Control and Status Register (CSR) . . . . . ... ... ... . ... .. ... 3-5 34 Vector Address Register (VAR) . . . . .. .. .. ... ... ... ... ... 3-11 3-5 BDL Start Address Registers . . . .. ..................... 3-6 3-16 Buffer Descriptor Format . . . ... ... ................... 3-17 3-25 . . . . ... .. .. 3-7 Ethernet Packet Format 3-8 Setup Packet Format (Bytes) 3-9 MOP Element Block Buffers in the Setup Packet . . ... ... ...... 3-39 3-10 MOP Element Block Types 1 t09 . . .. ... ... ............. 4-1 3-40 Field Replaceable Units (FRUS) 4-2 Request ID Message Format . 4-3 System ID Message Format . . . ... ... .................. 4-13 4-4 Boot ID Message Format . . . . . ... ... ... . .. ... .. ... 4-16 4-5 Loop Message Format . . . . . .......... ... ..... .. 4-19 A-1 Q-bus Address Map ... ... A-5 B-1 Loop Direct Messages Test Path . . . ... ... ... ............ B-18 B-2 Transmit Assist Loopback Message Test Path . . ... ... ........ B-18 B-3 Full Assist Loopback Message Test Path . . . . ... ... ......... B-19 B4 Receive Assist Loopback Message Test Path . . . . . . ... .. ... ... B-19 . . . ... ... ... ... .............. . . . ... ... ................. 3-33 . . . . .. .. ... . ... .. ... ... 44 . . ... ... ................. 4-12 . . . .. ... vii CONTENTS TABLES 1-1 Field Sizes in an Ethernet Packet 1-2 DELQA Ordering Options . ... ................... 1-7 . . . . . . ... . .. .. 1-3 Module Addresses 1-9 . . . . . .. ... .. e 1-9 14 BNE3x-nn Transceiver Cable Options . . . . .. ... ............ 1-11 1-5 DELQA Cabinet Kit Connections . . . . .. ... ... ..., 1-12 1-6 DELQA Specifications . . . . . . . ... ... i 1-13 2-1 DELQA Installation Parts List . . . . . ... ... .............. 2-3 2-2 Module Address and Vectors . . . . .. ... ... ...t 2-5 2-3 Module LED Sequences . . . . . ... ... ... ..., 2-11 3-1 DELQA Unit I/O Base Addresses ..... 3-4 3-2 Control and Status Register (CSR) Normal Mode Usage . . ... ... .. 3-6 3-3 Vector Address Register (VAR) . . . . . ... ... ... . ... .. 3-12 34 Setup Packet: Information Group Combinations . . . ... ......... 3-30 3-5 Setup Packet Buffer Descriptor: Address Mode Bits . . .. ... .. ... 3-31 3-6 Effects of Reset on Setup Packet Data . . .. ................ 3-34 3-7 MOP Functions . . . . . ... . . . 3-8 MOP Element Type 1 . . . . .. .. ... ... .o e e 3-37 . .. .. ... ... .. ... .. 3-38 i e 39 MOP Element Types 4,5 . . . . . . . . . 3-10 MOP Element Types 6,7 . . . . . . . . . i it it et it i e e 3-42 3-11 Information Value Descriptions . . . . . ... ... .............. 3-43 3-45 3-12 MOP Elements Type 8§, 9 MEBB Format . . . .. .............. 4-1 Citizenship Test: Error Bit Definitions 4-2 Maintenance Operation Protocol (MOP) Messages . ... ................ 3-41 4-9 . . . .......... 4-11 4-3 Request ID Message Format . . . ... ... ... .............. 4-12 44 System ID Message Format . . . . .. ... . ... .............. 4-14 4-5 Boot ID Message Format 4-16 4-6 Loop Message Format . . . . . . ..o v vt i 4-19 A-1 Floating Vector Address Assignments . . . . ... ... ........... A2 B-1 Diagnostic Runtime Services (DRS) Commands . . . ............ B-2 B-2 Command Switches B-3 B-3 Switch Application . . . . ... ... .. .. ... . .. ... . . . . ... ..................... . . .. ... ... ... ... . ... .. .. ... ... . e B-3 B4 Flags Application . . . . . . .. . .. ... .. . . . e B4 B-5 DRS Commands B-7 B-6 DRS Command Switches B-7 Switch Application . . . . ... .. ... ... ... ... . .. .. B-8 DRS Command Flags . . . .. ... .... ... ... B-9 NIE Commands. B-10 DELQA DEC/X11 Exerciser Software Register Bits . . . ... ... ... B-27 C-1 Data Definitions for Sample Programs . . . . . ... ... .......... C=2 . .. ... ... .. .. .. ... iiinnnn... . . ... ... ... ... .............. B-9 ... ... ..... B-10 . . . .... ... ... ... viil B-8 ... B-11 PREFACE INTRODUCTION The DELQA module is a communications option which connects the Q-bus to an Ethernet local area network (LAN). This manual describes how to install, program, and maintain the DELQA. It contains information for first-time servicing and field-service support, and for customer engineers and programmers. The chapters are as follows. Chapter 1 introduces the Ethernet LAN and the DELQA module. Chapter 2 describes how td install a DELQA module. Chapter 3 describes how to program the DELQA. Chapter 4 describes how to use the diagnostic utilities to maintain the module Appendix A details the DELQA vector address and assignments. Appendix B summarizes commands and facilities for the DELQA diagnostics. Appendix C gives examples of host software programming of the DELQA. Appendix D gives details of DELQA responses to undesired events. Appendix E is a glossary. This revision of the manual contains new information and Chapter 3 has been expanded to contain additional programming notes. Notes and Warnings NOTES and WARNINGS are defined as follows. « A NOTE contains general information. « A WARNING is designed to prevent personal injury. Related Publications Communications Options Mini—-Reference Manual: Volume IV (Ethernet) (EK-CMIV4-RM) DECnet Maintenance Operations Protocol (MOP) Functional Specification V3.0.0 (AA-X436A-TK) DECnet-RSX System Manager's Guide (AA-H224C-TC) DECnet-ULTRIX Guide to Network Management (AA-EE38A-TE) DECnet-VAX System Manager’s Guide (AA-HSOBC-TE) DEC/X1] User’s Manual (AC-F053-MC) 1X Preface DELQA Field Maintenance Print Set (MP-02379) DELQA Technical Description (EK-DELQA-TD-001) Ethernet: A Local Area Network, Data Link Layer, and Physical Layer Specifications (AA-K759B-TK) Ethernet Installation Guide (EK-ETHER-IN) H4000 Ethernet Transceiver Technical Manual (H4000-TM) Introduction to Local Area Networks (EB-22714-18) MicoPDP-11 Systems Service Maintenance Guide (EK-MIC11-SG) MicroVAX 11 System Maintenance Guide (AZ-GM3AA-MN) Network Interconnect Exerciser Diagnostic (AC-T585A-MC) XXDP+/SUPR User’s Manual (AC-F348A-MC) NOTE When installed in a Micro-PDP11 or a MicroVAX, this equipment has been tested with a Class A computing device and has been found to comply with part 15 of FCC Rules. Operation in a residential area may cause unacceptable interference to radio and TV reception requiring the operator to take whatever steps are necessary to correct the interference. CHAPTER 1 INTRODUCTION 1.1 SCOPE , This chapter introduces the M7516 module, which is a DIGITAL Ethernet Local-Area-Network to Q-bus Adapter (DELQA). The sections are as follows. Section 1.2 Ethernet Overview Section 1.3 DELQA Overview Section 1.4 Specification Section 1.5 Interfaces Section 1.6 Functional Description 1.2 ETHERNET OVERVIEW 1.2.1 General Description Ethernet employs a branching-bus topology, with all nodes granted equal access rights. Using repeaters, the main bus can be extended up to 2.8 kilometers (1.74 miles) between the two furthest nodes of the network. Along this length, up to 1024 nodes can be tapped into the network. Each node is a single addressable entity, comprising a controller and a transceiver. The transceiver is connected to the Ethernet cable by a cable tap. The cable that connects the transceiver to the controller can be up to 50 meters long. The transceiver itself is not always necessary; for example, the connection to the Ethernet may be made using a DELNI multiplexer. Figure 1-1 shows an example of a large-scale Ethernet configuration. Safety warnings are shown in Figures 1-3 and 1-4. 1-1 INTRODUCTION ( " 1 1 1 @ SEGMENT 1 LOCAL REPEATER PDP O N S PDP I VAX - SEGMENT 2 DELNI VAX REMOTE REPEATERS Micro PRO VAX VAX SEGMENT 3 PRO PRO PDP KEY SEGMENT TERMINATION H4aXXX TRANSCEIVER/CABLE TAP TRANSCEIVER CABLE HOST NODE (COMMUNICATIONS CONTROLLER AND HOST SYSTEM) RE6897 Figure 1-1 Typical Ethernet Configuration 1-2 INTRODUCTION WARNING Ethernet installations may extend to thousands of meters and couple hundreds of separate items of equipment. To prevent hazardous voltages appearing on the installation, it is important that all the equipment be part of a common equipotential bonding system as defined in IEC publication 364-4-41 clauses 413.1.2 and 413.1.6. Where it is required o couple equipment outside of the main equipotential bonded area via ethernet, then optical repeaters or other such galvanically isolated measures must be employed. If in doubt please refer to Digital for advice. VAROITUS Ethernet-verkot voivat olla tuhansia metreji pitkid ja niihin voidaan liittd#d satoja erilaisia laitteita. Jotta verkkoon ei pi#isisi syntymidn vaarallisia jinnitteitid, kaikkien laitteiden on ehdottomasti kuuluttava samaan potentiaalintasausjidrjestelmiiiin, jonka ominaisuudet on méiéritetty IEC:n julkaisussa 364-4-41, kohdissa 413.1.2 ja 413.1.6. Mikili Ethernetiin halutaan liittiilaite, joka ei kuulu potentiaalintasausjiirjestelmiiéin, on kiiytettiviioptisia toistimia tai vastaavia galvaanisesti eristettyjdi menetelmis. Jos et ole varma kiytettivista menetelmésti, ota yhteys Digitaliin. DANGER Une installation Ethernet peut s’étendre sur des kilométres et relier des centaines d’éléments. Afin d’éviter tout probléme électrique, vérifiez la présence d’une mise a la terre commune ainsi qu’elle est définie par 'EC (364.4.41, clauses 413.1.2 et 413.1.6). S’il s’avére nécessaire de relier par Ethernet des équipements non rattachés 4 une méme terre, utilisez des répéteurs optiques ou autres matériels offrant la méme qualité d’isolation. En cas de doute, prenez contact avec les Services techniques Digital. VORSICHT Ethernet-Netzwerke konnen sich iiber mehrere tausend Meter erstrecken und mehrere hundert einzelne Geriite miteinander verbinden. Zur Vermeidung von gefihrlichen Spannungen im Netzwerk ist es unbedingt erforderlich, da3 alle Geriite Teil einer gemeinsamen Erdungsschleife sind, wie in den IEC-Richtlinien 364-4-41, Abschnitte 413.1.2 und 413.1.6 angegeben. Wenn Geriite auBerhalb der Erdungsschleife iiber Ethernet miteinander verbunden werden miissen, miissen optische Repeater oder andere galvanisch getrennte Mittel verwendet werden, Falls Sie Fragen haben, wenden Sie sich an Digital Equipment. WAARSCHUWING Ethernet-configuraties kunnen een afstand van verschillende kilometers overbruggen en honderden afzonderlijke apparaten met elkaar verbinden. Om te vermijden dat er zich gevaarlijke spanningen zouden voordoen op de configuratie, is het belangrijk dat alle apparatuur gebruik maakt van dezelfde voeding en dezelfde aarde, zoals gedefinieerd in de IEC-publikatie 364-4-41, bepalingen 413.1.2. en 413.1.6. Wanneer apparatuur die niet op eenzelfde equipotentiaal spanningsnet is aangesloten via Ethernet gekoppeld moet worden, moet men gebruik maken van optische repeaters of van andere galvanisch isolerende technieken. Bij twijfel gelieve u contact op te nemen met Digital. ATTENZIONE Le installazioni Ethernet possono estendersi per migliaia di metri e collegare diverse centinaia di elementi separati di apparecchiature. Per evitare il rischio di scariche elettriche al momento dell’installazione, @ importante che tutte le apparecchiature siano collegate ad un comune sistema di massa come definito nella pubblicazione IEC 364-4-41, clausole 413.1.2 e 413.1.6. Laddove si richieda di collegare ’apparecchiatura fuori dalla principale area di massa via Ethernet, si devono utilizzare ripetitori su fibra ottica o qualsiasi altro strumento isolato gslvanicamente. Per qualsiasi informazione rivolgersi alla sede Digital piu vicina. ADVARSEL Ethernetinstallasjoner kan strekke seg over flere tusen meter og ha tilkoblet flere hundre forskjellige utstyrsenheter. For 4 forhindre at det skal oppsta farlige spenninger pé installasjonen, er det viktig at alt utstyret tilhorer et felles ekvipotensialt forbindelselsystem, slik det er definert i IlEC-publikasjon 364-4-41, paragrafene 413.1.2 og 413.1.6. Der hvor det er pikrevet & koble utstyr via Ethernet utenfor det ekvipotensiale hovedomrédet, er det pdbudt 4 benytte optiske linjeforsterkere (repeatere) eller tilsvarende galvanisk isolert materiale. Kontakt Digital hvis du er i tvil. RE7124 Figure 1-2 1-3 Warnings INTRODUCTION ATENCION Las instalaciones basadas en Ethernet pueden cubrir Areas de varios centenares de metros e interconectar distintos médulos de un equipo. Para evitar que se den tensiones peligrosas en la instalacién es necesario que todos los componentes se conecten a una masa Gnica, de acuerdo con normas IEC 364-4-41 (§413.1.2 y §413.1.6). Cuando sea preciso utilizar Ethernet con componentes que no vayan conectados a dicha masa comin se utilizaran repetidores épticos u otros dispositivos de medida con aislamiento galvanico. En caso de duda consulte con Digital. VARNING Ethernet-installationer kan omfatta tusentals meter kabel som kopplar samman hundratals separata delar av en utrustning. Fér att skadliga spiinningar ska undvikas iir det viktigt att all utrustning har gemensam jord enligt vad som anges i IEC:s skrift 364-4-41, avsnitten 413.1.2 och 413.1.6. Diir det ér nédviindigt att ansluta utrustning med annan jordning via Ethernet, méaste optiska kopplare anviindas eller andra atgiirder vidtas for att Astadkomma galvanisk isolering. Kontakta giirna Digital for ytterligare information. AVISO A instalacédo da Ethernet pode estender-se por milhares de metros e agrupar centenas de itens de equipamento. Para evitar que voliagens perigosas surjam na instalagéo, é importante que todo o equipamento faca parte de um sistema eléctrico equipotencial comum, tal como definido na publicac¢io 364-4-41 do IEC, clausulas 418.1.2 e 413.1.6. Onde foér necessario ligar equipamento fora da area principal de ligagdo eléctrica equipotencial, através da Ethernet, deverio ser empregues repetidores épticos ou outras solugdes galvanicamente isoladas. Em caso de duvida, contacte a Digital. ADVARSEL Ethernet-installationer kan streekke sig over tusindvis af meter og forbinde hundredevis af separate dele af udstyr. For at undga farlig speending i installationerne er det vigtigt, at alt udstyret er del af et frelles jordingspunkt som definereti IEC publikation 364-4-41, klausulerne 413.1.2 og 413.1.6. Hvor det er nadvendigt at forbinde udstyr udenfor det storre felles jordingspunkt via Ethernet, skal der anvendes optisk kobling eller anden form for galvanisk isolering af udstyret. For yderligere oplysninger henvises til den lokale Digital afdeling. T3 ¥ ,0°wn oA VISNY Co9n °S9 13 Yy TN p°nusY Lo2T79f TPy TI*ND J0¥ TU9pNY Jwn AN 373 nannMm 193n MmN MY namwn ,9Nestvisay 413 1.6 -1 Cvrm 103 ETHERNET-n MmN L 1pnma %20 ansntn D197 M7 ,IEC -1 Tv '3 N 99100 Afand Xan T’y Mynwn 'ved Y9nwn poa A DYy noawnp ornwn 413.1.2 7any warS mSpnn 71939 M9y D 9nen pYn N L, n°2°0m 0°9°UD 364-4-41 onav Mimpna wonwn 0°1°°n >IN ,ETHERNET MUNNNI , NOMWHN N2WUNTD 9nwnn Nown D’INN D’UNPN] IN (OPTICAL REPEATERS, BRIDGES) .*NIANN *umIN 9%) T1°N3 D TTIANN 221990 9u° 377 TwnY Mty ~F , mpoo 1Munt ¥ 1= 3 FPOREBEUISHT S EBHD ET OE A —FIZRAZEZD, RIS T AEEAERORBESMHHICE, . ZWOHOHRBHEB I FIFA13.1.2 BXUK113.1.(>Lt?¢ht>iL IGEEMES A FLICHER ST VWL 2 L HWEETT GBI S 2T LA T I A GBI pTm (#23) R N fi%?()»l"»l—»llfl) 1A LAz, TR N ([OEAH) (2 —F % b % 7L CH BERETLLEHDHIBE. AT ) E—F | AIFERIC H S L HLETT FREMEZ ZAWA A RS BRI B F S _— Figure 1-3 1-4 Warnings INTRODUCTION The principal characteristics of the Ethernet are: Topology: ' Branching bus Medium: Shielded coaxial cable Transmission: Manchester-encoded digital baseband signaling Data Rate: 10 Megabits/second. Access Control: Carrier Sense, Multiple Access with Collision Detect (CSMA/CD). Allocation: 64- to 1518-byte packet length (includes variable-length data field between 46 and 1500 bytes). The maximum Ethernet configuration for a coaxial cable bus is as follows: * Each segment of coaxial cable can be up to 500 meters long (1640.5 feet). Each segment must be terminated at both ends. ¢ Up to 100 nodes can be tapped into a cable segment. Each node must be between 2.5 meters (8.2 feet) and 1500 meters (4921.5 feet) from its nearest neighbors. Standard transceiver positions are usually marked at every 2.5 meters. * A transceiver cable (from transceiver to node controller) can be up to 50 meters (164 feet) long. * Repeaters are used to retransmit signals from one segment to another. A repeater uses a node position, and also contributes to the total node count, on both the segments that it connects. There can be up to two repeaters in the path between any two nodes. * : Repeaters can be placed at any position along a cable segment to extend the network bus up to a maximum of 2.8 kilometers (1.74 miles). This would comprise three segments of 500 meters, plus six transceiver cables of 50 meters, plus a 1 km fiber cable between remote repeaters. The Ethernet configuration rules ensure the best network performance within physical channel limitations. Figure 1-4 shows the limits of Ethernet connectivity. 1.2.2 Ethernet Layers The Ethernet architecture is structured in two layers which correspond to the lowest layers in the International Standards Organization (ISO) model for Open Systems Interconnection (OSI). The two layers have the folloWing functions. » The physical layer specifies the maximum number of nodes, their maximum separation, the data rate on the Ethernet bus, as well as the electrical and mechanical connections. » The data link layer specifies the mechanism for access control (CSMA/CD), the procedure for multiaccess network control, and the format of transmission packets. The physical layer and the data link layer together provide a datagram service for transmitting message packets between nodes. A datagram service cannot guarantee that a packet is received, because transmission and reception are the responsibility of higher levels in the network architecture; but it does guarantee that those packets that are received are correct. ' The DELQA module handles all of the physical layer, and part of the data link layer functions. Host software handles the higher levels of protocol, as well as network management, error recovery, internetwork communication, and the user interface. INTRODUCTION MAXIMUM SEGMENT 500m, WITH UP TO 100 NODES - —— - . P SEGMENT 1 LOCAL REPEATER TAKES ONE NODE POSITION ON BOTH SEGMENTS ° F— 1 L_|—e SEGMENT 2 MAXIMUM TRANSCEIVER DELNI CABLE LENGTH (TRANSCEIVER TO CONTROLLER) 50m VAX PRO Micro VAX VAX Micro PDP MAXIMUM BUS LENGTH (ALL SEGMENTS) 2.8Km WITH UP TO 1024 NODES STANDARD NODE SEPARATION MINIMUM 2.5m MAXIMUM 1500m REGBIB Figure 1-4 1.2.3 Ethernet Connectivity Data Encapsulation Data is transmitted over an Ethernet in packets (or frames) that have a specific format. Figure 1-5 shows the format of an Ethernet packet. Table 1-1 gives the size of each field in an Ethernet packet. INTRODUCTION Field Sizes in an Ethernet Packet Table 1--1 Bytes Field Destination .6 Source 6 Type 2 Data 46 to 1500 CRC 4 Total packet 64 to 1518 A packet is preceded by a 64-bit preamble which is a pattern of alternating 1s and Os for receiving node synchronization, The pattern ends with ...01011 rather than ...01010. The fields in the packet are as follows. 1. The destination field contains the 48-bit address of the receiving node(s). The address is either physical or logical, and it may be any one of the following,. e An individual node address (first address bit = 0) « A multicast address for a group of nodes (first address bit =1). « A broadcast address for all nodes (all address bits = 1). The source field contains the 48-bit Ethernet physical address of the sending node. The 16-bit type field determines how higher-level software interprets the data field. The protocol data field itself must contain between 46 and 1500 bytes. If the data to be sent consists of less than 46 bytes, software must insert null bytes to fill the field. The frame check sequence (FCS) contains a 32-bit Cyclic Redundancy Check (CRC) value. The DELQA module calculates this value, inserts it when a packet is transmitted, and checks it when a packet is received. The CRC is removed from a received packet before delivery to the host. The interframe spacing (or interpacket gap) allows the physical channel to recover between packets. The minimum spacing is 9.6 microseconds. Figure 1-3 shows the standard Ethernet packet format. PREAMBLE DESTINATION 8 BYTES 6 BYTES j SOURCE TYPE 6 BYTES 2 BYTES Ry il S e ST —————————— DATA -y BETWEEN 46 AND 1500 BYTES 4 BYTES gy h ] :SNATIERFRAME | CRC — A S — -t 9.6 MICROSECONDS (MINIMUM) <—————TOTAL SIZE OF PACKET IS BETWEEN 64 AND 1518 BYTES —————» RE1679 Figure 1-5 Ethernet Packet (Frame) Format INTRODUCTION 1.3 1.3.1 DELQA OVERVIEW General Description The Q-bus communications controller on of processors to an Ethernet Local Area Q-bus backplanes. The DELQA module conforms to the the DELQA module interfaces both the Micro VAX and LSI-11 families Network (LAN). The controller is compat ible with both 18- and 22-bit Ethernet specification (Version 2.0), and is compatible with the IEEE 802.3 Specification for Carrier Sense with Multiple Access with Collision Detection. In terms of Open Systems Interconnection, the module implements the functions of the physical layer and part of the data link layer. The principal functions of the DELQA module are to: « Transmit/receive data at 10 Mbits/s * Perform packet serialization, formatting, * Generate and check a 32-bit CRC for each * Interface with the Ethernet transceiver * Perform Direct Memory Access (DMA) Manchester encoding, and multiple retrans mission packet transfers to and from host memory DELQA (Normal Mode) also supports: * Generation of MOP Remote console system * Processing MOP Remote console system ID requests * Processing of Ethemet channel loopback protocol requests * Processing of MOP Remote console BOOT * Processing of JEEE 802.2 NULL LSAP XID message requests * Processing of IEEE 802.2 NULL LSAP TEST message requests. * Write the MOP Boot Password value * Read the MOP Boot Password value * Write the MOP System ID Parameters * Read the MOP System ID Parameters * Reset the MOP System ID Parameters * Read the last MOP Remote Boot message received * Read the datalink counters values * Read and clear the values of the datalink * Read the current DELQA Physical Etherne * On-Board (OBT) self-test: * ID message requests counters t Address — Execution on Power-Up — Host software request bit — Completion status with error report Boot/diagnostic code support. Switches are provided on the DELQA module for setting the Q-bus base address, the operati ng mode (Normal or DEQNA-lock), and various operating conditi ons (such as Remote Boot). Other functio ns and configurations are progra mmable from the host. INTRODUCTION The DELQA module has an on-board self-test that is independent of the host. On-line and standalone diagnostics are also available. Three LEDs on the module indicate the test status of the module. Figure 1-6 shows the functional block diagram of the DELQA. 1.3.2 Physical Description The DELQA module is a dual-height module which plugs directly into the Q-bus backplane. The DELQA module may be connected to the Ethernet physically and electrically using an Hdxxx transceiver; or using a DELNI multiplexer and a transceiver. The connection is made through the cabinet kit and transceiver cable. The cabinet kit consists of a bulkhead panel and cable which is manufactur ed as a single assembly. 1.3.3 Order Codes The DELQA module consists of a base option (DELQA-M) and a cabinet kit (CK-DELQA- Yx). These options are ordered separately. Table 1-2 lists the DELQA module options. Table 1-2 DELQA Ordering Options Base Option DELQA-M ~ Description - DELQA DELQA User’s Guide Module (EK-DELQA-UG) M7516 CK-DELQA-YB BA23 12 inches (30.5 cm) CK-DELQA-YA BA123 21 inches (53.6 cm) CK-DELQA-YF H9642 36 inches (91.5 cm) Each kit is supplied with a module-to-bulkhead cable of the appropriate length, 15-pin bulkhead loopback connector (12-22196-02). 1.3.4 Q-bus Addresses Table 1-3 lists the Q-bus addresses that are available for use by a DELQA module. Table 1-3 Module Addresses Base Address Unit Module 17774440 DELQA 1 DELQA or DEQNA 17774460 DELQA 2 DELQA or DEQNA and a INTRODUCTION A ETHERNET ETHERNET CABLE TRANSCEIVER } y DELQA SERIAL INTERFACE ADAPTER (SIA) A Y LOCAL AREA NETWORK CONTROLLER FOR ETHERNET (LANCE) TXCVR 68000 - N/ BACKPORT BUS ROM | G%US | (TRANSCEIVER) QNA2 RAM Q-BUS INTERFACE CONTROLLER (QIC) AN G Q-BUS TRANSCEIVERS y4 HOST Q-BUS > RE1680 Figure 1-6 DELQA Functional Block Diagram 1-10 INTRODUCTION 1.3.5 Ethernet Connection . A separate transceiver cable (order number BNE3X-nn), which must be ordered separately, connects the bulkhead to an Ethernet transceiver. This transceiver cable has a male 15-pin connector for fitting into the bulkhead. NOTE The signal connections of the DELQA cabinet kit comply with IEEE 802.3, and may be used with either the DELQA or DEQNA modules. DEQNA cabinet Kits are not IEEE 802.3 compliant, and may only be used for Ethernet networks. Table 1-4 lists the transceiver cable options. Table 1-5 lists the pin connections on the DELQA module and at the bulkhead. Table 1-4 BNE3x-nn Transceiver Cable Options Option Material Connector BNE3A PVC Straight BNE3B PVC Right angle BNE3C TeflonTM Straight BNE3D Teflon Right angle Part Number Length -05/J2 164 ft (5 m) -10/12 32.8 ft (10 m) -20/J2 65.6 ft (20 m) -40/J2 131.2 ft (40 m) TMTeflon is a trademark of E.I. du Pont de Nemours & Company, Inc. INTRODUCTION Table 1-5 DELQA Cabinet Kit Connections DELQA Signal Module Bulkhead IEEE 802.3 Name Plug Connector Sheath Voltage return 1 Power (+12 V) 2 N.C. 3 Return (+12 V) 3 4 Return (+12 V) 4 6 5 Ground 5 14 6 Receive + 6 5 Receive + 7 Receive — 7 12 Receive — 8 Ground 8 9 Ground 9 10 Transmit -+ 10 3 Transmit + 11 Transmit -- 11 10 Transmit — 12 Ground 12 4 Shield 13 Ground 13 14 Collision + 14 2 Collision Presence + 15 Collision - 15 9 Collision Presence — 16 Ground 16 17 N.C. 17 18 N.C. 18 7 Control-Out A 19 N.C. 19 15 Control-Out B 20 FUSE OK 20 (FUSE -) 13 Voltage supply +12 V 1.4 1 (FUSE +) KEY (Shield) SPECIFICATIONS The DELQA module meets the Ethernet specification (Version 2.0) and is compatible with IEEE 802.3 Specification for Carrier Sense with Multiple Access with Collision Detection. Table 1-6 gives the specifications of the DELQA module. INTRODUCTION Table 1-6 DELQA Specifications Physical Electrical Q-bus loads Temperature Dimension Imperial Metric Height 5.19 inches 12.67 cm Width 0.5 inches 1.27 cm Length 8.94 inches 22.6 cm Weight 12 ounces 0.34 kg Voltage Tolerance Typical Maximum current current +50V +5% 27 A 30A +12.0V +5% 05 A 1.5A AC DC 3.3 0.5 Environment Specification Storage —40 to 66 degrees Celsius Operation 5 to 50 degrees Celsius NOTE BEFORE OPERATING with the DELQA module you must give it a reasonable time to stabilize in an environment within the operating range. Airflow Specification Airflow across the board must limit the outlet temperature to a maximum of 50 degrees Celsius, and the temperature rise across the board to 10 degrees Celsius. Under typical power dissipation, this can be achieved using a linear airflow of 1.2 meters/second. NOTE Do not subject any area of the board to a local ambient temperature above 70 degrees Celsius under any environmental conditions. Relative Humidity Environment Specification Storage 10% to 95%, non-condensing INTRODUCTION Table 1-6 (Cont.) DELQA Specifications Relative Humidity Altitude Environment Specification Operation 10% to 95%, non-condensing Environment Specification Storage Maximum: 12.1 km (40,000 ft) Operation Maximum: 2.4 km (8,000 ft) NOTE Derate the maximum operating temperature by 1.8 degrees Celsius for each 1000 meters (3281 feet) of altitude, unless constant cooling is provided. 1.5 THE DELQA MODULE FUNCTIONAL DESCRIPTION 1.5.1 General Description The DELQA module is a Q-bus communications option which enables higher-level software protocols, such as DEChnet, to communicate over an Ethernet network. The DELQA module conforms to the Ethernet Local Area Network Specification (Version 2.0), and is compatible with the IEEE Specification 802.3 for Local Area Networks. The DELQA module transfers encapsulated data packets of 60 to 1514 bytes between buffers in host memory and an Ethernet transceiver. The DELQA module appends a 4-byte CRC to transmit packets, making the length of the packet on the Ethernet between 64 and 1518 bytes. The DELQA module strips the 4-byte CRC from received packets. Transmit packets are transferred from host memory to buffer memory (shared RAM) on the DELQA module board, and from there on to the Ethernet. Received messages follow the same path in the opposite direction. The DELQA module is programmed from the Q-bus using eight word addresses in the I/O page, and can perform block-mode DMA to and from Q-bus memory. In addition to providing an Ethernet interface, DELQA supports some functions of the Maintenance Operations Protocol (MOP). 1.5.2 ' Operating Modes The DELQA module operates in one of two modes. DELQA (Normal mode) supports: » The provision of DEQNA compatibility when using DIGITAL software drivers » Generation of MOP Remote console request system ID requests » Processing of MOP Remote console systeni ID requests » Processing of Ethernet channel loopback protocol requests » Processing of MOP Remote console BOOT request » Processing of IEEE 802.2 NULL.LSAP XID message requests » Processing of IEEE 802.2 NULL LSAP TEST message requests. » Write the MOP Boot Password value » Read the MOP Boot Password value INTRODUCTION Write the MOP System ID Parameters Read the MOP System ID Parameters Reset the MOP System ID Parameters Read the last MOP Remote Boot message received Read the datalink counters values Read and clear the values of the datalink counters Read the current DELQA Physical Ethernet Address On-Board self-test: — Powerup execution in DELQA mode — Host software request bit — Completion status with error report Boot/diagnostic code support. In DEQNA-lock mode, the DELQA module provides functional compatibility with DEQNA modules when using some non-DIGITAL software drivers. 1.5.3 Host Programming The DELQA module handles block-mode DMA automatically, once the buffers and control information have been set up by host software. Host software is responsible for: Initializing the communications data area in host memory Writing a setup packet with information to initialize the DELQA Handling interrupts generated by DELQA, particularly on completion of each transmit or receive DMA transfer. 1.5.4 Module Components Figure 1-7 shows the major components of the DELQA module. Processor subsystem LANCE/SIA subsystem QIC QNA2 Memory subsystem The module comprises five major functional subsystems, plus interconnecting buses. INTRODUCTION s—2 { (CONNECTOR) ]Duu 123 LEDS PICOFUSE (5A) [ _ 4 (SWITCHES) | (LANCE) (68000 ROM) (68000) (68000 ROM) (RAM) (RAM) (RAM) (ic) (RAM) (QNA2) (SA ROM) RE1681 Figure 1-7 1.5.5 DELQA Module Board Layout Processor Subsystem The M68000 CPU plus firmware is responsible for: Self-test and initialization upon power-up and reset. Self-test verifies the integrity of each of the five functional subsystems, plus the integrity of the cable signal path from the DELQA module to the Ethernet transceiver. Managing all module configuration and control functions in accordance with the CSR and Setup packet parameters. Managing all data transfer functions, including initiation of DMA transfers to/from host memory by giving the appropriate instructions to the QIC. Network management support including MOP and IEEE 802.2 functions. INTRODUCTION 1.5.6 LANCE/SIA Subsystem The LANCE/SIA chipset is responsible for: « CSMA/CD network access, including collision handling * Packet serialization/deserialization » CRC generation/checking * Framing * Data encapsulation » Buffer management * On-board DMA * Error reporting | Address detection can be programmed to detect a specific physical address, or logical addresses. 1.5.7 QIC Subsystem The QIC is a general-purpose Q-bus interface controller which provides: * Q-bus slave control logic * 1/O page addressing * DMA arbitration and control: — On Q-bus side, both control-DMA (four words mixed writes and reads), and data DMA, 22-bit addressing — On backport side, 16-bit DMA address register/counter * Interrupt control * Q-Bus NXM timeout detection » The ability to initiate host reboot. 1.5.8 QNAZ2 Subsystem The QNA2 arbitrates requests (R/W access, and DMA) for the backport bus, which is shared between the QIC, 68000, and LANCE. The QNA2 implements the following control functions. * Arbitration of access rights for the QIC, 68000 microprocessor and LANCE » Read/Write control logic for memory accesses * Read/Write control logic for QIC registers, LANCE registers . LANCE and QIC control 68000 control | | The QNA2 also contains the module’s Control and Status Register (CSR). INTRODUCTION 1.5.9 Memory Subsystem The niemory subsystem contains: * 32K bytes of static RAM for packet buffering, and scratch area for 68000 * 32K bytes of Firmware ROM, which also includes the self-test diagnostic code. The firmware ROM also contains 4.0K bytes of PDP-11 boot/diagnostic code for execution by the host system (MicroVAX systems provide equivalent boot/diagnostic code in their own host system ROM. * A unique Station Address (SA) ROM for each DELQA module 1.5.10 Q-bus Interfaces The DELQA module is connected directly to the Q-bus backplane. The interface consists of slave and master logic. * Slave logic gives the host access to the DELQA port registers. * Master logic performs the QIC functions to: —- Address host memory —- Transfer data —- Fetch descriptors —- Store status —- Increment addresses and word counts. 1.5.11 Q-bus Timers The DELQA module has two on-board timers that operate automatically. * The holdoff timer causes the DELQA module to wait for approximately 6.4 microseconds before requesting the bus again, thus allowing other DMA devices to acquire the bus. * The bus time-out timer causes the bus cycle to abort with a Nonexistent Memory (NXM) interrupt slave fails to respond within approximately 10 microseconds. 1.6 MODULE INTEGRITY The DELQA module has built-in self-test routines, provides support for Maintenance Operation network functions, and is supported by host system diagnostics. 1.6.1 if the bus Protocol (MOP) Self-Test In Normal mode, the DELQA module executes a comprehensive self-test on powerup. This takes approximately five seconds. The firmware ROM on the DELQA module contains 4.0K bytes of PDP-11 boot/diagnostic code. If the module is controlled by a PDP-11 host, the host can execute this code in order to increase fault coverage. This enables the DELQA module to determine that the DELQA module is operating correctly, before it attempts Ethernet. For MicroVAX systems a similar test is found on the host CPU boot ROM., to access the INTRODUCTION 1.6.2 Maintenance Operations Protocol (MOP) In Normal mode, the DELQA module is capable of implementing the following MOP functions (a subset of DECnet operations) on behalf of a Remote Console (another node on the Ethernet) without host intervention. These are: * Loopback to nctWork e Transmit system ID * Respond to request system ID * Respond to remote trigger request A Trigger Instruction (remote console request to reboot) can be executed if the local host system contains the appropriate BOOT ROM for loading the boot code from the DELQA module. 1.6.3 IEEE 802.2 Link-layer Service Access Point (LSAP) Messages In Normal mode, the DELQA module processes the following Link-layer Service Access Point (LSAP) messages when used on an IEEE 802.3 local area network. These are: « NULL TEST (Loopback) « NULL XID (Transmit ID). 1.6.4 Host System Diagnostics Host systems provide diagnostic tests for Q-bus modules and for testing communications modules as part of a network. The module tests are processor-specific. PDP-11 hosts support the Field Functional Diagnostic (ZQNA??) and the DEC/X11 Exerciser. MicroVAX hosts provide the MicroVAX Diagnostic Monitor (MDM). The network tests are: + DECnet Network Control Program (NCP) » Network Interconnect Exerciser (NIE). NOTE The current Ethernet diagnostics are compatible with both the DELQA module and the DEQNA module. Early versions only support the DEQNA module and cannot be used with the DELQA module. : CHAPTER 2 INSTALLATION 2.1 SCOPE This chapter describes how to install a DELQA module in a MicroVAX or MicroPDP-11 system. The sections arc. Section 2.2 Unpacking and Inspection Section 2.3 Checking Installation Requirements Section 2.4 Configuration and Installing the Module Section 2.5 Post-Installation Checks Section 2.6 Diagnostic Acceptance Tests In each section the sequence of actions is numbered. Do the procedures in the order described. WARNING The procedures described in this chapter involve the removal of the system covers, and should be performed only by trained personnel. , ADVARSEL! Ifolge de procedurer, som er beskrevet i dette kapitel, skal systemets beskyttelsesplader fjernes; dette bgr kun udfares af personer der ved hvordan dette skal gores. WAARSCHUWING Bij de procedures die in dit hoofdstuk worden beschreven dienen bepaalde delen van de systeemomhulling te worden verwijderd; dit mag uitsluitend worden gedaan door opgeleid personeel. VAROITUS! Tassa luvussa kuvatut toimenpiteet liittyvat jarjestelmin suojakansien irrottamiseen. Ainoastaan koulutettu henkilokunta saa suorittaa nimai toimenpiteet. INSTALLATION AVIS! Ce chapitre décrit les interventions qui demandent que les couvercles extérieurs des appareils soient enlevés. Ces travaux devraient étre mis en main uniquement par des techniciens expérimentés. VORSICHT! Bei der Ausfuhrung der in diesem Kapitel beschriebenen Anweisungen mussen die Systemabdeckungen entfernt werden. Dies sollte nur von geschultem Personal ausgefuhrt werden. AITN D°0I0N NIONT LIN0IN DTN NMIIID L, AT T P91 YU PN OIN M WIRNA WY MYYvon NIWNN Y ATTENZIONE La procedura descritta in questo capitolo comporta la rimozione delle coperture e deve essere eseguita solo da personale specializzato. i B ABETE, KEHAN—DODWROAL FIDo>VT BRTHO Ed, ¥R, LTEMo04E CE->TBINWNTTFEW, ADVARSEL I dette kapitlet beskrives bl. a. hvordan man fjerner dekslene rundt systemet. Dette arbeidet mi bare utfgres av fagfolk. AVISO Os procedimentos descritos neste capitulo respeitam a forma como se retiram as proteccoes do sistema. Dada a sua especificidade, recomendamos que seja executado por pessoal especializado. INSTALLATION !ATENCION! Los procedimientos descritos en este capitulo incluyen el desmontaje de las cubiertas del sistema y debe ser realizado solamente por personal entrenado. VARNING I detta kapitel beskrivs hur systemkaapan tas bort. Detta faar endast utfoeras av utbildad personal. 2.2 UNPACKING AND INSPECTION NOTE Static electricity can damage the DELQA module. Always wear an anti-static wrist strap connected to an active ground and use a grounded work surface whenever you work on a system with covers removed, or handle system modules. When unpacking the DELQA kit, please check the contents of the shipping containers for damaged or missing parts. 1. Before opening the shipping containers, look for external damage such as dents, holes, or crushed corners. 2. Check the contents of each container, using the shipping list. 3. When unpacking the individual packages from the containers, inspect every DELQA part for shipping damage. Check carefully for cracks, breaks, and loose components. If you find that an item is damaged, do not open its package or you may void the warranty. 4. Report any damage or shortages to the shipper. If reshipment is likely, retain the shipping containers and packing materials, Table 2-1 lists the parts that must be ordered separately with each DELQA. Table 2-1 DELQA Installation Parts List Base Option DELQA-M Description DELQA Module (M7516) DELQA User Guide (EK-DELQA-UG) Cabinet Kit Cabinet Cable Length CK-DELQA-YB BA23 12 inches (30.5 cm) CK-DELQA-YA BA123 21 inches (53.6 cm) CK-DELQA-YF H9642 36 inches (91.5 cm) Each kit is supplied with a module-to-bulkhead cable of the appropriate length, and a 15-pin bulkhead loopback connector (12-22196-02). 2-3 INSTALLATION 23 CHECKING INSTALLATION REQUIREMENTS This section describes what is required in the host system before you install the DELQA module. procedures in the numbered order. 1. ' Verify that the correct host BOOT ROM:s are Do the installed if a down line load boot from the Etherne t is required in the host CPU. In a PDP-11 system, the host CPU must be able to load the extended bootstrap code from the DELQA BOOT ROM on the CPU module. An appropriate BOOT ROM is also required to enable the DELQA to initiate a system reboot when a Remote Boot request 2. is received over the network. Check Backplane Expansion Space/Power Requirements. The DELQA requires one dual Q-bus module Slot. There are several factors to consider when configu ring modules on the Q-bus. These include: —- Backplane and I/O expahsion space —- Power requirements — Allocation of module base addresses — The physical priority of each module. Check the power limits for the total system. The total current drawn and the total power used limits for the system. by all modules must not exceed the bus and power loading Refer to the host system manual for details. The table below shows how much a DELQA power requirements of the module. module loads the Q-bus, and the typical and maximum current and The module has a +5 volt power supply require ment. The module routes the +12 volt power supply to the H4xxx transceiver. Q-bus Load AC DC 33 0.5 Current Typical Power Maximum Typical Maximum +5V +12V +5V +12 'V +5V +12V 2.7 A 05 A 30A 1.5 A 1I95W 330W NOTE At powerup, the surge current into the transce iver is sufficiently high to current-limit some power supplies. 2-4 requirement INSTALLATION 2.3.1 Fuses NOTE A 1.5 A fuse of the correct type must always be fitted in the bulkhead module. Two fuses provide protection for the DELQA module and associated equipment; * A L5 A/250 V slo-bloTM 1.25 inch by 0.25 inch glass fuse (order number 90-07213) protects the transceiver and its associated external wiring. The fuse may be replaced with another fuse of the same type, a LittlefuseTM type 31301.5, a BEL FUSETM type 3SB1.5, or an equivalent. The 1.25 inch (3.8 cm) fuse holder (order number 12-22255-03) is located in the bulkhead assembly (not on the DELQA board). * A 5.0 A/125 V axial lead picofuse (order number 12-05747-00) protects the DELQA module and internal wiring. The picofuse is fitted on the DELQA board near the bulkhead cable connector; it looks like a resistor and is soldered to the board in the same way. It should be replaced only by trained personnel. 2.3.2 Backplane Positioning The DELQA is a dual-height module and may be positioned in either a Q/CD or Q/Q installed in a Q/Q slot, with no other adjacent module, an M9047 grant continuity slot. 2.4 backplane slot. If it is card is required in the vacant INSTALLING THE MODULE This section describes the procedures for preparing the host and DELQA for installation. Do the steps in the order described. The DELQA module is configured as a DMA device in the same way as a DEQNA module. The first DEQNA/DELQA vector in the host system is fixed at 120. Subsequent DEQNA/DELQA modules are assigned a floating vector with a rank of 47. You must configure them at system start-up using the auto-configuration routines for floating vectors. These vectors are written by host software. ' Table 2-2 shows the reserved addresses and vectors. Refer to Appendix A and the host system manual for further information., Table 2-2 Module Address and Vectors Base Address Vector Addr_ess Slot Module 17774440 120 (fixed) DELQA 1 DELQA or DEQNA 17774460 Floating (rank 47) DELQA 2 DELQA or DEQNA TM glo-blo is a trademark of S.B. Fuses _ TM Littlefuse is a trademark of Littlefuse Inc, Illinois U.S.A. TM BEL FUSE is a trademark of Belfuse Inc, New Jersey U.S.A. 2-5 INSTALLATION 2.4.1 Switch Settings The switches must be set for compatibility with the host system configuration. NOTE Static electricity can damage the DELQA module. Always wear an anti-static wrist strap connected to an active ground and use a grounded work surface whenever you work on a system with covers removed, or handle a DELQA module. The DELQA contains five switches, S1 to S5; however, only three of these switches are used to configure the DELQA. The remaining switches are reserved for DIGITAL. S1 - UNIT SELECT Switch This switch selects the module’s I/O page base address. The following table decribes how this switch selects the base Q-bus address of the DELQA. (S1) Position DELQA Base Address Closed 17774440 (shipped default) Open 17774460 S2 - RESERVED Switch S3 and S4 - MODE (S3) AND OPTION (S4) Switches S5 - Reserved 2-6 INSTALLATION H " comtEcron YR 123 D r —OPEN— j/ o | UG LEDS (SIA) 12345 (SWITCHES) | @ (LANCE) - PICOFUSE (5 A) (68000 ROM) (68000) (68000 ROM) (RAM) (RAM) (RAM) Qi) (RAM) (QNA2) (SA ROM) ] I RE1682 Figure 2-1 DELQA Switches in Default Position and LEDs 2-7 INSTALLATION The mode switch defines two possible modes of operation for the DELQA. The preferred mode is the ‘“Normal mode” which indicates that the DELQA is operating as a DELQA. All current DIGITAL software for the DEQNA may be used with confidence for the DELQA when the DELQA is switched to operate in Normal mode. “DEQNA-lock mode” should only be required for use with some non-DIGITAL software drivers to achieve compatibility with DEQNA programming features. The sanity timer enabling, on power-up, is controlled by the option switch when the DELQA is operated in DEQNA-lock mode. The following table defines the functions which may be selected through various combinations of S3 (mode switch) and S4 (option switch). SWITCH DEFINITIONS Mode (83) Position Option (S4) Position Normal Closed Remote Boot DISABLED Closed Remote Boot ENABLED Open Sanity Timer DISABLED Closed Sanity Timer ENABLED Open- DEQNA-lock Open NOTE With S3 and S4 OPEN, a Host boot will occur every 4 minutes if the sanity timer is not reset by the host software. NOTE Please see Section 1.5.2 for a summary definition of DEQNA-lock mode and Normal mode. S5 - RESERVED Switch DEFAULT SWITCH SETTINGS (ALL CLOSED) Switch Position Definition Switch 1: Closed 17774440 (Base Address) Switch 2: Closed Reserved Switch 3: Closed Normal mode Switch 4: Closed MOP Remote Boot Disabled Switch: 5: Closed Reserved 2-8 INSTALLATION 2.4.2 Ethernet Address ' ' The unique physical address of the DELQA module within Ethernet is stored in the Station Address ROM on the DELQA board. A record of this address is printed on a sticker on the handle of the board. This address should be given to the network manager for configuration. If it is essential to replace an existing DELQA module in a network while retaining the same physical Ethernet address, it is possible to swap the Station Address ROM to a new board. (Be sure to swap the stickers at the same time.) However, the risk of damage to both board and ROM means that this is not a recommended procedure. If the Ethernet address is changed, the only software change required involves updating the physical Ethernet address of the node at those host systems that use the node for downline loading over the Ethernet. 2.4.3 Inserting in System Backplane Slot This section describes the procedure for fitting the module board into the BA23 system backplane. If you have a BA123 cabinet, refer to your System User’s Guide for the physical details of accessing the system backplane and installing the module. ' Figures 2-2 and 2-3 show how the module fits into the backplane and is connected to the bulkhead by the cabinet kit. ~ RE3415 Figure 2-2 Rear Panel, Bulkhead, Blanking Panel, and Modules 2-9 INSTALLATION BNE2X ETHERNET COAXIAL CABLE — ’ I‘f N H400X c oy TRANSCEIVER ? " BNE3XXX ETHERNET TRANSCEIVER CABLE CK-DELQA-KA ",—_-]L1 il IL = ”D i ] CK-DELQA-KF CIC L] 0] CIC0C | 11 1L ] | BA123 CK-DELQA-KB LIl H9642 CIC 53.54 CM (21 IN) 30.5 CM (12 IN) BA23 91.44 CM (36 IN) I:I DELoA AN\ BULKHEAD PANEL ['JU CABINET KIT 2 DELQA MODULE RE1683 Figure 2-3 DELQA Cabinet Kits 1. Turn the system power off, and unplug the AC power line from the wall socket. 2. Remove the rear plastic cover by holding each end and pulling the cover towards you. 3. Open the bulkhead panel (also called: the system 1/O panel; or distribution panel) by loosening the two screws at the end opposite the hinge, and swinging it open. 4. Relocate modules and grant continuity cards as necessary to free the appropriate backplane slot(s) for the DELQA module(s). 5. Slide the DELQA module(s) into the appropriate backplane card slot(s) in the Q-bus backplane, using the card guides to locate the module as it is pushed home to connect with the system backplane., 2-10 INSTALLATION 2.4.4 Cabinet Kit. Figure 2-2 (Rear Panel, Bulkhead, Blanking Panel, and Modules) shows how the module is connected to the bulkhead by a cabinet kit and how the transceiver cable is attached to the other side of the bulkhead assembly. The center section of Figure 2-3 indicates the appropriate panel location for the DELQA in each cabinet type. 6. Remove the blanking panel from the appropriate location in the bulkhead panel by unscrewing the two retaining screws. Save the two screws. 7. Insert the cabinet kit into the panel location, and secure the assembly using the two screws saved from the blanking panel. 8. Feed the cable from the cabinet kit to the module, and connect it to the module as indicated by the label THIS SIDE UP. 9. ' Connect a loopback connector to the bulkhead connector. 10. Turn the system power on and check for correct self-test LED indication (see Table 2-3). If there is a problem in starting the host system, refer to the maintenance section of this guide. Table 2-3 Module LED Sequences Normal Mode — Power-Up Sequence LED1 LED2 LED3 Definition ON ON ON ON - - Executing internal logic self-test ON ON - Self-test executing external loopback test ON ON .ON Ready (to execute citizenship tests and/or normal functions) or module self-test DEQNA-lock Mode — Power-Up Sequence ON ON ON All LEDs come on and stay on If an Ethernet boot is initiated in either Normal or DEQNA-lock mode, or if software initiates a citizenship test, the following additional LED states are used. LED1T LED2 LED3 Definition ON ON ON Ready (to execute citizenship tests and/or normal functions) or module self-test - ON ON Executing citizenship tests - - ON Internal loopback citizenship tests completed successfully - - - External loopback citizenship tests completed successfully These sequences of LEDs should take less than 10 seconds. If the LEDs flash, this indicator error is discussed in Appendix D. NOTE LED states all ON, or all OFF at the end of the self-test indicate successful completion, depending on the boot mode. 2-11 INSTALLLATION 11. Measure the power supply voltages for the system at the +5 V and +12 V testpoints. They should be within the tolerances defined in the host system manual. 12. Turn the system power off, and unplug the ac power line from the wall socket. 13. Disconnect the loopback connector. 14. Ensure that all cables are clear of panels and doors, and cannot be trapped or damaged by sharp edges. 15. Close the bulkhead panel and tighten the two screws at the end of the panel opposite the hinge. 2.5 DIAGNOSTIC ACCEPTANCE TESTS This section describes customer-runnable diagnostics. For further details of service-mode diagnostics, refer to Appendix B. A MicroVAX II host and a MicroPDP-11 host have different diagnostic tests. For further details, refer to Appendix B, and to the appropriate host system manual. NOTE Both MicroPDP-11 and MicroVAX II diagnostics distinguish DELQA modules from DEQNA modules in order to run tests specific to each type of module. MicroVAX I diagnostics do not support DELQA. The current Ethernet diagnostics are compatible with both DELQA and DEQNA. Early versions only support the DEQNA and cannot be used with the DELQA. 2.5.1 Installation Tests on MicroPDP-11 Systems To verify that the MicroPDP-11 system and the DELQA module are functioning correctly: 1. 2. Switch on the system Boot the MicroPDP-11 Customer Diagnostic media. Refer to your MicroPDP-11 System Manual for further information. 3. Type I at the main menu to allow the diagnostics to identify the new module, and add it to the configuration file. : NOTE Look at the list of devices displayed, and make sure that the new module is included. If it is not included, repeat the installation sequence, . and make sure that the module switches have been set correctly. 4. Type T at the main menu to run the system tests. These should complete without error; if an error occurs, call DIGITAL Field Service. A MicroPDP-11 Maintenance Kit is available, and may be ordered from your local DIGITAL office. This kit allows trained personnel to run individual diagnostic programs under the XXDP+ diagnostic monitor, and to configure and run DECX11 system test programs. The XXDP+ functional diagnostic is ZQNA??.BIN. See Appendix B for further details of ZQNA??.BIN. 2-12 INSTALLATION 2.5.2 1. 2. Testing in MicroVAX II Systems Switch on the system power. Boot the MicroVAX Maintenance System media. Refer to your MicroVAX II System Manual for further information. 3. Type 2 at the main menu to show the system configuration and devices." NOTE Look at the list of devices displayed, and make sure that the new module is included. If it is not included, repeat the installation sequence, and make sure that the module switches have been set correctly. 4., Type 1 at the main menu to run the system tests. These should complete without error; if an error occurs, call DIGITAL Field Service. 2.6 CONNECTION TO ETHERNET When diagnostics have shown an.error-free system, connect the DELQA to an H4xxx transceiver or DELNI with a BNE3xxx cable. 2-13 CHAPTER 3 PROGRAMMING 3.1 SCOPE This chapter contains information about programming the DELQA module. The sections are as follows. 3.2 Section 3.2 Overview Section 3.3 Register Definitions Section 3.4 Buffer Descriptor Definitions Section 3.5 Data Transfer Section 3.6 Configuration and Control Section 3.7 Maintenance Operations Protocol (MOP): Module Support OVERVIEW The host software must provide routines to handle three basic types of operation on the module. * Module initialization » Configuration and control operations (addressing capabilities, loopback modes, and so on.) » Data transfer (transmit/receive) operations This section provides the definitions and procedures which the host software uses to implement these three basic types of operations with the DELQA. As an introduction to these operations the following section provides an overview of the data transfer mechanism between the host and the DELQA. Communication between the host and the DELQA is accomplished through buffer descriptors organized as list structures in host memory. Thereis one descriptor associated with each data buffer, and there are separate descriptor lists for transmit and receive, Tx BDL and Rx BDL. The information in each descriptor includes: * The address of the data buffer + The length of the data buffer + Status information associated with the buffer. The location of the descriptor lists is specified by the host writing the list address to the Tx BDL or Rx BDL I/O page register. The transmit/receive protocol is described below. 3-1 PROGRAMMING 3.2.1 Transmit—Host to Ethernet Data Transmission The host builds a list of one or more transmit descriptors, and then writes the address of the start of the list to the DELQA Tx BDL register. Note that the host must always terminate the list with an invalid entry. In response to the Tx BDL address register write, the DELQA takes the following action. 1. Starting at the address provided by the host, the DELQA reads the descriptor into RAM (by performing a Write Read Read Read (WRRR) control-DMA, where the Write operation is to set all the bits of word 1 to 1). All the bits of word 1 are reserved for the DELQA. 2. Bit 15 of the second descriptor word (the Valid bit) is examined to check that the descriptor is a valid one. If it is invalid, the DELQA sets XL in the Control and Status Register (CSR), and takes no further action. 3. If the descriptor is valid, and the DELQA has a transmit data buffer available, then a data-DMA transaction is performed to copy host data into the DELQA RAM, using the host buffer address and byte count supplied in the descriptor. 4. 5. The next host descriptor is read, and steps 2 and 3 are repeated. If the descriptor is invalid, then the DELQA assumes it has reached the end of the list, sets XL in the CSR, and takes no further action. When the packet has been transmitted on to the Ethernet, the DELQA writes the transmit status back to the host using a control-DMA WW (write-write) operation. 6. The DELQA sets the XI-bit in the CSR and then interrupts the host to indicate completion of transmission. The host should respond to this interrupt by reading the CSR to determine the reason for the interrupt. The host should then clear the reason bit, by writing a 1 to it. See Figure 3-1. 3.2.2 Receive—Data Reception from Ethernet to Host In order to receive any data from the Ethernet, the host must build a list of one or more receive descriptors, and then write the address of the start of the list to the DELQA Rx BDL register. The host must always terminate the list with an invalid entry. » In response to an Rx BDL address register write, the DELQA does the following. 1. Starting at the address provided by the host, the DELQA reads the descriptor into RAM (by performing a Write Read Read Read (WRRR) control-DMA, where the Write operation is to set all the bits of word 1 to 1). All the bits of word 1 are reserved for the DELQA. 2. Bit 15 of the second descriptor word (the Valid bit) is examined to check that the descriptor is a valid one. If it is invalid, the DELQA sets RL (Receive List Invalid) in the CSR, and takes no further action. 3. If the descriptor is valid, and the DELQA has received any packets from the network, then a data-DMA transaction is performed to copy the packet from the DELQA RAM to the host. Data is copied using the host address and byte count supplied in the descriptor. 4. The next host descriptor is read, and steps 2 and 3 are repeated. If the descriptor is invalid, then the DELQA assumes it has reached the end of the list, sets RL in CSR, and takes no further action. 5. When the data-DMA operation to the host has completed, the DELQA writes the status associated with the received packet back to the host using a control-DMA Write-Write (WW) operation. 6. The DELQA sets the RI-bit in the CSR, and interrupts the host to indicate that a receive operation has completed. PROGRAMMING HOST DELQA \j TX BDL ADDRESS TIME il FLAGWORD | © \ - DESCR.BITS,BUFF.ADDR.HI WRRR CONTROL - DMA (TRANSMIT DESCRIPTOR) BUFF.ADDR.LO BUFF. LENGTH e ¢+ - DATA @ DATA-DMA @ DELQA TRANSMITS PACKET T ot STATUS WORD 1 @ WW CONTROL-DMA A STATUS WORD 2 HOST WRITES TX BDL ADDRESS TO DELQA DELQA FETCHES HOST DESCRIPTOR (WRITE-READ-READ-READ CONTROL-DMA) DELQA DMAs DATA BUFFER FROM HOST DELQA TRANSMITS PACKET DELQA WRITES TRANSMIT STATUS TO HOST (WRITE-WRITE CONTROL-DMA) THE DELQA WILL CONTINUE TO FETCH AND PROCESS HOST DESCRIPTORS UNTIL IT FINDS A DESCRIPTOR WITH THE VALID BIT CLEAR REAG22 Figure 3-1 Transmit Sequence (No Chaining) PROGRAMMING 3.3 REGISTER DEFINITIONS 3.3.1 Control and Status Transfers This section describes how the host uses the DELQA’s hardware registers. 3.3.2 Control and Status Registers Each DELQA is assigned a block of eight word-locations in the Q-bus I/O page. These locations are wordaddressable only, and the DELQA acts as a bus slave to support access by the host software to the DELQA registers. The accessible registers are: » Control and Status Register (CSR) This is a one-word read/write control register. e Vector Address Register (VAR) This is a one-word read/write control register. » Receive Buffer Descriptor List (BDL) Start Address Register Transmit Buffer Descriptor List (BDL) Start Address Register These are two-word write-only registers that are maintained by the host software, and point to the Buffer Descriptor Lists (BDLs) in host memory. + Station Address ROM This is a set of six read-only memory bytes (the lower bytes of the first six words in the DELQA space). The Station Address (SA) ROM contains the 48-bit physical address of the DELQA module in the Ethernet LAN. Four of the I/O page addresses are write-only data registers, used to pass the start addresses of the BDLs for transmit and receive buffers. Two are read/write control registers. The DELQA can act as bus master to the Q-bus, in order to implement DMA transfers (either block-mode or non-block-mode) between RAM on-board the DELQA and BDLs in host memory. The registers are assigned to fixed blocks, so that more than one DELQA module can be mixed with other DELQA or DEQNA modules in the same host configuration, as shown in Figure 3-2 (Host I/O Page Map) and listed in Table 3-1. Table 3-1 DELQA Unit I/0O Base Addresses S1 Base Address Unit Module CLOSED 17774440 DELQA 1 DELQA or DEQNA OPEN 17774460 DELQA 2 DELQA or DEQNA 3.3.2.1 Control and Status Register (CSR) Definitions The Control and Status Register (CSR) is a read/write register that contains control and status information for the DELQA. ' Figure 3-3 shows the CSR bits, and Table 3-2 summarizes the bit definitions in Normal mode. More complete bit definitions follow this table. 34 PROGRAMMING OCTAL ADDRESS READ REGISTERS WRITE REGISTERS CONTROL AND STATUS REGISTER CONTROL AND STATUS REGISTER VECTOR ADDRESS REGISTER VECTOR ADDRESS REGISTER BASE + 16 STATION BASE 4 12 ADDRESS ‘ // TRANSMIT BDL START ADDRESS REGISTER STATION ADDRESS _ BASE + 10 STATION ADDRESS BASE + 06 RECEIVE BDL START ADDRESS REGISTER STATION ADDRESS BASE + 04 , STATION 7 ADDRESS BASE + 02 BASE + 00 /i Figure 3-2 15 14 13 12 11 10 / / / STATION ADDRESS Z Host 1/O Page Map 09 08 07 Ri|PElcalok|RrIsElec| Ll xilielrIxlepln!srlRE - 06 05 04 03 02 01 00 CSR (READ/WRITE) RE1687 Figfire 3-3 Control and Status Register (CSR) PROGRAMMING Table 3-2 Control and Status Register (CSR) Normal Mode Usage Bit Description State after Software Reset or Self-test State after Powerup Reset CSROD R/W Receiver Enable 0 (Clear) 0 (Clear) RE CSRO1 R/W Software Reset 0 (Clear) 0 (Clear) SR CSRO02 R Nonexistent-Memory 0 (Clear) 0 (Clear) NXM Bobt/Diagnostic 0 (Clear) 0 (Clear) BD Timeout Interrupt CSRO03 R/W ROM Load CSRO4 R Transmit List Invalid/Empty 1 (Set) 1 (Set) XL CSRO35 R Receive List 1 (Set) 1 (Set) RL Invalid/Empty CSRO6 R/W Interrupt Enable 0 (Clear) 0 (Clear) IE CSRO7 R/W1 Transmit Interrupt Request 0 (Clear) 0 (Clear) XI CSRO8 R/W #% Internal Loopback 0 (Clear) 0 (Clear) IL CSR09 R/W External Loopback 0 (Clear) 0 (Clear) EL CSR10 R/W Sanity Timer Enable 0 (Clear) 0 (Clear) SE CSR11 T Reserved: set to zero 0 (Clear) 0 (Clear) CSR12 R Ethernet Transceiver ~ No change No change OK Carrier from Receiver Enabled 0 (Clear) 0 (Clear) CA Parity Error in 0 (Clear) 0 (Clear) PE 0 (Clear) 0 (Clear) RI Power OK CSR13 R CSR14 R Memory CSR15 R/W1 Receive Interrupt Request Key: R—Read-only W—Write-only R/W-—Read or Write R/W1—Read or Write-one-to-clear (writing zero has no effect) *+—Active low r—Reserved bit with no access defined The CSR bits are used as follows. 3-6 PROGRAMMING (CSR00) Receiver Enable (RE) Read/Write When set: Enables the host to receive datagrams from the DELQA. When cleared: Disables reception of datagrams from the DELQA. Reset: Both software reset (CSRO1) and power-up reset clear CSR00 and disable datagram reception. This bit is set or cleared by the host only. (CSR01) Software Reset )SR( Read/Write When first set, and then cleared: The DELQA initiates a software reset. This bit is set or cleared by the host only. 1 The DELQA may still be active for up to 100 micro-seconds after the software reset bit is cleared 2 Setting this bit does not reset the device, it must be first set, then immediately cleared (see 3.6.3). (CSR02) Nonexistent-Memory Timeout (NXM) Read-only When set: CSRO2 is set if the DELQA times out while trying to access host memory. When reset: Software reset and power-up reset clear CSR02. This bit is set by the DELQA only, and cleared by the host. Note that the host must write a 1 to CSRO7 in order to clear this bit. (CSR03) Boot/Diagnostic ROM Load (BD) (PDP-11 only) Read/Write When set and then cleared: The DELQA copies the boot/diagnostic code from its on-board B/D ROM across to 4K words of receive packet buffers in the host. The host should wait 150 milliseconds before clearing CSRO03, and a further 150 milliseconds after that before executing the B/D code. The host must have a PDP-11 CPU and the appropriate boot ROM, and the host software must follow the correct sequence of commands both before and after BD load; this includes clearing CSR00 (disable reception). See Section 3.6, Configuration and Control Procedures, for more details. Reset: Both software reset (CSR01) and power-up reset clear CSRO3. This bit is set or cleared by the host only. 3-7 PROGRAMMING (CSR04) Transmit List Invalid/Empty (XL) Read-only When set: The DELQA sets this bit to indicate to the host that it has encountered an invalid transmit descriptor (a transmit descriptor with the Valid bit clear). (The DELQA always interprets an invalid descriptor as marking the end of a list.) The DELQA also sets this bit if it detects an NXM timeout, see CSR02. When clear: This bit is cleared by the action of the host writing the high-order word of the transmit buffer descriptor list address to the Tx BDL I/O page register. This event indicates to the DELQA that the host has a list of transmit descriptors that it wishes to be processed. Reset: Both software reset and power-up reset cause the DELQA to set this bit (that is, the list is considered invalid on reset). This bit is always set by the DELQA, and cleared by the host (by writing the Rx BDL address). (CSR0S) Receive List Invalid/Empty (BL) Read-only When set: The DELQA sets this bit to indicate to the host that it has encountered an invalid receive descriptor (a receive descriptor with the Valid bit clear). (The DELQA always interprets an invalid descriptor as marking the end of a list.) The DELQA also sets this bit if it detects an NXM timeout, see CSRO2. When clear: This bit is cleared by the action of the host writing the high-order word of the receive buffer descriptor list address to the Rx BDL 1/O page register. This event indicates to the DELQA that the host has a list of receive buffers into which the DELQA may deliver packets. Reset: Both software reset and power-up reset cause the DELQA to set this bit (that is, the list is considered invalid on reset). - This bit is always set by the DELQA, and cleared by the host (by writing the Tx BDL address). (CSR06) Interrupt Enable (IE) Read/Write When set: This bit is set by the host to enable the DELQA to generate interrupts. Interrupts are generated under the following conditions. 1. The DELQA has completed a transmit operation. 2. The DELQA has completed a receive operation. 3. The DELQA has detected an NXM timeout. The host should read the CSR to determine the reason for the interrupt (XI, RI, NI). When clear: Interrupts to the host are disabled. (Interrupt bits XI, RI NI may still get set, but no interrupts will be generated). When reset: This bit is set or cleared by the host only. 3-8 PROGRAMMING (CSR07) Transmit Interrupt Request (XI) Read/Write-One-To-Clear When set: Indicate.s that the DELQA has transmitted at least one packet, and has written the transmit status to the status words of the corresponding buffer descriptor(s) in host memory. If CSR06 is also set, the DELQA will issue an interrupt to the host. When reset: This bit is set by the DELQA and cleared by the host. Note that the host must write a 1 to CSRO7 in order to clear it. (CSR08) Internal Loopback (IL) Read/Write (CSR09) External Loopback (EL) Read/Write These bits are used to select the various DELQA loopback modes, but also have certain other functions. Loopback modes: CSRO8 CSR09 Loopback Mode 0 0 Internal 0 1 Internal Extended 1 1 External Note that CSRO0O must be cleared for all loopback modes Other functions: CSRO3 CSRO8 CSR09 Function 0 1 0 Non-loopback operation 0 X 1 Read SA ROM checksum 1 X 1 B/D ROM Load Where X = don’t care When reset: the host may set or clear both CSRO8 and CSR09, PROGRAMMING (CSR10) Sanity Timer Enable Read/Write When set: The DELQA will enable the sanity timer after the host has transmitted the next setup packet. (Note that the setup packet is used to define the timeout period — see Section 3.6.6 for details). Once the sanity timer is enabled, any transmit activity by the host, such as datagram transmission, setup packet transmission, or loopback packets will reset the timeout counter. When cleared: The DELQA will disable the sanity timer after the host has transmitted the next setup packet. NOTE Setting or clearing this bit by itself has no effect on the operation of the sanity timer. The host must remember to use the combination of CSR10 and setup packets to manage the sanity timer. The sanity timer will only be enabled or disabled based on the state of CSR10 after a setup packet is transmitted by the host. When Reset: Both software reset and power-up reset clear CSR10 and disable the sanity timer. Note, however that power-up in DEQNA-lock mode, with switch S4 open on the DELQA module, will, by itself, cause the sanity timer to be enabled with the default (four-minute) timeout period (no setup packet is required). (CSR11) Reserved: set to zero (CSR12) Ethernet Transceiver Power (OK) Read-only When set: Power is reaching the bulkhead connector. When cleared: Either the fuse on the bulkhead assembly has blown, or there is no power to the bulkhead. Reset: CSR12 is not affected by either software reset (CSRO1) or power-up reset. (CSR13) Carrier from Receiver Enabled (CA) Read-only When set: In normal transmission or external loopback mode (CSROS8 clear), CSR13 indicates that the DELQA is receiving a carrier signal from the Ethernet. When cleared: There is no activity currently on the Ethernet, or internal or extended loopback mode is selected (CSROS set). CSR13 can be sampled to poll activity on the Ethernet. Reset: Both software reset (CSRO1) and power-up reset clear CSR13, because they set internal loopback mode (CSROS). PROGRAMMING (CSR14) Parity Error in Host Memory (PE) Read-only When set: Q-bus parity error during access to the host memory. This error is fatal, and the DELQA halts operation. When cleared: Parity in the last host memory access was normal. Reset: Both software reset (CSR01) and power-up reset clear CSR14. " In DEQNA-lock mode, CSR14 is reserved (CSR15) Receive Interrupt Request (RI) Read/Write-one-to-clear When set: Indicates that the DELQA has delivered at least one packet to host memory, and has written receive status to the status words of the corresponding buffer descriptor(s). If CSR06 is also set, the DELQA will issue an interrupt to the host. When reset: Both software reset and power-up reset clear CSR14. This bitis set by the DELQA and cleared by the host. Note that the host must write a 1 to CSR15 in order to clear it. 3.3.3 Vector Addresses 3.3.3.1 Vector Address Register (VAR) Definitions The Vector Address Register (VAR) is a read/write register. The host system initializes VAR<09 02> with the address of the vector to the DELQA interrupt service routine. In Normal mode, VAR<15:10> are used for extra control and status information. In DEQNA-lock mode, only VAROO is used for extra status information. NOTE The host software should disable interrupts (by clearing CSRO06 or issuing a software reset) before writing to the Vector Address Register (VAR). Use a read/modify/write sequence to amend the VAR, and only attempt one operation (change vector; change mode; request self-test) at a time. Figure 3-4 shows the VAR bits, and Table 3-3 summarizes the bit definitions for Normal mode operatlons More complete bit definitions follow the table. 15 14 13 12 11 10 MS OS| RG] S3|S2]| s1 09 08 07 06 O5 04 03 02 INTERRUPT VECTOR 01 OO0 RR | 1D VAR (READ/WRITE) RE1688 Figure 3-4 Vector Address Register (VAR) PROGRAMMING - Table 3-3 Vector Address Register (VAR) Normal After Mode Power-Up Bit Access Description Reset SR1 Selftest VAROO R/W Identity Test Bit 0 (Clear) No ch No ch VARO1 T Reserved VAR<09:02> R/W Interrupt Vector Undefined No ch No ch VAR<12:10> R Self-Test Status 1 (Set) No ch No ch VARI13 R/W Request Self-Test 1 (Set) Clear Clear VAR 14 R Option Switch (S4) Reflect S4 No ch No ch Reflect S3 No ch No ch Setting VAR5 R/W Mode Select Key: R—Read-only W—Write-only R/W—-Read or Write rmm—Reserved bit with no access defined No ch-—NO Change The VAR bits record the DELQA status, as follows. PROGRAMMING (YARO00) Identity Test Bit Read/Write When set: VAROO provides an identity test to distinguish a DELQA module operating in DEQNAlock mode from a native-mode DEQNA module. To implement the test, the host software should: 1. Write VAROO=1 2. Immediately read VAROO If VAROO=1, the module is a DELQA If VAR0OO=0, the module is a DEQNA 3. Write VAR0O=0 When cleared: VAROO is ready for the identity test. Reset: Power-up reset clears VARQO, but software reset (CSRO1) has no effect on its value. (YARO1) Reserved (VAR <09:02>) Interrupt Vector Read/Write In calculating the host interrupt vector address, the DELQA firmware reads only VAR<09:02> and assumes that VAR<01:00>=0. Reset: Software reset (CSRO1) has no effect on the interrupt vector, which is written directly by the host software using the I/O port. The interrupt vector is undefined after power-up reset, until a new value is written by the host. PROGRAMMING (VAR <12:10>) Self-Test Status (Normal mode only) Read-only VAR<12:10> always indicate the latest status of the module self-test. VAR12 VAR11 VARIO Meaning 1 1 1 ROM CRC test 1 1 0 RAM test 1 0 1 68000 test 1 0 0 QIC test 0 1 1 QNA2 test 0 1 0 SA ROM test 0 0 1 LANCE test 0 0 0 Self-test completed without error Self-test can be initiated in Normal mode, by power-up reset, or by a host write to VAR bit 13. In DEQNA-lock mode VAR<12:10> always reads as zero. (VAR13) Request Self-Test (Normal mode only) Read/Write When set: The module is executing self-test. Self-test takes approximately five seconds, and the contents of all the DELQA Q-bus registers should be treated as invalid during the test, and for another five seconds afterwards. The registers should not be written during this period. When cleared: The self-test has completed, and VAR<12:10> indicate whether the self-test completed successfully or failed during a functional test. External loopback failures may be caused by an unconnected tranceiver, ALL other self-test failures should be treated as fatal. Reset: In Normal mode, power-up reset sets VAR13 to initiate the module self-test. In DEQNA-lock mode, VAR13 always reads as zero, and cannot be set. (VYAR14) Option Switch Setting (Normal mode only) Read-only Immediately after power-up this bit may be used to determine the state of option switch S4, When set: Option switch S4 is closed. When cleared: Option switch S$4 is open. PROGRAMMING Reset: Software reset (CSR0O1) has no effect on VAR14, but power-up resets VAR14 to reflect the setting of option switch S4. In DEQNA-lock mode, VAR14 is always zero. (VAR15) Mode Select (Normal mode only) Read/Write When set: If mode switch S3 is closed (for Normal mode), VAR15=1 selects Normal mode. When cleared: If mode switch S3 is closed (for Normal mode), VAR15=0 selects DEQNA-lock mode and the DELQA clears VAR<14:10> for DEQNA compatibility. Use of this setting is not recommended. Reset: Software reset (CSRO1) has no effect on VAR1S, but power-up reset resets VAR1S5 to reflect the setting of mode switch S3. In DEQNA-lock mode, (mode switch 3 open), VAR15 is always zero. NOTE Host software must delay for a minimum of 5 seconds after power-up, before accessing device registers. This delay is essential to allow self-test to complete. 3.3.4 BDL Start Address Registers (BDL SARs) There are two sets of Start Address Registers for the Buffer Descriptor Lists (BDLs): * Transmit BDL Start Address Register * Receive BDL Start Address Register. Both registers are written by the host, and must be initialized with a word-write instruction. Reserved bits should be written as zero. The low-order word address must be written first, followed by the high-order word address. This is because the DELQA starts transfers as soon as it receives the high-order address. To set up the transmit list for the first DELQA, write register 17774450 before register 17774452. The DELQA starts DMA transfers of Ethernet packets as soon as they are transferred to on-board shared RAM from the receiver. When the Transmit BDL Start Address Register is initialized, the module starts DMA transfers of outgoing messages to shared RAM. PROGRAMMING 31 30 29 28 27 26 25 24 23 22 21 20 RESERVED 15 14 13 12 11 10 19 18 17 16 01 00 HIGH BITS 09 08 07 06 05 04 03 02 ADDRESS (LOW BITS) 31 30 29 28 27 26 25 24 23 RR 22 21 20 RESERVED 15 14 13 12 11 10 19 18 17 16 HIGH BITS 09 08 07 06 05 04 03 ADDRESS (LOW BITS) 02 46 01 00 RR REGISTER ADDRESSES = [(BASE ADDRESS + n) (OCTAL)] RE1689 Figure 3-5 3.3.5 BDL Start Address Registers Station Address Registers (SA ROM) The lower bytes of each of the first six register locations contain the default Ethernet physical address of the DELQA module. The host accesses the 48-bit address by reading the register locationsin ascending order. The host softwareis responsible for inserting the correct addressin the source address field of each packet transmitted. Two byte locations of the SA ROM include the checksum of the Ethernet physical address. The checksum is accessed by reading the first two bytes in reverse order, as follows. 1. 2. Clear CSROO (Receiver Enable) to disable Ethernet reception. Clear CSRO08 (Internal Loopback) and set CSR09 (External Loopback) to put the DELQA into external loopback mode. 3. Read the lower byte of word 1 in the DELQA 1/O block. 4. Read the lower byte of word 0 in the DELQA 1/O block. 5. To clear external loopback mode: Either set and then clear CSRO1 (Software Reset) or write zero to EL (External Loopback). 3.4 HOST MEMORY DATA STRUCTURES This section describes how Buffer Descriptor Lists (BDLs) are used to organize transmit and receive buffers. When initialized, the DELQA has direct access to the host memory. The host memory should be set up w1th buffer space allocated for receive and transmit packets, and also for BDLs. PROGRAMMING 3.4.1 Receive and Transmit Buffers The DELQA transfers packet data to and from receive and transmit buffers in the host memory. A buffer can contain an entire packet or part of a packet, but it cannot contain more than one packet. The buffers that make up a message packet are referenced using a Buffer Descriptor List (BDL). Buffers contain only data; the status of each buffer is maintained in its buffer descriptor, and the sequence of buffers in the message is determined by the sequence of descriptors in the BDL. Only buffers that have the Valid bit set in their buffer descriptor can be used by the DELQA. The last entry in the BDL should have its Valid bit (bit 15) cleared to indicate termination of the BDL. Transmit buffers may start and end on byte boundaries, but this is not recommended. Receive buffers must start and end on word boundaries. Word boundaries are recommended in both cases for faster processing. 3.4.2 Buffer Descriptor Lists (BDLs) In the host database of BDLs there arc two sections: the Transmit BDLs, and the Receive BDLs. Each BDL is a forward-linked list of buffer descriptors. Contiguous descriptors are linked implicitly. Other descriptors can be linked explicitly by writing a chain address in the BDL. Each descriptor identifies a single buffer by its starting address and length. The descriptor also contains space for the DELQA to supply status information associated with completed transmissions and receptions. The host memory may contain as many BDLs as seems necessary, each referring to a set of buffers in memory. To initiate transfers, the host software writes the start address of the next Transmit or Receive BDL to the Transmit BDL or Receive BDL Start Register in the DELQA I/O page. Figure 3-6 shows the format of a buffer descriptor. 15 1 2 o 14 13 12 11 10 09 - 08 07 06 05 04 03 02 O1 00 RESERVED DESCRIPTOR BITS 3 HIGH ADDRESS BITS LOW ORDER ADDRESS BITS @ < 4 BUFFER SIZE 5 STATUS WORD 1 6 STATUS WORD 2 RE1690 | Figure 3-6 Buffer Descriptor Format Each buffer descriptor in a BDL contains: » A reserved word: reserved for DELQA use only. « Descriptor bits that define the attributes of the buffer address: byte alignment; setup (optional); chaining (optional). * * Buffer address in the host memory. Buffer size in words, given as the two’s-complement. (The word count does not include the two CRC words.) 3-17 PROGRAMMING The word count is always given as the number of aligned words for DMA transfer. So a one- or two-byte buffer has a word count of one, but a two-byte buffer that crosses a word boundary (that is starts on an odd address), has a word count of two. Therefore, a buffer that starts and ends on an odd-byte boundary must increase its word count by one. The word count is taken from the byte count and the buffer alignment information in the H and L bits of the buffer address descriptor: WORD COUNT = (BYTE COUNT + H + L)/2 NOTE It is illegal for the host to specify a word count of zero » Two status words. The status words may be omitted only when a buffer descriptor is forward-linked explicitly by a chain address to another buffer. When a complete packet has been transferred into or from the BDL, the DELQA firmware updates the last pair of status words with a record of any errors in reception or transmission. To allow for multiple lists of descriptors, and to allow the DELQA to chain between them, the buffer address may be replaced by the start address of another BDL. The chain bit in the descriptor bits is set to indicate this. 3.4.3 Buffer Descriptor Bit Definitions The buffer descriptor format is shown in Figure 3-6 and described in the following paragraphs. PROGRAMMING 3.4.3.1 Fiag Word Bit Definition F<15:00> Reserved Note: The DEQNA module sets all of the bits in the flag word to 1 "during" the processing of a buffer descriptor. However, with DELQA the host software should not use these bits and their transition as an indication of the state of the descriptor. The host software should use the buffer descriptor status word 1 S1<15:14> bits to determine the buffer descriptor completion status. 3.4.3.2 Address Descriptor Bits The host uses these bits to define the attributes of the associated buffer. Bit Definition 15 V—Valid When set: This bit indicates that this descriptor contains valid information (see the table below), 14 C—Chain Address When set: This bit indicates that the address contained in this descriptor is the address of another descriptor. This allows the DELQA to process multiple non-contiguous descriptor lists and explicitly "chain" the lists. Note that contiguous descriptors are implicitly chained (see the table below). Valid and Chain bit combinations: Valid Chain D15 D14 1 0 1 1 0 ) 0 13 Descriptor Use This is a valid descriptor. - This descriptor contains the address of another descriptor. 0 This is an invalid descriptor (end of BDL). 1 Reserved E—End of Message (Transmit Buffer Descriptor Only) This bit provides a mechanism for the host to chain together a number of buffers into a single packet. When cleared: This bit indicates that the associated buffer does not contain a complete packet. When set: This bit indicates that this buffer contains the last segment of the packet. (The DELQA will attempt to transmit the entire frame after this segment has been DMAJ from the host). PROGRAMMING Bit Definition 12 S—Setup (Transmit Buffer Descriptor Only) When set: This bit indicates that the buffer contains a list of DELQA Ethernet destination addresses and control information. 11:08 Reserved 07 L—Low Byte Termination (Transmit Buffer Descriptor Only) When set: This bit indicates that this buffer ends on a byte boundary instead of a word boundary. 06 H—High Byte Start (Transmit Buffer Only) When set: This bit indicates that this buffer starts on a byte boundary instead of a word boundary. NOTE When the transmit word count is 1, and the buffer starts on a byte boundary, the H bit must be set. 3.4.3.3 Buffer Address The high- and low-order address bits are either the 22-bit address of the buffer associated with this descriptor, or the address of another descriptor (see address descriptor bit 14, above). 3.4.3.4 Buffer Length (Word Count) Buffer length is the two’s complement value of the number of words in the buffer. [The word count is always measured in aligned words. Transmit buffer misalignment is not reflected in the word count, but the H and L descriptor bits denote this instead. _ NOTE It is not recommended that unaligned buffers be chained together, as this can degrade performance. 3-20 PROGRAMMING 3.4.3.5 Status Words Upon completion of a transmit or receive operation, the DELQA will update the two status words at the end of the buffer descriptor. Status Word 1 bits 14 and 15 are used as a handshake between the DELQA and host. These bits are initialized by the host, and are updated by the DELQA to indicate that it has completed processing this descriptor and associated buffer. These bits should be initialized by the host as indicated below. Bit Definition Transmit Status Word 1 15 Lastnot See the table below. 14 Error or Used See the table below. Lastnot 15 Chain 14 Summary Status 1 0 Value initialized by the host. 1 1 This buffer has been used, but it is not the last segment of the packet; that is, a chained buffer. 0 0 This buffer contains the last segment of a packet, and has been transmitted with no errors. 0 1 This buffer contains the last segment of a packet, and has been transmitted with errors. 13 Reserved 12 Loss When set: Indicates loss of carrier during transmission. Not valid for broadband applications. 11 Reserved NOTE In the DEQNA, Bits 11 and 12 have different functions for carrier status. 3-21 PROGRAMMING Bit Definition 10 STE (Sanity Timer Enabled) The state of this bit is only valid in DEQNA-lock mode. When set: Indicates that the sanity timer was enabled via switch S4 at powerup. 09 Abort When set: Indicates that the transmission was aborted due to excessive collisions. 08 Reserved 07:04 Count The value in this field is an indication of the number of collisions that occurred before the transmission attempt associated with this status word. The only possible values are: 0 — No collisions, or packet aborted after 16 collisions (see Abort) 1 — One collision 2 — Between two and fifteen collisions Averaged over time, Count indicates the network loading. 03:00 Reserved Transmit Status Word 2 15:10 Reserved 09:00 TDR TDR count for Time Domain Reflectometry. Receive Status Word 1 15 Lastnot See the table below. 3-22 PROGRAMMING Bit Definition 14 Error or Used See the table below. 15 14 Summary Status 0 Value initialized by the host. 1 1 This buffer has been used, but it is not the last segment of the packet; that is, a chained buffer. 0 0 This buffer contains the last segment of a packet, and has been transmitted 1 : with no errors. 0 1 This buffer contains the last segment of a packet, and has been transmitted with errors. 13 : ESETUP When set: Indicates a setup packet, external loopback packet, or internal-extended loopback packet. 12 Reserved 11 Runt (Internal Loopback Failure) When set: Indicates that the internal loopback operation was unsuccessful. 10:08 RBL Received Byte Length bits 10 to 08. These bits are all set for a setup packet. 07:03 Reserved 02 Frame When set: Indicates a framing alignment error; that is, other than an integral number of bytes were received. This bit is only set if there was also a CRC error. See bit 01. ' 3-23 PROGRAMMING Bit Definition 01 CRCERR When set: Indicates that a CRC error has been detected in the current packet, The DELQA delivers all packets received with CRC errors. 00 OVF (Overflow) When set: Indicates that at least one packet has been discarded between the current and previous packet. Receive Status Word 2 15:08 RBL<07:00> Receive Byte Length bits 07 to 00, duplicated from the lower byte. 07:00 RBL<07:00> Receive Byte Length bits 07 to 00. These bits and Receive Status Word 1 bits 10:08 (see above) form RBL<10:00>, the number of bytes transferred by the DELQA into the host receive buffer, less 60. Host software must add 60 to this value to get the length in bytes of the received packet, excluding the CRC (not transferred). Packet Length (bytes) = RBL<10:00> + 60 In the case of setup packets; and all types of loopback packets, the host need not add 60 to get the correct packet length. 3.5 DATA TRANSFER PROCEDURES This section describes how the host software controls transmission and reception. Data transfers arc handled automatically by the DELQA, using data DMA. The host software controls transmissions by initializing and clearing buffer areas and associated control registers. 3.5.1 Transmit Packet The host initiates transmission by first setting up a Transmit BDL, and then writing its address to the Transmit BDL Start Address register in the DELQA module. The transmit buffers should be set up before attempting to set up the Transmit BDL. A transmit buffer can be up to 1514 bytes in length; this is the maximum number of bytes allowed in an Ethernet packet, excluding the four CRC bytes. To complete the transmission, the DELQA executes the following steps. 1. 2. Read the descriptor bits, and act on the buffer descriptor information as follows. If the Valid bit is set, the DELQA accesses the start address and buffer length fields, reads the relevant buffer, transfers the contents to its on-board shared RAM, updates the status words, and continues to the next descriptor. 3-24 PROGRAMMING If the Valid bit is clear, the DELQA marks the end of the current BDL. The DELQA ceases to access the BDL and its associated buffers. If the chain bit is set, the DELQA links to the BDL, via the start address indicated in the buffer address field, and continues to the next descriptor. If the End-of-Message bit D<13> is set, the DELQA generates the preamble and CRC for the message, and transmits the complete message packet over the Ethernet. Then it updates the status words in the latest buffer descriptor with the outcome of the transmission. (If CSR06 Interrupt Enable is set, the DELQA also generates a transmit interrupt request to indicate that a message has been transmitted.) To achieve acceptable transmission rates, the DELQA executes control DMA (to set up the next data DMA transfer), data DMA, and data transmissions in parallel. The host software reads the status or contents of buffers only after the DELQA has returned the transmission status to the status word bits. DESTINATION ADDRESS (6 BYTES) SOURCE ADDRESS (6 BYTES) TYPE FIELD (2 BYTES) DATA FIELD (BETWEEN 46 AND 1500 BYTES) RE1691 Figure 3-7 3.5.2 Ethernet Packet Format Transmit Programming The host software for packet transmission is responsible for the following actions: 1. Establish the location and contents of the transmit message buffers. 2. Initialize the start address and descriptor bits for each buffer descriptor in the Transmit BDL. 3. Write all the data fields within the transmit packet, including destination address (6 bytes), source address (6 bytes), type field (2 bytes), and data (between 46 and 1500 bytes). The DELQA hardware supplies the CRC automatically. Clear the Valid bit in the last descriptor of the BDL. 3-25 PROGRAMMING 5. Set the Valid bit in all the previous descriptors of the BDL. 6. Write the start address of the BDL to the BDL Start Address register on-board the DELQA, to initiate fransmissions. : : The host software should also provide an interrupt service routine to: * (Check the status and availability of transmit buffers + Check CSR04 (Transmit List Invalid) to ensure that previous list processing has completed « Check CSR02 (NXM) in case the interrupt was caused by a memory access error. * Write 1 to clear CSRO7 (Transmit Interrupt Request), if the bit is set. 3.5.3 Transmission Errors In status word 1 of the last BDL entry for the transmitted message, the following status bits in the transmit buffer descriptor record transmission errors. S1<09> Abort Excess collisions: there have been more than 15 attempts to transmit this packet. Check S1<12> in Transmit Status Word 1 in case the Ethernet circuit is faulty (see below). Si12> Loss Loss of carrier during transmission, usually due to a short circuit on the Ethernet. However, Loss does not abort transmission, because it may be set during a normal collision recovery. The Time Domain Reflectometry (TDR) counter (S2<09:00>) is a 10 MHz counter which is enabled by the DELQA when a carrier signal is detected, and disabled when the carrier stops or a collision is detected. The contents of the TDR counter are valid only when Abort (S1<09>) is set, and may be used as a relative measure of the distance through the network between the module and the supposed fault or collision. 3.5.4 Receive Packet _ The host initiates reception by first setting up a Receive BDL, and then writing its start address to the DELQA module. To complete the receive process in response to activity on the Ethernet, the DELQA executes the following steps. 1. Read the descriptor bits, and act on the buffer status as follows. « If the Valid bit is cleared, it marks the end of the current BDL. The DELQA ceases to access the BDL and its associated buffers. » If the Chain bit is set, the DELQA links to the BDL whose start address is indicated in the buffer address field, and continues from step 2. If the Valid bit is set, the DELQA accesses the start address and buffer length fields, reads the next part of the incoming message into the indicated buffer from its on-board shared RAM, and continues from step 2. 2. If the message ends, the DELQA terminates reception, and updates the status words in the last buffer descriptor used. (If CSRO6 is set, the DELQA also generates a receive interrupt request to indicate that a message has been received.) 3-26 PROGRAMMING 3.5.5 Receive Programming The host software for packet reception is responsible for the following actions. 1. Establish the location and contents of the receive message buffers. Sufficient receive buffers should be allocated for at least one packet of the maximum expected length, in order to ensure that a receive interrupt request is generated before the next incoming message arrives. NOTE No interrupt is generated if there are not enough valid receive buffers in the Receive BDL to accommodate a complete packet. Initialize the start address and descriptor bits for each buffer descriptor in the Receive BDL. Initialize Status Word 2 of all the descriptors in the Receive BDL with unequal high and low bytes. (The DELQA makes the high and low bytes both equal to the received byte length, to indicate when the receive data is valid.) Clear the Valid bit of the last BD in the BDL. Set the Valid bit in all BDs in the BDL except the last BD. Set CSRO0 (Receiver Enable) to enable Ethernet packet reception. Write the start address of the BDL to the BDL Start Address register on-board the DELQA, to initiate reception. The host software should provide an interrupt service routine to: ® Check the status and availability of receive buffers » Check CSRO5 (Receive List invalid) to ensure that previous list processing has completed. 0 Write 1 to clear CSR15 (Receive Interrupt Request) if this bit is set. ] Check CSR02 (NXM) in case the interrupt was caused by a memory access error. 3.5.6 Receive Errors In Status Word 1 of the last BDL entry for the received message, the following status bits in the receive buffer descriptor record reception errors: S1<00> OVF Overflow: indicates that message data from the Ethernet has been lost between the current and the previous message. S1<01> CRCERR CRC error: with the message truncated as a result. Affected packets are delivered, but the datalink error counters are updated. S1<02> Frame Frame Alignment Error (some bytes incomplete): Frame is set only if CRCERR is set also. ~ S112> Discard Discard packet. S1k13> ESETUP Looped Back Setup Mode packet or EL packet. Receive Buffer Length, RBL<10:00> is the number of bytes in the current received packet, excluding the CRC. The value in RBL should be interpreted as follows: For normal datagram reception, RBL is 60 bytes smaller than the actual number of bytes received. For other loopback modes, RBL gives the correct value, «© For all looped setup packets the RBL bits <10:08> equal 1. The lower byte of the RBL gives the correct value. ' 3-27 PROGRAMMING 3.6 CONFIGURATION AND CONTROL PROCEDURES This section describes the host programming procedures for bootstrap loading (PDP-11 only), for DELQA setup, reset, and interrupt handling, and the sanity timer. 3.6.1 Boot/Diagnostic Load NOTE The on-board boot/diagnostic microcode is for use with modules connected to PDP-11 systems only. The boot/diagnostic (BD) ROM on-board the DELQA contains PDP-11 code that can be loaded into the host memory and executed. This code is used for extended primary and DECnet bootstrap, and for the DELQA citizenship test. The PDP-11 boot/diagnostic code can be loaded across the Q-bus in either Normal or DEQNA-lock mode, but the DELQA must be software reset before the boot/diagnostic code is loaded into the host memory. All requests for this code from the DELQA must follow the correct sequence of commands. The operations listed below are the exact sequence implemented in existing DEQNA support code for use with PDP-11 CPU/system boot ROMs for CPU number KDJ-11/B. Timing values are indicated to be 150 milliseconds, but values as low as 100 milliseconds should be acceptable. The BD loading sequence is as follows: 1. To reset the DELQA, set and then clear CSROI1. This software reset: « Disables Receiver Enable by clearing CSR00 * Enables internal loopback mode by clearing CSR08 (IL). 2. Build two Receive descriptor buffers, each of 2K bytes. 3. Load the pointer into the Receive BDL Start Address register. 4. Write the octal pattern 1010 to the CSR to: * Disable the receiver (CSRO0 = 0) » Disable software reset (CSRO1 = 0) * Request boot/diagnostic ROM code (CSR03 = 1) » Disable interrupts (CSR06 = 0) * Select internal extended loopback mode, by clearing IL (CSR0O8 = 0) and setting EL. (CSR09 = 1) - Disable the sanity timer (CSR10 = 0). 5. Wait 150 milliseconds 6. Clear CSR03 (Boot/Diagnostic ROM Load) 7. Wait 150 milliseconds 8. Execute the boot/diagnostic code from the Receive descriptor buffers. When the DELQA boot/diagnostic code begins executing, it requests the on-board self-test, and waits for it to complete before continuing. For compatibility with DEQNA/PDP-11 system boot ROMs, which do not wait for the DELQA ROM self-test to complete after powerup, the DELQA aborts the self-test when the boot/diagnostic sequence commences. In all cases, this sequence begins with a required software reset. 3-28 PROGRAMMING 3.6.2 Setup The setup packet is the only mechanism, other than the DELQA control registers (CSR and VAR), by which the host software can send commands, status, and control functions to the DELQA module. The setup packet can be used to initialize the following functions within the DELQA module: * Multicast addreés or promiscuous filtering for address recognition . Timequt value for the sanity timer « Up to 14 six-byte Ethernet addresses that the DELQA module is to recognize » MOP configuration and control 3.6.2.1 Setup Packets The setup packet is a special type of transmit packet. In setup mode, the transmit packet is not sent out on the FEthernet. Instead, it is stored as control information within the DELQA module. Setup mode is entered by setting bit 12 of the address descriptor in a Transmit BD. " The setup packet is looped around internally, and placed in a receive buffer for verification and synchronization. Reception of messages from the Ethernet is blocked until the loopback of the setup packet is complete. NOTE Ethernet reception is disabled during processing of setup packets; excessive use may significantly affect performance. 3.6.2.2 Setup Information The setup packet contains three main groups of information which the host software can issue to the DELQA. 1. Target address information contains the Ethernet physical and multicast addresses for which the DELQA is to receive messages. 2. Control parameters specify special reception modes (such as promiscuous or all multicast) and sanity timer timeout values. 3. MOP information is used to read and change MOP parameters. Setup packets may contain either one or two of these groups of information. A combination of the specified length of the setup packet and the value of the first byte of the setup packet buffer indicates which groups of information are present. Table 3-4 explains all the possible combinations of information groups. 3-29 PROGRAMMING Table 3-4 Setup Packet: Information Group Combinations Information Groups (Maximum 2) Packet Length in Bytes (Octal) Target addresses only 177 or less Target addresses and control parameters 200 to 377 Zero Target addresses and MOP Element Blocks 400 exactly Non-zero (MEBs) Value of Byte 1 More than one setup packet may be issued. Each setup packet overwrites completely the setup area up to the 200 byte offset, but the MOP area between the 200 byte and 256 byte offset is overwritten only if the MOP flag is set at the start of the packet. Therefore, the only useful setup packet lengths are 177, between 200 and 377, or 400 (octal) bytes. The host should maintain a copy of the current setup data, in order to recreate the correct 14 addresses (which cannot be read back from the DELQA) whenever the setup information is modified. Since the DELQA can only have two types of setup packet information per setup packet, the DELQA will accumulate all setup packet information, unless respecified in a subsequent setup packet. Although setup packets may be repeatedly issued to the DELQA to modify parameters or to read internal values (that is, counters, system id parameters), only one setup packet should be outstanding to the DELQA at a time. 3.6.2.3 Setup Packet Buffer Descriptor The DELQA recognizes setup packets of between 200 (octal) and 377 (octal) bytes as indicating that control information is present, as well as target addresses. The contents of the extra bytes between 200 (octal) offset and 377 (octal) offset can be arbitrary, because the control information itself is held in the buffer descriptor for setup packet. the In the buffer descriptor, the lower bits of the buffer word count are used to specify special address filter modes (promiscuous or all multicast) for reception, and to reset the timeout value for the sanity timer. Please refer to the equation in Section 3.4.2 in order to understand how the host specifies the descriptor’s buffer BYTE size from a combination of the Descriptor’s Word Count Field (Transmit Descriptor Word 4) and the Descriptor’s Address Descriptor bits (Transmit Descriptor Word 2) D<07> "L" bit and D<06> "H" bit. * Buffer size in bytes (byte count) = 200 (octal) This sets D<06:00> = 000000 (binary) which does not specify any control parameters in the buffer. * : size field of the Buffer size in bytes (byte count) = 201 (octal) This sets D<06:00> = 000001 (binary) which specifies that the DELQA should set All Multicast Enabled of the setup packet control parameters. 3-30 PROGRAMMING Table 3-5 Bit Setup Packet Buffer Descriptor: Address Mode Bits Meaning Word 4: Buffer Word Count C<00> Alll Multicast address filter Enables DELQA recognition of any multicast address C<01> Promiscuous address filter Enables recognition of any destination address C<03:02> C<06:04> Sanity timer timeout value Increases the timeout period of the sanity timer in factors of four. C<15:07> Code 600 001 010 Timeout 0.25 seconds I second 4 seconds 011 16 seconds 100 1 minute 101 4 minutes (default) 110 16 minutes 111 64 minutes Word count of the buffer (which contains the entire setup packet), given as the two’s complement. C<10:8> All 1s for all setup packets C<7:00> Size of setup packet buffer if less than 200 C<7:00> = ( if MOP specified in setup packet 3.6.2.4 Setup Packet Format _ The first part of a setup packet defines the Ethernet addresses to which the DELQA should respond. Figure 3-8 shows the setup packet format in bytes (octal). The columns are used to show how the DELQA can be programmed to recognize up to 14 six-byte Ethernet addresses. The low-order byte of the address is at the top of each column. The low-order bit of the low-order byte is the Multicast bit. Each group of seven addresses is interleaved through 56 bytes of the setup packet. One of the addresses must be the physical address of the DELQA module. Any other specified addresses are multicast addresses. The broadcast Ethernet address (all 1s) may be optionally enabled. Any columns not used should be set to the physical address (for better protection against mischievous Ethernet traffic). More than one physical address may be specified, but in Normal mode, only the first is used for receiving datagrams, and as the source address for system ID messages generated by the DELQA. In DEQNA-lock mode the specifications of multiple physical Ethernet addresses will cause the DELQA to filter all such physical Ethernet addresses for packet reception. 3-31 PROGRAMMING NOTE Enabling more than one physical address is not recommended under normal circumstances. This may have a substantial impact on performance. The MOP flag is located in the first byte of the setup packet (location 0). If the MOP flag is set to a non-zero value by the host software, the DELQA expects to find MOP informatio n at the end of the setup packet, between offset 200 (octal) and 400 (octal). The setup packet itself must be exactly 400 (octal) bytes long. Refer to Section 3.7 for information about MOP programming. Table 3-6 lists the effects of power-up reset, software reset, and self-test 3-32 on the parameters of the setup packet. PROGRAMMING OCTAL ADDRESS BYTE OFFSET +10 (OCTAL) 220 MOP ELEMENT 0T AT T T T T I I | T T - == BLOCKS (IF PRESENT) I I I I I I I I I I GROUP B ETHERNET TARGET ADDRESSES N\ I | I I | I Igl Igl | ¢ | [ < | I | I I I I GROUP A ETHERNET TARGET ADDRESSES RESERVED BYTES SHOULD BE SET TO ZERO RE16892 Figure 3-8 Setup Packet Format (Bytes) 3-33 PROGRAMMING Table 3—6 KEffects of Reset on Setup Packet Data Setup Packet Data Value After Power-Up Reset or Self-Test Physical address SA ROM address ~N/A Multicast addresses Multicast disabled N/A Mode bit: All Multicast Disabled Disabled Mode bit: Promiscuous Disabled Disabled Mode bit: LED Value LEDs set N/A Mode bit: Sanity timer Reset to four minutes N/A MOP: Boot Password Reset to zero default N/A MOP: Sys ID Data Reset to defaults N/A MQOP: Datalink counters Counters cleared N/A 3.6.3 Value After Software Reset Reset The DELQA is reset during power-up, or by the host software using CSRO1 (Software Reset). The module is affected differently by these two methods of reset. Setting CSRO1 (Software Reset) does not reset the DELQA hardware; instead it causes the DELQA DELQA reset state. The host software may verify that the DELQA is in the reset state by checking to enter the for a 10062 (octal) pattern in the CSR; this indicates that CSR<02,05,06,13> are set. The DELQA remains in the reset state until the host software clears CSRO1 (Software Reset). In reset state, the DELQA supports: / * Clear CSRO1 (Software Reset) to exit the DELQA reset state * Load Vector Address Register (VAR) » If enabled by option switch S4: Either MOP remote boot Or Sanity timer timeouts. Other attempts to write commands to the DELQA registers (such as setting interrupf enable, or loading transmit/receive lists) are not supported. The host software must clear the software reset bit separately, before writing other commands to the DELQA registers. There is no timing requirement for CSRO! (Software Reset). After CSRO1 has been cleared, it takes up to ten milliseconds for the DELQA to complete the initialization sequence. Tables 3-2 and 3-3 summarize the effects of power-up reset, CSR0O1 (Software Reset), and VAR13 (Self-Test) on the Control and Status Register (CSR) and the Vector Address Register (VAR) respectively. Table 3-6 summarizes the effects on setup packet data. 3-34 PROGRAMMING 3.6.4 lnterrupt Handling There are three interrupt conditions. Receive Interrupt Request (CSR15), when a complete packet has been received. Transmit Interrupt Request (CSR07), when a transmission is completed. Nonexistent Memory (CSR02), when a Q-bus or memory access error occurs. Setting CSR02 also sets CSRO7 (Transmit Interrupt Request). These conditions generate an interrupt only if CSR06 (Interrupt Enable) is set. Interrupts are not queued. If multiple messages are handled by the DELQA before the Interrupt Request bit is cleared, there are no additional interrupts. The interrupt service should therefore scan the remaining descriptors in the current BDL to determine whether any other messages have been received. 3.6.5 lLoopback All loopback modes loop a data packet back through the on-board Ethernet controller (LANCE) to be read back into a Receive buffer. There are four loopback modes, as follows. Setup: The setup packet does not reach the Ethernet, but it does pass through the LANCE before the contents are used to set up address and control data in the DELLQA module. CSR00 (Receiver Enable) does not affect this mode of loopback. Setup mode is enabled by setting address descriptor bit D12 of the buffer descriptor for the setup data packet. Internal: Internal loopback only supports packet lengths of six bytes. The data packet does not reach the Ethernet, but it does pass through the LANCE on its way back to the host. The DELQA is 1mt1allzedin this mode as a failsafe feature. Internal loopback is selected by setting CSRO8 (IL) when.CSR9 (EL) and CSROO (Receiver Enable) are clear. Internal extended: Internal extended loopback mode can loopback all legal sizes of Ethernet packet, from 60 to 1514 bytes, excluding CRC. The data packet does not reach the Ethernet, but it does pass through the LANCE on its way back to the host. Internal loopback is selected by setting CSRO8 (IL) and CSR9 (EL) when CSR0OO0 (Receiver Enable) is clear. External: Extended loopback exercises .the Ethernet serial interface (SIA) as well as the LANCE, and can loopback all legal sizes of Ethernet packet, from 60 to 1514 bytes, excluding CRC. A suitable external loopback connector must be connected either (as supplied) to the bulkhead assembly, or to the end of the transceiver cable, for the loopback test to be executed. The test should be run using first the minimum and then the maximum available Ethernet segment length. " External loopback is selected by setting CSR09 (EL) when CSRO8 (IL) afid CSROO (Receiver Enable) are clear. As with CSRO03 (Boot/Diagnostic ROM Load), the DELQA must be disabled and the on-board transmit and receive buffers emptied before this function is invoked. 3-35 PROGRAMMING 3.6.6 Sanity Timer . When DEQNA-lock mode is enabled by mode switch S3 open, the sanity timer is cleared and enabled automatically on power-up if switch S4 is open. In either Normal or DEQNA-lock mode, the sanity timer is enabled when CSR10 is set and a setup packet is issued. When cleared and a setup packet is issued, CSR10 both disables and resets the sanity timer. All transmissions (normal, loopback, and setup) reset the sanity timer without affecting its status (enabled or disabled). CSRI0 is cleared at power-up reset and by CSRO1 (Software Reset). The default timeout period is four minutes. Other limits between 0.25 seconds and 64 minutes can be programmed using a setup packet. If the timer reaches its limit, BDCOK is negated on the Q-bus for approximately 3.6 microseconds, host to reboot itself. causing the NOTE In DEQNA-Lock mode the setting of switch S4 controls the operation of the Sanity Timer. In DEQNA-Lock mode the Sanity Timer is enabled by switch S4 open at powerup. If the Sanity Timer is enabled at powerup the DELQA will reboot it’s Q-Bus host every four minutes, unless it is cleared by the host queuing a transmit to the DELQA. The Sanity Timer can be disabled by clearing CSR10 and then sending a setup packet to the DELQA. The Sanity Timer is never enabled at powerup in Normal Mode (Switch S3 closed) 3.7 MAINTENANCE OPERATIONS PROTOCOL (MOP): MODULE SUPPORT This section describes how the host software can change the parameters that the DELQA uses when implementing the Maintenance Operations Protocol (MOP) functions as part of DECnet network management functions. In Normal mode the DELQA implements the following MOP functions in response to remote from other nodes on the Ethernet. * Respond to request system ID » Loopback reply to remote node console messages The DELQA also implements the following functions automatically and independently. e Transmit system ID every 8 to 10 minutes. * Maintain and store datalink counters as a record of transfers and errors. * The DELQA can initiate a host system reboot in response to a Trigger instruction message from a remote console. This remote boot option must be selected explicitly by opening option switch S4 on the DELQA board. The host software can read and amend the MOP implementation parameters by including Blocks (MEBs) in a setup packet. special MOP Element The implementation of each of the MOP remote console functions and the format of the Ethernet messages are described in Chapter 4. The rest of this section describes how to use the MOP elements in a setup packet. 3-36 PROGRAMMING For further information, refer to the DECnet Maintenance Operation Protocol (MOP) Functional Specification. Table 3-7 MOP Functions Element Type Function 0 MOP Termination 1 Read Ethernet Address 2 Reset System ID 3 Read Last MOP Boot 4 Read Boot Password 5 Write Boot Password 6 Read System ID 7 Write System 1D 8 Read Counters 9 Read/Clear Counters 3.7.1 Internal Loopback ‘ In internal loopback, the DELQA loops all messages through the module, and the host can neither send nor receive Ethernet messages. Internal loopback may be entered either by the host command (set CSRO8) or at device power-up. The behavior of the device differs according to its mode. * In Normal mode, the characteristics of internal loopback depend on how loopback was initiated. a. b. From host command, no Ethernet access is possible. From device power-up, certain types of MOP message may be processed by the DELQA (that is, MOP boot if enabled by S4, Ethernet loop channel, and Request System ID). « In DEQNA-lock mode, no Ethernet access is possible. 3.7.2 MOP Element Blocks (MEBs) . A MOP clement is programmed by inserting a MOP Element Block (MEB) in a setup packet. Each MEB specifies a single MOP function for the DELQA to perform, and refers in turn to a MEB buffer which details the parameters for implementing the function. NOTE Although a given setup packet may contain from 0 to 10 MEB elements, each MEB may appear only once in a given setup packet. The terminating MEB type field of zero must always be the last MEB type. Omission of the terminating MEB type field of zero will cause the setup packet to fail to be properly processed. Although the DELQA loops backs all setup packets and sets the ESETUP bit in the receive descriptor of the looped setup packet, if 3-37 PROGRAMMING no terminating MEB type field of zero is found the DELQA will also set the Error or Used bit of the receive descriptor status word 1. The Error or Used bit, in the receive descriptor status word 1 will also be set if the buffer size specified for any MEB read operation is too small. See Figure 3-10 for required buffer sizes. A MEB is fixed at six bytes in length and has the following fields. Byte 1 — MEB Buffer Type field (indicates MOP function) Bytes 2, 3, 4 — MEB Buffer Base (MEBB) Address Bytes 5, 6 — MEB Buffer Size Although the format of each MEB bulffer is specific to its type field, the following * Word orientation is used in all MEB definitions. » Offsets from the MEB Base Address (MEBB) are defined in octal. is true for all MEB buffers. Figure 3-9 shows the relationship between the MEB in the sctup packet and the corresponding MEB buffers. Figure 3-10 shows the format of the MEBs for MOP element types 1 to-9; the start addresses refer back to the MEB Base (MEBB) address shown in Figure 3-9. 3.7.3 MOP Element Type 0: MOP Termination MOP element type O terminates a list of MOP elements in the setup packet. 3.7.4 MOP Element Type 1: Read Ethernet Address MOP element type 1 provides a mechanism for the host software to verify the current Ethernet physical address. This function permits the host software to verify that the DELQA has correctly loaded the physical address (The default Station Address (SA) in the DELQA ROM is usually read information from the setup packet. directly from the I/O port.) Table 3-8 MOP Element Type 1 Offset Bits Description MEBB+0 PA<15:00> The low-order address bits <15:00> of the physical address. Written by the DELQA for a read function. MEBB+2 PA<31:16> The middle-order 16 address bits of the physical address. Written by the DELQA for a read function. MEBB+4 PA<47:32> The high-order 16 address bits of the physical address. Written by the DELQA for a read function. 3-38 PROGRAMMING GROUP A ETHERNET TARGET ADDRESSES GROUP B ETHERNET TARGET ADDRESSES MOP ELEMENT BLOCK (MEB) MEBB+0 TYPE BASE ADDRESS <07:00> _ ______ MO ELEMENT | BLOCKS (MEBs) - = - | R BASE ADDRESS <15:08> MEB BUFFER BASE ADDRESS <21:16> SIZE (IN BYTES) <07:00> SIZE (IN BYTES) <15:08> -/ «—1 Figure 3-9 BYTE ——» MOP Element Block Buffers in the Setup Packet 3-39 MEBB+NN RE1693 PROGRAMMING - REQUIRED MEBB SIZES (BYTES) (DECIMAL) 15 14 13 12 11 10 09 MEBB OFFSETS (OCTAL) 08 07 06 04 03 02 01 00 O5 PHYSICAL ADDRESS<15:00> MEBB + 0 PHYSICAL ADDRESS<31:16> MEBB + 2 PHYSICAL ADDRESS<47:32> 1514 13 12 11 10 09 08 07 06 MEBB + 4 05 04 03 02 01 13 12 11 MEBB + 2 BOOT CODE<47:32> MEBB + 4 BOOT CODE <63:48> MEBB + 6 10 09 08 07 06 05 04 03 02 01 MEBB + 2 MEBB + 4 INFO TYPE/LENGTH MEBB + 6 INFO VALUE 14 13 12 11 09 08 07 READ/WRITE/ RESTORE SYSTEM (';7 MEBB + 12 _ INFO VALUE 10 MEB TYPES 4,5,7 MEBB + 10 INFO TYPE/LENGTH 15 READ/WRITE BOOT MEBB -+ 0 SYSTEM ID RECEIPT NUMBER e MEB TYPES 2,3 00 SYSTEM ID CODE 256 4 READ ETHERNET MEBB + 0 BOOT CODE <31:16> 14 MEB TYPE 1 00 BOOT CODE<15:00> 15 I MEBB + 14 + n 06 05 04 03 02 01 00 MEBB + 0 DESTINATION ADDRESS (6 BYTES) MEBB + 2 MEBB + 4 MEBB + 6 SOURCE ADDRESS ( BYTES) MEBB + 10 MEBB + 12 TYPE MEB TYPE 7 READ LAST MOP BOOT MESSAGE MEBB + 14 CHARACTER COUNT MEBB + 16 CODE MEBB + 20 100 4 MEBB + 22 VERIFICATION (8 BYTES) MEBB + 24 MEBB + 26 CONTROL CODE PROCESSOR MEBB + 30 SOFTWARE ID MEBB + 32 MEBB + 34 PAD DATA (32 BYTES) i MEBS + 36 i MEBB + 74 CRC (4 BYTES) MEBB + 76 156 14 13 12 11 10 09 08 07 ZERO 100 06 05 04 03 02 O1 00 OPCODE (READ/CLEAR) BASE ADDRESS OF HOST BUFFER FOR COUNTER S<15:01> MEBB + 0 | 0| MEBB + 2 ZERO |<17:16> MEB+B 4 LENGTH OF COUNTERS LIST I MEB TYPES 8,9 READ/CLEAR COUNT 0 | MEBB + 6 RE1694 Figure 3-10 MOP Element Block Types 1 to 9 3-40 J«,fm 3 PROGRAMMING 3.7.5 MOP Element Type 2: Reset System ID MOP element type 2 resets the system ID to the default parameters stored on-board the DELQA. This default is then broadcast from the DELQA to the network automatically at power-up reset, and repeatedly at intervals until a modification occurs from a MOP element 5 (Write System ID). MEB Type 2 has only a type field, and no associated MEBB specification. 3.7.6 MOP Element Type 3: Read Last MOP Boot MOP element type 3 obtains a copy of the MOP remote boot message which caused the last local host reset. The only occasion when this function value returns a valid, non-zero MOP remote boot message is just following the execution of a SYSTEM PROCESSOR remote boot. In the case of a COMMUNICATION PROCESSOR remote boot, or a local power-up reset, this function returns a zero value. 3.7.7 MOP Element Types 4, 5: Read, Write Boot Password The MOP element types 4 and 5 enable the host software to read and write the MOP boot verification password. This password is used only in Normal mode (mode switch S3) with remote boot enabled (option switch S4). The boot password enables the DELQA to filter MOP remote boot messages. The default password is all Os, which permits the DELQA to act on any MOP remote boot message. The length of the password must be eight bytes. Table 3-9 MOP Element Types 4, 5 Offset Bits MEBB+0 PW<15:00> MEBB+2 PW<13:16> MEBB+4 PW<47:32> MEBB+6 PW<63:48> 3.7.8 Description Eight sequential bytes of the MOP remote boot password (least-significant hex-digit first) ‘ MOP Element Type 6, 7: Read/Write System ID MOP Element types 6 and 7 enable the host software to read and write the MOP system 1D message. The buffer specified for READ must be at least 256 (decimal) bytes. The other fields may be broken down into individual Info units: OTHER INFO TYPE OTHER INFO LENGTH OTHER INFO VALUE The order in which Info units are afranged is not important, but the variable sizing of the units must be observed. The overall size of the MEB in the setup packet determines the number of Info elements specified. Table 3-10 lists the Info types and Table 3-11 lists the Info value descriptions. For further details, refer to the Maintenance Operations Protocol (MOP) Functional Specification. 341 PROGRAMMING Table 3-10 MOP Element Types 6, 7 Offset Bits Description. MEBB+0 IT<15:00> Info type (binary value) Type Information 0 Termination of other information type list 1 Maintenance Version 2 Functions 3 Console User 4 Reservation Timer 5 6 : Console Command Size | Console Response Size 7 Hardware Address 8 System Time 100 Communication Device 101 to 199 Communication device related 200 Software ID 201 to 299 Software ID related 300/ System Processor 301 to 399 System processor related 400 Data Link 401 Data Link Buffer Size 402 to 499 Data link related Types 1, 2, 8, and 100 are required fields; types 3, 4, 5, and 6 are required for console messages. MEBB+2 IL<07:00> Info Length in bytes of Info Value field (binary value) 3-42 PROGRAMMING Table 3-10 (Cont.) MOP Element Types 6, 7 Offset Bits Description MEBB+4 IV<15:08> Info Value of MEBB+10 IV<31:00> MEBB+12 MEBB-+14 IV<31:00> IV<31:00> IV<31:00> MEBB-+6 MEBB+16 MEBB+20 MEBB+22 MEBB+24 Table 3-11 IV<31:00> up to 16 bytes IV<31:00> IV<31:00> IV<07:00> Information Value Descriptions Type Description 001 Maintenance Version Number (binary) ~Byte 1 Version number (lowest byte) Byte 2 ECO Byte 3 User ECO 002 Functions The bits indicate functions as follows: 0 Loop 1 Dump 2 3 Not supported by the DELQA Multi-block loader (tertiary loader or system) 4 Boot 5 Console carrier Data link counters 6 7 003 Console carrier reservation Console User The system address of the system that has the console reserved. The mandatory - field when the console carrier is available (Function bit 5). Invalid if the console carrier is not reserved (Function bit 7). 004 Reservation Timer The maximum value (in seconds) of the timer used to clear unused console reservations. The mandatory ficld when the console carrier is available (Function bit 5). ' 005 Console Command Size The maximum size of the console command buffer. The mandatory field when the console carrier is available (Function bit 5). 006 Console Response Size 343 PROGRAMMING Table 3-11 (Cont.) Type Bytes Information Value Descriptions Description The maximum size of the console response buffer. The mandatory field when the console carrier is available (Function bit 5). 007 6 Hardware Address An address in the SA ROM on the DELQA (read-on ly) 008 10 System Time A segmented binary system time stamp. 100 1 Communication Device The hardware device type of the host channel in use (decimal for the DELQA). For DELQA Info Type=37 (for DEQNA Info Type=5) . (Read-only) 101 to 16 (max) 199 Communication device related Information specific to the particular communicatio n device. 200 17 (max) Software.ID The identification of the software the system is suppose d to be running. 201 to 16 (max) 299 Software ID related Ihformation specific to the particular software ID. Interpretation is specific to receiving system; for example, a file specification of file server. 300 1 System Processor = type The type of system processor. 301 to 16 (max) 399 System processor related Information specific to the particular system processo r. 400 1 Data Link The data link protocol; in this case, Ethernet, 401 2 Data Link Buffer Size The size of the data link buffer. 402 to 499 16 (max) Data link related Information specific to the particular data link. 3-44 the may vary depending on the type PROGRAMMING 3.7.9 MOP Element Types 8, 9: Read, Read/Clear Counters MOP element types 8 and 9 read the datalink counters which the DELQA maintains on-board in its shared RAM. A MOP element type 8 does not affect the state of the DELQA counters; counters after copying them to the MEB. a MOP element type? clears the The buffer must be at least 100 (decimal) bytes long. Counter values are unsigned integers. Counters latch at their maximum values to indicate overflow. For 16-bit ~counters, the order of bytes is: Byte 1 — Lower 8 bits of counter Byte 2 — Higher 8 bits of counter For 32-bit counters, the order of words is: Word 1 — Lower 16 bits of counter Word 2 — Higher 16 bits of counter The DELQA counters are in the contiguous format described in Table 3-12. Table 3-12 MOP Elements Type 8, 9 MEBB Format Count Specification 1 Seconds Since Last Zeroed 16 bits The number of seconds since the counters were last zeroed 2 (Data) Bytes Received ' 32 bits The total number of data bytes received error free, excluding the data link protocol overhead 3 (Data) Bytes (Sent) Transmitted 32 bits The total number of data bytes successfully transmitted, excluding the data link protocol overhead, and not counting data-link-generated retransmissions, but including transmissions in which the collision test signal failed to set 4 Packets (Frames) Received 32 bits The total number of datagrams received error free. 5 Packets (Frames Sent) Transmitted 32 bits The total number of datagrams successfully transmitted, including transmissions in which the collision test signal failed to set. 6 Muliticast Bytes Received 32 bits The total number of multicast data bytes received error free, excluding the data link protocol overhead 7 Multicast Packets (Frames) Received 32 bits 3-45 PROGRAMMING Table 3-12 (Cont.) Count MOP Elements Type 8, 9 MEBB Format Specification The total number of multicast datagrams received free. error Packets Transmitted: (Initially) Deferred The total number of datagrams successfully transmit ted on the first attempt after deferring, including transmissions in which the collision test signal failed to set, Packets Transmitted (single collision): 2 Attempts 32 bits The total number of datagrams successfully transmit ted on two attempts, including transmissions in which the collision test signal failed to set. 10 Packets (multiple collisions) Transmitted: 3+ Attempt s 32 bits The total number of datagrams successfully transmit ted on three or more attempts, including transmissions in which the collision test signal failed to set. 11 Transmit Packets Aborted (Send failure) 16 bits The total number of datagrams aborted during transmission for one or more of the bitmapped 12 errors. Transmit Packets Aborted (Send Failure) Bitmap Bit <00> RTRY - Excessive Collisions: Retry error after 16 unsuccessful transmission attempts, Bit <01> LCAR Loss of Carrier (Carrier check failed): Retry error (after 16 unsuccessful transmission attempts), loss of carrier flag, and non-zero TDR value on last attempt. Bit <02> =0 Short Circuit (not supported on the DELQA). Bit <03> =0 Open Circuit (not supported on the DELQA). Bit <04> MLEN Data Block Too Long. The DELQA aborted the transmission because the datagram exceeded the maximum packet size. Bit <05> LCOL Remote Failure to defer: late collision on the last transmission attempt. Bits <15:06> = 0 Undefined 3-46 PROGRAMMING Table 3-12 (Cont.) MOP Elements Type 8, 9 MEBB Format Count Specification 13 Packets Received with Error (Receive Failure) 16 bits The total number of datagrams received with one or more errors logged in the bitmap, including only those datagrams that passed destination address comparison. 14 Packets Received with Error (Receive Failure Bitmap) Bit <00> CRC Block Check Error: a datagram failed the CRC check. Bit <01> FRAM Framing Error: a datagram failed the : CRC check and did not contain an integral multiple of eight bits. Bit <02> MLEN Message Length Error (Frame too long): a datagram was larger than 1518 bytes. 15 Bits <15:03> =0 Undefined Reserved for Host Counter Word 16 bits | The host software for the DNA Network Management layer should maintain the DECnet MOP counter for Unrecognized frame destination error. This indicates that a packet was received by the DELQA, passed Ethernet destination address filtering, but failed Ethernet protocol type filtering. The host software is responsible for Ethernet protocol type filtering. 16 Receive Packet Lost: Internal Buffer Error (Data Overun) 16 bits The total number of times that an incoming packet was discarded due to lack Incoming packets must be error-free to be counted. 17 Receive Packet Lost: Local Buffer Error (System Buffer Unavailable) of internal buffer space. 16 bits The total number of times that there was a problem with a receive list data incremented on one of more of the following occurrences. buffer. This counter 18 Buffer Unavailable A datagram was lost because there was no available buffer on the receive list. Buffer Too Small A datagram was truncated because it was larger than the available buffer space on the receive list. 18 Reserved for Host Counter Word 16 bits The host software should maintain the DECnet MOP counter for User Buffer unavailable. This indicates that a packet was received by the DELQA, delivered to the device buffer pool in the host memory, but discarded due to insufficient user-level receive buffers. The host software manages user-level buffers. 19 Multicast Bytes Transmitted 32 bits 3-47 PROGRAMMING Table 3—-12 (Cont.) Count MOP Elements Type 8, 9 MEBB Format Specification The total number of multicast data bytes successfully transmitted, excluding data link protocol overhead, and not counting the DELQA generated retransmissions, but including transmissions in which the collision test signal failed to set. 20 Reserved 16 bits 21 Reserved 16 bits 22 Babble Counter 16 bits Counter for the total number of times the DELQA LANCE reported the babble condition on the channel. 3-48 CHAPTER 4 MAINTENANCE 4.1 SCOPE This chapter describes the maintenance activities for the DELQA. The sections are as follows. Section 4.2 Maintenance philosophy Section 4.3 Built-in diagnostics Section 4.4 Maintenance Operations Protocol (MOP): Network Support Section 4.5 IEEE 802.3 Network Support: Null link-layer Service Access Points Section 4.6 Network diagnostics Section 4.7 Module diagnostics WARNING The procedures described in this chapter involve the removal of the system covers, and should be performed only by trained personnel. ADVARSEL! Ifglge de procedurer, som er beskrevet i dette kapitel, skal systemets beskyttelsesplader fjernes; dette bgr kun udfgres af personer der ved hvordan dette skal gares. WAARSCHUWING Bij de procedures die in dit hoofdstuk worden beschreven dienen bepaalde delen van de systeemomhulling te worden verwijderd; dit mag uitsluitend worden gedaan door opgeleid personeel. VAROITUS! Tissa luvussa kuvatut toimenpiteet liittyvit jarjestelmian suojakansien irrottamiseen. Ainoastaan koulutettu henkilokunta saa suorittaa nami toimenpiteet. MAINTENANCE AVIS! Ce chapitre décrit les interventions qui demandent que les couvercles extérieurs des appareils soient enlevés. Ces travaux devraient étre mis en main uniquement par des techniciens expérimentés. VORSICHT! Bei der Ausfuhrung der in diesem Kapitel beschriebenen Anweisungen mussen die Systemabdeckungen entfernt werden. Dies solite nur von geschultem Personal ausgefuhrt werden. OATN 0°02N7 NIDN] NIDHII LIN0IN DIN , T ,NT DPI93 M WNINND NINIYIN DU PN WXL NOWNR DY ATTENZIONE La procedura descritta in questo capitolo comporta la rimozione delle coperture e deve essere eseguita solo da personale specializzato. it = ABETE, KEAN—DHINL E>o0WT MNXNTHEDFEST, ¥R, LFE900 Y #E KKH>TBIWTTFEN, ADVARSEL | I dette kapitlet beskrives bl. a. hvordan man fjerner dekslene rundt systemet. Dette arbeidet ma bare utfgres av fagfolk. AVISO Os procedimentos descritos neste capitulo respeitam a forma como se retiram as proteccoes do sistema. Dada a sua especificidade, recomendamos que seja executado por pessoal especializado. 4-2 MAINTENANCE !ATENCION! Los procedimientos descritos en este capitulo incluyen el desmontaje de las cubiertas del sistema y debe ser realizado solamente por personal entrenado. VARNING I detta kapitel beskrivs hur systemkaapan tas bort. Detta faar endast utfoeras av utbildad personal. 4.2 MAINTENANCE PHILOSOPHY 4.2.1 Preventive Maintenance There are no preventive maintenance procedures for the DELQA module. However, when the host system is serviced it is good practice to check the DELQA installation for loose connectors, damaged cables, and similar faults. 4.2.2 Corrective Maintenance _ The DELQA module has been designed to enable diagnostics to determine a faulty Field Replaceable Unit (FRU) rapidly. Corrective maintenance in the field therefore consists of changing FRUs. Component replacement in the field is not intended and is not recommended. ‘ The diagnostic tests are processor-specific. * For PDP-11 host processors Network testing DECnet Network Control Program (NCP) Network Interconnect Exerciser (NIE) running under Diagnostic Runtime Services (DRS) Module testing Field functional diagnostic (ZQNA??) running under diagnostic runtime services (DRS) DEC/X11 Exe:rciser_. * For MicroVAX processors Network testing DECnet Network Control Program (NCP) Network Interconnect Exerciser (NIE) running under the MicroVAX Diagnostic Monitor (MDM) Module testing - MicroVAX Diagnostic Monitor (MDM) 4.2.3 Field Replaceable Units (FRUs) The Field Replaceable Units (FRUs) are: + The DELQA module * Bulkhead assembly fuse * Cabinet kit » Transceiver and transceiver cable (or bulkhead loopback connector). MAINTENANCE Figure 4-1 shows the field replaceable units in the DELQA installation. NOTE Early versions of the DEQNA diagnostics are not compatible with the DELQA. For PDP-11 processors use ZQNAI or later. For MicroVAX processors use Diagnostic release 124 or later. ETHERNET — TRANSCEIVER " HOST SYSTEM 2 CABLE —P DELQA MODULE BULKHEAD TRANSCEIVER A s S FUSE FUSE 1.5A 1.6A B LED {/ MODULE G LED BULKHEAD LOOPBACK LOOPBACK CONNECTOR CONNECTOR < / AE1695 Figure 4-1 Field Replaceable Units (FRUs) Refer to Chapter 2.3.1 for correct fuse details. 4.2.4 Diagnostic Procedure The general strategy for identifying a fault is as follows: 1. Check the DELQA configuration to ensure that the system can identify the module correctly. 2. Run the module test(s) to test for faulty FRUs. 3. Run the network test(s) to test for faults in network configuration and/or operation. 4-4 MAINTENANCE 4.3 SELF-TEST : The DELQA has a comprehensive self-test which is executed at powerup in Normal mode only. Normal mode, the self-test can be requested by the host operating system software through registers. The test takes about five seconds to run and consists of the following sections. 1. The ROM-32 checksum test checks for corrupted ROM content. 2. The RAM test checks memory addressing and operation. 3. In addition, in the DELQA Q-bus The 68000 microprocessor test checks for correct execution of 68000 instructions and handling of CPU exceptions. 4, The QIC function tests check QIC programming functions. 5. The QNA2 function tests check: * Access to the DELQA CSR * Sanity timer operation * Access to the SA ROM * QNA2 interrupts to the 68000 when the host accesses BDLs. 6. The SA ROM test verifies the checksum on the SA ROM. 7. The LANCE/SIA subsystem tests check: + The LANCE intefnal Control and Status Register * The LANCE subsystem address and data paths * The CRC generation circuitry (using correct and incorrect CRCs) * The notification of RETRY error following collisions on 16 successive attempts to transmit a packet * The broadcast, multicast, and physical address filtering * The internal loopback » The external Ioopback. 4.3.1 Extended Primary Bootstrap A PDP-11 host can boot from a DELQA using a method similar to that for a mass-storage device. Part of the BD ROM on board the DELQA contains PDP-11 code for bootstrapping a PDP-11 from the network. This part of the boot/diagnostic BD ROM is made up of three sections. * The Extended Primary bootstrap (EPB) code * The DELQA citizenship (CQ) test code * The DECnet secondary loader code. The host primary boot code passes control to the EPB code (loaded from the BD ROM), which then loads and verifies the complete contents of the BD ROM into host memory. The EPB code then initiates the CQ test before allowing the DELQA to access the Ethernet. 4-5 MAINTENANCE . 4.3.2 Citizenship Test The DELQA citizenship test (CQ) is a series of diagnostic test routines that determine whether the DELQA is operating correctly and can access the Ethernet, or is faulty and requires further diagnosis. Test results are indicated in part by the LEDs on the DELQA, and complete test reports are returned to host register RO. The CQ test uses internal loopback, internal extended loopback, and external loopback modes, and requires the DELQA and an H4xxx transceiver (or equivalent); connection to the Ethernet is required. The sanity timer is enabled for testing but is not expected to time out. If the timer does time out it is an error. When all testing is complete, the sanity timer is turned off, unless switch S3 is open, in which case it is left on. The CQ test is a free-standing subroutine and can be called by other software. For example, during network boot, CQ can determine if the node should be allowed to proceed from the initialized state to either a functional or a nonfunctional state. 4.3.2.1 Citizenship Test Descriptions The citizenship tests are described in the list that follows. The corresponding error bit values that appear in host register RO are also given. T1: T2: , Station Address Verification The default physical address is verified and copied from the Station Address (SA) ROM into a test packet for later use. If this test fails, testing continues until the final external loopback test or another test failure occurs. Possible errors are: RO Bit Error Description 00 Station address is all zeros, or all ones, or is not a valid DELQA address Device Interrupt Test A transmit descriptor is given to the UUT after interrupts are enabled. The UUT should generate a transmit interrupt. Possible errors are: RO Bit Error Description 11 No-interrupt occurred, or interrupt occurred prematurely, or wrong interrupt occurred T3: Setup Mode and Receive Processing Test A series of setup packets with a repeating test pattern for checking stuck-at faults is transmitted to the UUT. The patterns are varied so that each byte in the station address memory is tested with all patterns. Possible errors are: RO Bit Error Description 12,01 Setup packet echoed data check 09,12,01 Setup packet operation timeout 14,12,01 Setup operation status check MAINTENANCE T4: Internal Loopback and Address Filter A setup packet is generated with all target addresses identical and based on a pattern of one walking bit. This packet is set up in the Unit Under Test (UUT). Then, two internal loopback packets are generated and transmitted for each address in the pattern. The first packet is addressed to the complemented target address, which is not in the pattern, and must be correctly transmitted and received as a runt. The second packet is addressed to a target address in the pattern, and must be correctly transmitted and received. The test is repeated 48 times with a walking bit of one (other bits zero) advanced by one bit each time, and then with a walking bit of zero (other bits one). Possible errors are: T5: RO Bit Error Description 02 Transmit/receive data compare check. 11 Unexpected receive interrupt 09,02 True packet transmission and receive error 12,02 Setup packet echoed data check 14,02 False packet receive error Internal Extended Loopback and Protocol The Unit Under Test (UUT) is put in internal extended loopback mode and packets of varying (increasing) length are circulated through the transmitter and receiver. The packets are made up of bit patterns designed to show stuck-at conditions and faults in the buffer and FIFO processing. The received packets are verified to be sure that the data was properly transferred. The packet length starts at the minimum Ethernet packet size and continues until beyond the maximum size. Possible errors are: T6:. RO Bit Error Description 03 General packet transmit/receive data compare check 03 Long packet not detected 09,03 Test packet transmit or receive timeout | 14,03 General operation status check 14,03 Long packet not detected via operation status DMA to Q-bus Interface Processing An internal extended loopback packet with the station address is transmitted using a chained descriptor, with buffers, elements and high/low bytes. This packet is received and verified. Possible errors are: RO Bit Error Description | 04 Transmit (scatter/gather) data check 09,04 Transmit (special) and receive timeout 14,04 Receive or transmit operation status check 4-7 MAINTENANCE T7: Transceiver Operational and Status A setup packet with the physical address of the Unit Under through the DELQA. The packet also turns off LED 2 and Test (UUT) is generated and looped back sets the sanity timer value reset to 1/4 second. CSR13 (Carrier from Receiver) is monitored to be sure it is cleared; or, if it is set, that it is cleared within approximately 100 microseconds. Possible errors are: RO Bit Error Description 12 Setup packet echo data check | 09,12 14,12 Setup packet operation timeout | Setup packet operation status check 15 T8S: CSR carrier bit on for too long External Loopback and Ethernet Protocol This test is executed only if no other errors have been detected. The physical address of the Unit Under Test (UUT) is assumed to be set up by T7. The next minimumsize Ethernet packet, addressed to the UUT with a data pattern of descending-integers, is transmitted and received using external loopback. Finally, the maximum -size Ethernet packet is generated and sent to the UUT. The maximum packet is addressed to the UUT and has a data pattern of descending integers. Both packets will test Ethernet protocol processing, and the maximum packet will test the transmit FIFO memory. Possible errors are: RO Bit Error Description 15 External loopback not operational 05 External loopback transmitted/received packet data compare 09,05 External loopback operation timeout 14,05 External loopback operation status check check 4.3.2.2 Citizenship Test Results The CQ test either executes successfully or fails, as follows. a. CQ test successful: the value of host register RO is zero and the DELQA is set up as follows. All three DELQA module LEDs are off. (See steps 2, 3, 15, and 16 from Sections 2.4.3 and 244, 10 gain access to these LEDs.) All 14 target addresses are set to the physical address from The sanity timer is set to its default interval (four setting of option switch S3. minutes) and disabled or enabled, according to the Modes for promiscuous and all multicast address filtering The DELQA has been reset. — Receive is disabled — Transmit is disabled. 4-8 the station address ROM. are off. MAINTENANCE b. CQ test fails: the LED indicators display the following error codes. LED1 LED2 LED3 Definition OFF OFF OFF (Step 4) CQ test passed OFF OFF ON (Step 3) External loopback test failed OFF ON ON (Step 2) DELQA internal error ON ON ON (Step 1) Cannot upload the BD ROM contents, or the first setup packet prefill failed The bits in register RO indicate the test that failed. If bit 15 is the only bit set, the DELQA passed all the CQ tests except those which require a connected transceiver. The error definitions are listed in Table 4-1. Table 4-1 Citizenship Test: Error Bit Definitions Bit Error Definition and Source(s) 15 External loopback not operational (Tests 7 and 8) Ethernet not operational H4000 not operational (blown fuse, disconnected) 14 Operation completion status check (all tests) CSR status after final reset not nominal CSR status after transmit and/or receive not nominal Receive descriptor flags and status word 1 not nominal Received byte length check Transmit descriptor flags and status word 1 not nominal TDR value = 0 13 Sanity timer interrupt (general error) Power failed during test Unexpected sanity timer interrupt 12 Setup packet or target address echo check (all tests) Setup packet transmit timeout Transmit status not nominal Setup packet receive timeout Receive status not nominal Echoed data not identical to transmitted data Extra word at end of setup packet not nominal 11 Spurious or missing device interrupt (general error) Expected device interrupt not detected Device did not detect nonexistent memory (NXM) bus state 18-bit or 22-bit addressing failure Unexpected DELQA device interrupt 49 MAINTENANCE Table 4-1 (Cont.) Citizenship Test: Error Bit Definitions Bit Error Definition and Source(s) 10 Bus timeout or NXM interrupt (general error) I/O page not accessible for read or write Cannot read station address ROM Test code attempted to access nonexistent memory 09 Device operation timeout (all tests) Unit under test failed to complete a transmit and/or receive in time 08 Undefined 07 Self-test error 06 Final operation failed to clear device 05 Ethernet external loopback test check (Test 8) Ethernet protocol processing check Ethernet minimum valid length processing check Ethernet maximum valid length processing check 04 DMA-to-Q-bus interface processing check (Test 6) DMA odd/even length and address processing check Multi-element transmit descriptor processing check Chained transmit descriptor processing check 03 Internal extended loopback transmit buffer data check (Test 5) Ethernet protocol processing check Transmit buffer memory malfunction Packet size processing error (protocol error) 02 Station address compare test check (Test 4) Address filter logic passing all addresses Address filter logic not passing expected addresses 01 Station address/receive processing check (Test 3) Target address RAM malfunction Packets not properly stored in receive buffer Receive memory malfunction 00 Invalid Ethernet station address (Test 1) I/O page register read failure (see also bit 10) Unit under test is not a DEQNA (M7504) Station address ROM malfunction Invalid DELQA address 4-10 MAINTENANCE 44 MAINTENANCE OPERATIONS PROTOCOL (MOP): NETWORK SUPPORT In Normal mode the DELQA implements Maintenance Operations Protocol (MOP) functions in response to the following remote console messages from other nodes on the Ethernet. « The request system ID message The DELQA responds by transmitting its current system ID message. *« Remote boot trigger instruction The DELQA may respond to a trigger instruction only if option switch S4 is open to enable remote boot. The instruction can only be implemented if the host system has the appropriate boot ROM. + Loopback request message The DELQA will respond to a loopback request message. The DELQA also transmits its current system ID parameters automatically every 8 to 10 minutes. This section describes the Ethernet messages that initiate these functions, and how the functions are executed. Table 4-2 lists the message types. For further information, refer to the DECnet maintenance operation protocol (MOP) functional specification. Table 4-2 Maintenance Operation Protocol (MOP) Messages Message Request System ID System ID Remote Boot Loopback Request NOTE The DELQA ROM firmware does not support the following MOP functions, which are required for remote boot operations using non-system boot ROM: 4.4.1 * Program Request (outbound from the DELQA). + Memory Load with Transfer address (inbound to the DELQA). MOP Remote Console Message: Request System ID The DELQA responds to a remote console request for system ID by transmitting its current system ID parameters, which it holds in its on-board shared RAM. The processing of this request/response protocol returns the receipt value specified in the request, together with its system ID. Figure 4-2 shows the format of the request system ID message, and Table 4-3 gives details of the contents. 4-11 MAINTENANCE DESTINATION ADDRESS 6 BYTES SOURCE ADDRESS 6 BYTES TYPE 2 BYTES CHARACTER COUNT 2 BYTES CODE 1 BYTE PAD OF ZERO 1 BYTE RECEIPT NUMBER 2 BYTES PAD DATA 43 BYTES CRC 4 BYTES RE1698 Figure 42 Table 4-3 Request ID Message Format Request ID Message Format Field Length Description DESTINATION 6 The Ethernet physical address of the DELQA SOURCE ADDRESS 6 The Ethernet physical address of the requesting station TYPE 2 The remote console type. Value = (0260) 60-02 hex CHARACTER COUNT 2 ADDRESS / The number of bytes following the character count field less PAD data and CRC. Value = 04 hex CODE 1 Function code for request ID value = 05 hex RESERVED | Value = 00 hex RECEIPT NUMBER 2 Receipt number that identifies the request PAD DATA 43 Pad characters (anything to pad the message out to 64 bytes) CRC 4 Incoming block check character 4.4.2 MOP Remote Console Message: System ID In Normal mode, the ROM-based firmware in the DELQA module sends a system ID message every 8 to 10 minutes to the remote console server multicast address. These messages contain the device type and Ethernet address of the host system. This information may be modified by including MOP element types 5 or 6 in a setup packet. Certain DECnet and Network Interconnect Exerciser (NIE) utilities can map the nodes on an Ethernet listening for these messages. 4-12 network by MAINTENANCE Figure 4-3 shows the format of the system ID message, and Table 4-3 gives details of the contents. | DESTINATION ADDRESS 6 BYTES SOURCE ADDRESS 6 BYTES TYPE 2 BYTES CHARACTER COUNT 2 BYTES CODE 1 BYTE PAD OF ZERO 1 BYTE RECEIPT NUMBER 2 BYTES MOP VERSION: TYPE 2 BYTES MOP VERSION: LENGTH 1 BYTE MOP VERSION: VERSION 1 BYTE MOP VERSION: ECO 1 BYTE MOP VERSION: USER ECO 1 BYTE FUNCTION: TYPE 2 BYTES . FUNCTION: LENGTH 1 BYTE FUNCTION: VALUE 1 1 BYTE FUNCTION: VALUE 2 1 BYTE HARDWARE ADDRESS: TYPE 2 BYTES 2 BYTES HARDWARE ADDRESS: LENGTH 1 BYTE 1 BYTE HARDWARE ADDRESS: VALUE 6 BYTES DEVICE: TYPE 2 BYTES DEVICE: LENGTH 1 BYTE DEVICE: VALUE 1 BYTE PAD/PARAMETERS CRC | 146 BYTES 4 BYTES RE1699 Figure 4-3 System ID Message Format 4-13 MAINTENANCE Table 44 System ID Message Format Field Bytes Description DESTINATION 6 The Ethernet physical address of the requesting station or the remote ADDRESS console service multicast address. Value = AB-00-00-02-00-00 hex. = (00AB) (0200) (0000) SOURCE ADDRESS 6 The Ethernet physical address of the DELQA TYPE 2 The remote console type. Value = (0260) 60-02 hex CHARACTER COUNT 2 The number of bytes following the character count field, less pad data and CRC. Value = (001C) 1C-00 hex to (05DA) DA-0S hex CODE 1 Function code for system ID Value = 07 hex FAD OF ZERO 1 Value = 00 hex XECEIPT NUMBER 2 A receipt number to identify the request TYPE 2 Value = (0001) 01-00 hex LENGTH 1 Value = 03 hex VERSION 1 ECO 1 Value = 01 hex USER ECO 1 Value = 00 hex TYPE 2 Value = (0002) 02-00 hex LENGTH 1 Value = 02 hex VALUE 1 1 MOP VERSION: ) Value = 03 hex FUNCTION: Value = See functions bit mask in MOP element type S: write system ID. VALUE 2 1 ' Value = 00 hex 4-14 MAINTENANCE Table 4-4 (Cont.) Field System ID Message Format _ Bytes Description TYPE 2 Value = (0007) 07-00 hex LENGTH 1 Value = 06 hex VALUE 6 Default the DELQA physical address from SA ROM 2 Value = 37 decimal for the DELQA (Certain DELQAS can transmit HARDWARE ADDRESS: DEVICE: TYPE 37 Octal from a PDP Host) LENGTH | Value = 01 hex VALUE 1 The DELQA device code. Value = 11 hex PAD/PARAMETERS 146 The set of additional parameters supplied by host software through the setup packet. If not supplied, zeros are added by the DELQA CRC 4.4.3 4 Outgoing block check character MOP Remote Console Boot Message In Normal mode with option switch S4 open to enable remote boot, the DELQA processes MOP remote console boot messages as follows. 1. Validate the boot verification code. 2. Force a host system reboot by negating BDCOK on the Q-bus. If option switch S4 is closed to disable remote boot, and a MOP remote console boot message is received, the DELQA firmware delivers this message to the host software as it would with any normal datagram received. However, normal datagram service occurs only if CSR00 (Receiver Enable) is set and sufficient receive buffers are available to the DELQA in host memory. The DELQA does not support any other modes of MOP remote boot processing. The DELQA supports MOP remote boot on any system which supports either the DEQNA or DELQA in the host CPU boot ROM. This includes the following systems. * PDP-11 systems which have system boot ROM support for the DEQNA. Either type of MOP boot (system processor or communications processor) may be used. * MicroVAX II systems which have system boot ROM support for the DEQNA. Either type of MOP boot (communications processor or system processor) may be used. 4-15 MAINTENANCE Figure 4-4 shows the format of the boot ID message, and Table 4-5 gives details of the contents. DESTINATION ADDRESS 6 BYTES SOURCE ADDRESS 6 BYTES TYPE 2 BYTES CHARACTER COUNT 2 BYTES CODE 1 BYTE VERIFICATION 8 BYTES PROCESSOR 1 BYTE CONTROL 1 BYTE SOFTWARE ID 1 BYTE PAD DATA 32 BYTES CRC 4 BYTES RE1700 Figure 44 Table 4-5 Boot ID Message Format Boot ID Message Format Field Length Description DESTINATION 6 The physical Ethernet address of the DELQA SOURCE ADDRESS 6 The physical Ethernet address of the requesting station TYPE 2 The remote Console type. ADDRESS Value = (0260) 60-02 hex CHARACTER COUNT 2 The number of bytes following the character count field less pad data and CRC. Value = 000C hex CODE 1 The function code for the boot message. - Value = 06 hex VERIFICATION 8 The code to be compared against the verification code supplied by host software. Before boot loading, the DELQA checks that the codes match. If the host software has not supplied a verification code, or the code is zero, the DELQA accepts any value in the verification field of the boot message PROCESSOR 1 Value = 00 hex: system boot Value = 01 hex: communication boot 4-16 MAINTENANCE Table 4-5 (Cont.) Boot ID Message Format Field Length CONTROL 1 Description Value = 00 hex: boot from system default Value = 01 hex: boot from the requesting system SOFTWARE ID 1 Value = 00 hex: No ID. Value = FF hex: Operating system. Value = FE hex: Diagnostics PAD DATA 32 Pad characters, (anything to pad the message out to 64 bytes) CRC 4 Incoming block check character 4.4.3.1 Processing a Remote Message When a message with TYPE = remote Console and CODE = Boot is read into a DELQA buffer, the DELQA firmware processes it as follows: 1. If the DELQA option switch S4 is closed to disable remote boot the incoming boot trigger message is treated as a normal datagram and delivered to the host. If there are any receive errors (for example, CRC error) with the boot message, the message is treated as a normal datagram and delivered to the host. If the MOP protocol message fields for character count, processor, control, and software ID contain values within the expected limits, boot processing continues. Otherwise, boot processing stops, and the message is delivered to the Host. The DELQA compares the verification code contained within the boot message with the value stored by the DELQA RAM. The stored value is either specified by a previous setup packet, or the default value of zero which permits all received MOP remote boots to be accepted. Host software must specify a setup packet with a nonzero boot code in order to use the filtering function provided by the MOP boot verification code. If the DELQA firmware cannot match the verification code, the message is delivered to the Host. The DELQA decodes the processor field from the boot message to determine whether the communication processor or the system processor is to be booted. + If the system processor is to be booted, the DELQA negates BDCOK (causing a system power fail trap). The remote boot message is stored in its on-board shared RAM so that host firmware can poll the DELQA for the source of the boot initiator (by sending a setup packet containing MOP element type 7). Within the boot message there may be the Ethernet physical address of the initiator and other serverspecific information. A subsequent program request may call for the correct program from the correct remote loading host. « If the communications processor is to be booted, the DELQA negates BDCOK (causing a system power fail trap), performs a hardware reset, and executes its internal self-test. The remote boot message is not stored. 4-17 MAINTENANCE 4.4.4 Ethernet Channel Loopback Protocol Support The DELQA firmware supports the loop maintenance protocol by recognizing and replying to loopback messages transmitted over the Ethernet, and by host diagnostics, including the Network Interconnect Exerciser (NIE) and DECnet Network Control Program (NCP). : This feature assists in diagnosing Ethernet connection faults, especially for host systems that have no mass storage device, and so require all operating and diagnostic software to be downloaded. Loop messages have the following fields. L] TYPE = unique loopback value (0090) ETHERNET PROTOCOL DESTINATION: Either, DESTINATION = the DELQA physical Ethernet address. Or, DESTINATION = Multicast address for Ethernet loopback protocol. The DELQA does not check multicast addresses for the loopback type. Loopback messages received with multicast addresses are delivered to the host as normal datagram traffic. FUNCTION: Either, FUNCTION = Forward Forward messages are transmitted by the DELQA to the next node in the loop, but are not delivered to the local attached node. Or, FUNCTION = Reply Reply messages are not processed by the DELLQA ROM firmware but they are delivered to the local attached node/host just as any other received datagrams, When a message with TYPE = Loopback is read into a DELQA buffer, the DELQA firmware processes it as follows. 1. 2. If the CRC is wrong, the message is treated as a normal datagram, and loopback processing stops. If the destination address field contains either the physical address of the DELQA or the broadcast address, loopback processing continues. If the destination address field contains a multicast address the message is treated as a normal datagram, and loopback processing stops. The function field is located by adding the value in the skip count field to the location of the skip count field plus 2. ' The action taken depends on the function value, as follows. Function value = 1: This indicates a loop reply to the DELQA. If the forward address field contains a physical address, the DELQA delivers the message to the local host using the receive buffers. Loopback processing then stops. Function value = 2: This indicates a message to be forwarded. If the forward address field contains a physical address, the DELQA does the following. a. Inserts the contents of the forward address field into the destination address field. b. Replaces the source address field with the physical address of the DELQA. c. Adds eight to the value of the skip count. d. Strips the four-byte CRC from the message. e. Transmits the resulting message, generating and appending a four-byte CRC. 4-18 MAINTENANCE If the function value is not 1 or 2, or the forward address field does not contain a physical address, loopback processing stops and the message is delivered to the Host as normal datagram traffic. Figure 4-5 shows the MOP loopback message, and Table 4-6 gives details of the contents. DESTINATION ADDRESS SOURCE ADDRESS 6 BYTES 6 BYTES TYPE 2 BYTES SKIP COUNT 2 BYTES OCTETS TO SKIP X BYTES FUNCTION 2 BYTES FORWARD ADDRESS 6 BYTES LOOP DATA: 38-X TO 1490-X BYTE CRC 4 BYTES RE1697 Figure 4-5 Table 46 Loop Message Format Loop Message Format Field Length DESTINATION 6 ADDRESS SOURCE ADDRESS Description Inbound: physical address of the DELQA, or the broadcast address. Outbound: forward address 6 Inbound: physical address of the loop-requesting station. Outbound: physical address of the DELQA TYPE 2 Loop test message type. Value = (0090) 90-00 hex SKIP COUNT 2 Inbound: offset to the function field. Outbound: offset plus 8 OCTETS TO SKIP 8n Encapsulated loop header information. n=0to 186 FUNCTION 2 Value = (0001) 01-00 hex for reply. Value = (0002) 02-00 hex for forward FORWARD ADDRESS 6 The physical address the inbound message is to be sent to. For a reply, this is the physical address of the DELQA LOOP DATA 36 to Loop test data 1490 —8n 4-19 MAINTENANCE Table 4-6 (Cont.) Loop Message Format Field Length Description CRC 4 Inbound: Block check character. Outbound: Block check character appended by the DELQA 4.5 IEEE 802.3 NETWORK SUPPORT: NULL LINK-LAYER SERVICE ACCESS POINTS In NORMAL mode the DELQA implements IEEE 802.2 logical link control messages when they are received on a NULL Link-layer Service Access Point (LSAP) within an IEEE 802.3 standard local area network. These messages can be used to interrogate and test many link layer service points per node. Therefore, IEEE 802.2 logical link control messages which are received on a non-NULL LSAP are passed on to the host system as normal datagrams. For details of this message format and protocol, refer to the ANSI/IEEE Draft International Standard 802.2 Logical Link Control. 4.5.1 TEST Message The IEEE 802.2 TEST message is similar in function to the loopback message on Ethernet networks. 4.5.2 XID (Transmit ID) Message The IEEE 802.2 XID (Transmit ID) message is similar in function to the MOP remote console request system ID messages on an Ethernet network. ' The DELQA does not broadcast IEEE 802.2 XID messages automatically as it does with MOP system IDs, since it is not required by the IEEE 802.2 protocols. 4.6 NETWORK DIAGNOSTICS 4.6.1 DECnet Network Control Program (NCP) The DECnet Network Control program (NCP) provides a command-driven interface for executing loopback tests on the Ethernet, and for examining network and datalink counters. Some of the relevant commands are: - LOOP + SHOW « TELL TRIGGER. The TRIGGER command may be used to initiate boot loading from the DELQA for PDP-11 host systems that have the appropriate boot ROM support. The commands may be issued either from the local host system or, by using the TELL command, from a remote node. The functions are performed concurrently with other DECnet operations, and do not interfere with other Ethernet traffic (although there may be some degradation of throughput). Refer to the DECnet System Manager’s Guide for further information. 4-20 MAINTENANCE 4.6.2 Network Interconnect Exerciser (NIE) The Network Interconnect Exerciser (NIE) diagnostic program is used to determine the connectivity of nodes on the Ethernet; to determine the ability of nodes to communicate with each other; and to support node installation verification and problem isolation. The NIE does not test the DELQA, but the communications link to which it is connected; therefore, the NIE assumes that the DELQA has successfully completed the citizenship test. The NIE is used with XXDP+ and MicroVAX Diagnostic Monitor. Refer to Appendix B for further information. 4.7 MODULE DIAGNOSTICS The Field Replaceable Units (FRUs) that will be indicated by these diagnostics are: The DELQA or the DEQNA modules * The cabinet kit * The fuse. 4.7.1 MicroVAX Diagnostic Monitor (MDM) The MicroVAX Diagnostic Monitor (MDM) offers a selection of menu-driven tests and utilities that may be run in verify or service modes. These are: * Utilities for external loopback tests and NIE » Service tests for external loopback * Verify tests for: « — Internal and internal extended loopback — Setup packet handling — Buffer Descriptor List (BDL) handling — DMA and interrupt handling — Transmit and receive circuitry and firmware — Address filtering Device exerciser for testing the DELQA simultaneously with other system devices MDM prompts the operator when it needs to use an external loopback connector. Refer to Appendix B for further information. 4.7.2 PDP-11 Field Functional Diagnostic (ZQNA??) The field functional diagnostic program (ZQNA??) tests the DELQA in Q-bus systems. It attempts to isolate faults to the Field Replaceable Units (FRUs): Tests are executed under the supervision of the Diagnostic Runtime Services (XXDP+), and controlled by an operator from a console (hard copy or video). ZQNA?? is not an Ethernet network exerciser. The ZQNA?? verifies that the DELQA can execute Ethernet protocol, and that valid network traffic can be transmitted and received. The Network Interconnect Exerciser (NIE) provides a higher level of testing. 4-21 MAINTENANCE ZQNA?? tests the DELQA in all loopback modes: internal loopback and internal extended lobpback modes, with or without an external loopback connector or transceiver connected. External loopback mode is used with a connected transceiver or external loopback connector. Alternatively, external loopback mode can be used with a terminated transceiver that is not attached to a network cable. Executing ZQNA?? using external loopback mode in a system connected to a live Ethernet does not disrupt the Ethernet. Refer to Appendix B for operating information. 4.7.3 PDP DEC/X11 Exerciser The DELQA DEC/X11 Exerciser exercises one DELQA at maximum activity rates. It transmits and receives random-length packets (using either 18- or 22-bit physical address space). The DELQA transmits and receives the same packet. For operating information, refer to Appendix B. 4-22 APPENDIX A VECTOR ASSIGNMENTS This appendix lists the rank of vector assignments for MicroPDP-11 systems, The DELQA has a fixed I/O page address, as selected by the on-board switch S1, and uses a fixed vector of 120(octal) for the first DELQA and a floating vector assignment for the second DELQA. The floating vector assignments start at 300(octal), and are assigned by rank to the units on the host system. The rankings are shown in Table A-1; the highest ranks have the lowest numbers. A.l1 THE FLOATING VECTOR ASSIGNMENT If a host node has a KXV11 and an RXV21 and a DELQA, the DELQA is allocated the third floating vector because it is third in rank. A device may use both fixed and floating vectors and addresses, and the assigned rank may be different for a floating address and a floating vector. The DELQA module is configured as a DMA device, in the same way as a DEQNA module. The first DEQNA/DELQA vector is fixed by host system software at 120(octal). Subsequent DEQNA/DELQA modules are assigned a floating vector with a rank of 47(octal), and should be configured at system start-up using the auto-configuration routines for floating vectors. A.2 FLOATING VECTORS The DELQA uses one 16-bit word for a vector address. The vector assignment rules are as follows: » Each device occupies vector address space equal to Size in words. For example, the DLV11-J occupies 16 words of vector space. If its vector was 300(octal), the next available vector would be at 340(octal). » There are no gaps, except those needed to align an octal modulus. A-1 VECTOR ASSIGNMENTS Table A-1 Floating Vector Address Assignments Size Modulus Rank Device (Decimal) (Octal) 1 DC11 4 10 1 TUS8 4 10 2 KL11 4 10t 2 DL11-A 4 10t 2 DL11-B 4 10t 2 DLV11-] 16 10 2 DLV11, DLV11-F 4 10 3 DP11 4 10 4 DMI11-A 4 10 5 DNI11 2 4 6 DM11-BB/BA 2 4 7 DH11 modem control 2 4 8 DRI11-A, DRV11-B 4 10 9 DR11-C, DRV11 4 10 10 PAG611 (reader + punch) 8 10 1 LPDI11 4 10 12 DTO07 4 10 13 DX11 4 10 14 DL11-C to DLV11-E 4 10 15 DJ11 4 10 16 DHI11 4 10 17 VT40 8 10 17 VSV11 8 10 18 LPS11 12 10 19 DQil 4 10 " TKL11 or DL11 as console has a fixed vector. A-2 VECTOR ASSIGNMENTS Table A~1 (Cont.) Floating Vector Address Assignments Size (Decimal) Modulus (Octal) KWI11-W, KWV11 4 10 21 DU11, DUV11 4 10 22 DUP11 4 10 23 DV11 + modem control 6 10 24 LK11-A 4 10 25 DWUN 4 10 26 DMC11/DMR11 4 10 27 DZ11/DZS11/DZV11, DZ32 4 10 28 KMCI11 4 10 29 LPP11 4 10 30 VMV21 4 10 31 VMV3l1 4 10 32 VTVO01 4 10 33 DWR70 4 10 34 RL11/RLV11 2 4§ 35 TS11, TUSO 2 4§ 36 LPA11-K 4 10 37 IP11/1P300 2 48 38 KWI11-C 4 10 39 RX11/RX211 RXV11/RXV21 2 4§ 40 DR11-W 2 4 41 DR11-B 2 4§ 42 DMP11 4 10 43 DPV11 4 10 44 MLI11 2 4% Rank Device 20 - ' | | §The first device of this type has a fixed vector. Any extra devices have a floating vector. $MLI11 is a MASSBUS device which can connect to UNIBUS using a bus adapter. A-3 VECTOR ASSIGNMENTS Table A-1 (Cont.). Floating Vector Address Assignments Size Modulus Rank Device (Decimal) (Octal) 45 ISB11 4 10 46 DMV11 4 10 47 DEUNA DEQNA/DELQA 2 48 48 KDAS50/RQDX3 2 48 49 DMF32 16 4 50 KMS11 6 10 51 PCL11-B 4 10 52 VS100 2 4 53 TUS1 2 4 54 KMVl 4 10 55 KCT32 4 10 56 IEX 4 10 57 DHV11/DHU11 4 10 58 DMZ32/CPI32 (async) 12 4 59 CPI32 (sync) 12 4 60 QNA 12 4 61 QVSS 4 10 62 VS31 2 4 63 LNV11 2 4 64 QPSS 2 4 65 QTA 2 4 66 DSV11 2 4 | _ , _ §The first device of this type has a fixed vector. Any extra devices have a floating vector. A4 VECTOR ASSIGNMENTS 777 777 FIXED ADDRESSES (2K WORDS) 770 000 USER ADDRESSES (1K WORDS) 764 000 FLOATING ADDRESSES (1K WORDS) : DIAGNOSTICS 760 010 760 000 000 477 80 FLOATING VECTORS . 000 450 Q-BUS RESERVED 000 400 FLOATING VECTORS FIXED VECTORS TRAPS 000 300 000 030 RE1701 Figure A-1 Q-bus Address Map A-5 APPENDIX B DIAGNOSTICS B.1 SCOPE : This appendix outlines the diagnostic tests available for troubleshooting the DELQA module. For further information, refer to the appropriate test handbook and/or system manual. The sections are: Section B.2 Operating Environments Section B.3 Network Interconnect Exerciser Section B.4 PDP-11 Ffinctional Diagnostic Section B.5 MicroVAX Diagnostic Monitor (MDM) Section B.6 DEC/X11 Exerciser | B.2 OPERATING ENVIRONMENTS B.2.1 PDP-11 Diagnostic Runtime Services (DRS) The Diagnostic Runtime Services (DRS) are implemented by a program called XXDP+. To start this program, use the following procedure. 1. Boot XXDP+ 2. Give the date 3. Type: R NAME where NAME is the name of the BIN or BIC file for this program; for example, CVNIABO for the PDP-11 Network Interconnect Exerciser (NIE). Type: START DRS prompts: CHANGE HW (L) ? Respond with Yes (unless the hardware information has been preloaded using the setup utility) and answer all the hardware questions that follow: # OF UNITS (D) ? Respond with the number of units to be tested (there is no default). At least one device must be specified for the program to run. To abort testing the device, type 0. DRS requests the following information for each device: BASE ADDRESS OF DELQA/DEQNA? Respond with the address of the I/O page register assigned for one of the DELQA devices; refer to Chapter 2 for details. ' B-1 DIAGNOSTICS INTERRUPT VECTOR ADDRESS? Respond with the DELQA interrupt vector address; refer to Appendix A. WHAT IS THE PRIORITY LEVEL? Respond with the DELQA interrupt priority level: 4 6. DRS prompts: CHANGE SW (L) ? Respond with N(o). For a complete description of DRS, refer to the XXDP+ User’s Manual. B.2.1.1 DRS Commands There are 11 DRS commands. The system can recognize a command by its first three characters; for example, you can type STA instead of START. Table B-1 lists the DRS _commands. Table B-1 Diagnostic Runtime Services (DRS) Commands Command Description ADD Activate a unit for testing (all units are considered active at START time). CONTINUE Continue at the test that was interrupted (after CTRL/C). DISPLAY Print a list of all device information. DROP Deactivate a unit. EXIT Return to the XXDP+ monitor (XXDP+ operation only). FLAGS Print the state of all flags. PRINT Print statistical information (if implemented by the diagnostic). PROCEED Continue from an error halt. RESTART Start the diagnostic without initializing. START Start the diagnostic from an initial state. ZFLAGS Clear all flags. B.2.1.2 DRS Switches To modify supervisor operation, several switches can be appended to each DRS command. The system will recognize a switch by its first three characters. For example, you can type /TES:1-5 instead of /TESTS:1-5. The switches can be used in combination, for example: Example B-1 DRS Switch Combinations START/TESTS:1-5/PASS:1000/EOP:100 executes tests 1 to 5, tests all units 1000 times, and prints the end-of-pass messages only after every 100 passes. B-2 DIAGNOSTICS Table B-2 lists the DRS switches that can be used with each command, with a brief description of each. Table B-3 indicates the commands to which each switch applies. Table B-2 Command Switches Switch Description /EOP:.ddddd Report End-of-Pass message, and pass count and total errors, only after every ddddd ~ passes. /FLAGS:flag Set the specified flag(s). [PASS:ddddd Execute ddddd passes, where ddddd = 1 to 65535 decimal. [TESTS:list Execute only the tests specified by list (a string of test numbers). For example: START/TESTS:1:5:7-10 runs tests 1, 5, 7, 8, 9, and 10, and no others. J/UNITS:list Test/ADD/DROP only those units (0 to 63) specified by list. For example: START/UNITS:0:5:10-12 tests vnits 0, 5, 10, 11, and 12. Table B-3 Switch Application Commands Switches Tests Pass Flags EOP ADD Units X CONTINUE X X X DISPLAY DROP X EXIT (none) FLAGS (none) PRINT (néne) PROCEED X RESTART X START X ZFLAGS (none) X X X X X B.2.1.3 DRS Flags Commands are used with the /FLAGS switch to set up certain operational parameters, such as “loop on error”. The flags remain as specified by the last /[FLAGS switch. All flags are cleared: 1. At startup, and remain cleared until explicitly set with the /FLAGS switch 2. After a START command, unless set with the /FLAGS switch with the ZFLAGS command 3. With the ZFLAGS command. B-3 DIAGNOSTICS Flags can be specified in combinations. For example: Example B-2 DRS Flag Combinations /FLAGS:LOE:IER:BOE causes the program to loop on error, inhibit error reports, and sound the bell on error. The flags are listed and described in Table B-4. Table B—4 Flags Application Flag Effect ADR Execute the autodrop code. BOE Sound the bell on error. EVL Execute evaluation (on diagnostics supporting evaluation). HOE Halt on error—return control to DRS command mode. IBE Inhibit all error reports except first level (first level contains error type, number, PC, test and unit). IDR Inhibit the program from dropping units. IER Inhibit all error reports. ISR Inhibit statistical reports (applies only to diagnostics which support statistical reporting). IXE Inhibit extended error reports called by PRINTX macros. LOE Loop on error. One error occurrence will cause the test to loop until the operator takes the program out of the loop. LOT Loop on test. PNT Print the test number as the test executes. PRI Direct messages to the line printer. UAM Unattended mode (no manual intervention). B.2.2 MicroVAX Diagnostic Monitor (MDM) The MicroVAX Diagnostic Monitor (MDM) is a bootable, menu-driven, maintenance and diagnostics system which runs the MicroVAX Diagnostic Monitor (MDM) as part of its optional Service version. For DELQA testing, MDM includes: 1. External loopback utilities tests, including NIE utilities 2. Functional tests 3. Exerciser tests. B4 DIAGNOSTICS The installation version of MDM is supplied as standard with MicroVAX systems. It provides two levels of testing. 1. Verification test for the configurafion A console display lists the devices found. If an installed device is missing from the list, its configuratlon details (address and vector assignments) and physical connections should be checked. 2. System-level functional and exerciser tests for all devices that are currently configured. Displays on the console, and LED indicators on the device itself, show the current test status of each device. All tests are accessed from the main MDM menu display, using subsidiary menus to initiate Installation and Service tests. Section B.5 describes the DELQA MDM tests in more detail. Refer to the MicroVAX Diagnostic Monitor for further information about MDM. B.3 NETWORK INTERCONNECT EXERCISER (NIE) This is an overview of the Network Interconnect Exerciser (NIE) program for the DELQA. For more information refer to the appropriate Diagnostic, listing. B.4 INTRODUCTION The NIE diagnostic program is used to determine the connectivity of nodes on the Ethernet. It determines the ability of nodes to communicate with each other, and supports node installation, verification and problem isolation. The NIE does not test the device (DELQA), but the communications link to which it is connected; therefore, the NIE assumes that the DELQA has passed device-specific diagnostics. If any hardware errors occur during execution, the NIE reports the error by message to the operator. Unless command to halt on error (see Section B.7.1.2), the NIE resumes testing where it left off after reporting the error. However, note that the ~ NIE does not test the DELQA to its performance limits, diagnose problems, provide comprehensive hardware testing, nor identify a failed FRU. The NIE runs under control of either the PDP-11 Diagnbstic Runtime Services (DRS) software or MDM,; therefore, it cannot run concurrently with any operating system, nor can anyone else use the system while the NIE is running. In addition, overall performance of the Ethernet can be degraded by running the NIE. B.5 OPERATING MODES The NIE is command-driven; that is, it executes commands given by the user. Commands are described in Paragraph Section B.7 In addition to entering commands, the user can select one of two operating modes: unattended or operator directed. B.5.1 Unattended Mode This mode allows Ethernet testing without operator interaction. The tests share a table comprising the physical addresses of the nodes to be tested (Node Table), and use default test parameters that cannot be modified by the operator. The unattended mode: 1. Runs internal loop test 2 Runs external loop test 3 Builds node table 4. Runs direct loop message test 5. Runs pattern test 6 Runs multiple message activity test DIAGNOSTICS B.5.1.1 Build Node Table The build subroutine is called to collect the physical addresses of the Ethernet nodes. It begins by transmitting a Request 1D message on the Ethernet, to find a node to test. As the other nodes respond with their IDs, the NIE collects the IDs and adds the nodes to the node table, to include them in the tests. B.5.1.2 Direct Loop Message Test This test checks the ability of a node to respond to a loopback request. (See Paragraph Section B.7.2, RUN TEST command, DIRECT test.) A node has a maximum of 8 seconds to respond; three attempts are made to contact each node. B.5.1.3 Pattern Test This test sends six different loop direct messages to each node in the node table. (See Paragraph Section B.7.2, RUN TEST command, PATTERN test.) B.5.1.4 Multiple Message Activity Test This test uses the direct loop maintenance feature to create a large volume of Ethernet traffic. Loopback requests are sent to a subset (for example, 10) of the available nodes. All nodes in the subset are expected to respond, but data integrity is checked for only one of the responses (to save overhead). Upon successful completion, testing continues, checking the response from a different node each time. After all the nodes in the subset have been tested, testing continues with a different subset. This test is expected to cause multiple collisions and can affect overall Ethernet performance. B.5.2 Operator Directed Mode The commands available in this mode are listed below and described in Paragraph Section B.7.2. HELP BUILD CLEAR MESSAGE CLEAR NODE CLEAR SUMMARY IDENTIFY MESSAGE NODE RUN DIRECT RUN LOOPPAIR RUN PATTERN RUN ALL RUN RESP SAVE UNSAVE SHOW COUNTERS SHOW MESSAGES SHOW NODES SUMMARY EXIT B-6 DIAGNOSTICS B.6 SYSTEM REQUIREMENTS The following hardware is the minimum required to run the CVNIA NIE program. o LSI-11 processor « 28 Kwords memory « Event line enabled or real-time clock » Console terminal « Any XXDP+ supported load media « DELQA Ethernet to Q-Bus Adapter (minimum of 1, maximum of 2; tested individually) The NIE uses XXDP+ as the program loading system and the PDP-11 Diagnostic Runtime Services (DRS) for the program environment. B.7 COMMAND DESCRIPTION B.7.1 DRS Commands The 11 DRS commands are listed in Table C-1, with a brief description of each. The system will recognize a command by its first three characters; for example, you can type STA instead of START. DRS Commands Table B-5 Command Description START Start the diagnostic from an initial state. RESTART Start the diagnostic without initializing. CONTINUE Continue at test that was interrupted (after <CTRL>C). PROCEED Continue from an error halt. EXIT Return to XXDP+ monitor (XXDP+ operation only). ADD Activate a unit for testing (all units are considered active at START time). DROP | | Deactivate a unit. PRINT Print statistical information (if implemented by the diagnostic). DISPLAY Type a list of all device information. FLAGS Type the state of all,‘ flags (see Section B.7.1.2) ZFLAGS Clear all flags ( see Section B.7.1.2) B-7 DIAGNOSTICS B.7.1.1 Switches Several switches can be appended to DRS commands, to modify supervisor operation. The switches are defined in Table C-2, with a brief description of each. (Note: ddddd = 1 to 65535 decimal.) The switches can be used in combination. For example: START/TESTS:1-5/PASS:1000/EOP:100 will cause tests 1 through 5 to execute; all units will be tested 1000 times; and the end of pass messages will be printed only after every 100 passes. The system will recognize a switch by its first three characters. For example, you can type /TES:1-5 instead of /TESTS:1-5. Table B-7 lists the switches that can be used with each command. Table B-6 DRS Command Switches Switch Description J/EOP:ddddd Report End of Pass message only after every ddddd passes. [/FLAGS:flag Set specified flag(s) (see Section B.7.1.2) /PASS:ddddd Execute ddddd passes. /TESTS:list Execute only the tests specified by list (a string of test numbers). For example: START/TESTS:1:5:7-10 will run tests 1, 5, 7, 8, 9, and 10. No other tests will be run. JUNITS:list START/ADD/DROP only those units (0-63) specified by list. For example: START/UNITS:0:5:10-12 will test units 0, 5, 10, 11, and 12 B-8 DIAGNOSTICS Table B-7 Switch Application Commands Tests Pass Flags EOP Units START X X X X X RESTART X X X X X Switches CONTINUE | PROCEED X X X EXIT (none) ADD X DROP X PRINT (none) DISPLAY X FLAGS ZFLAGS (none) - (none) B.7.1.2 Flags Flags are used to set-up certain operational parameters, such as looping on error. All flags are cleared: 1. at startup and remain cleared until explicitly set with the /[FLAGS switch 2. after a START command unless set with the /FLAGS switch 3. with the ZFLAGS command. No other commands, without a /[FLAGS switch, affect the state of the flags; they remain as specified by the last /FLAGS switch. The flags are listed and described in Table C-4. Flags can be specified in combinations. For example: /FLAGS:LOE:IER:BOE causes the program to loop on error, inhibit error reports, and sound the bell on error. DIAGNOSTICS Table B-8 DRS Command Flags Flag Effect ADR Execute autodrop code. BOE Sound bell on error. EVL Execute evaluation (on diagnostics which have evaluation support). HOE Halt on error — control is returned to DRS command mode. IBEt Inl.li;ait all error reports except first level (first level contains error type, number, PC, test and unit). ' IDR Inhibit program dropping of units. IERY Inhibit all error reports. ISR Inhibit statistical reports (applies only to diagnostics which support statistical reporting). IXE%} Inhibit extended error reports (those called by PRINTX macros). LOE Loop on error. LOT Loop on test. PNT Print test number as test executes. PRI Direct messages to line printer. UAM Unattended mode (no manual intervention). tError messages are described in Paragraph Section B.8.1. - B-10 DIAGNOSTICS - B.7.2 NIE Commands NIE commands are typed in response to the prompt: NIE> (A) ? The commands are interpreted from left to right; and you need type only enough characters to uniquely specify a command. Command descriptions and examples follow. Table B~9 NIE Commands Command Description HELP or ? Types a brief description of NIE commands. Example: NIE> (A) 7 H or NIE> (A) ? ? BUILD This command is used to build the node table. It causes the exerciser to listen for system ID messages (broadcast by all nodes every 10 minutes). All such identifying nodes are added to the node table. The command stops if no new nodes have been added for 10 minutes or 40 minutes have elapsed. The average time for this command should be 15 to 25 minutes. It is possible to miss a transmission within the 10 minute period. Therefore, if no nodes appear in the table after a BUILD, wait 4 or 5 minutes and retry the BUILD. Example: NIE> (A) ? BU CLEAR MESSAGE This command resets message parameters to the default values. CLEAR NODE/ADR This command clears the specified node from the node table. The node can be specified by either its 12-digit (hex) physical address or its logical name (from the node table). To find the logical name associated with an address, execute the SHOW NODE command. Example: Clear a node using its Ethernet address: NIE> (A) 7 CL N/AA-00-04-FF-FF-F0 Clear a node using its logicél naine: NIE> (A) ? CL N/N3 CLEAR NODE/ALL This command clears the node table. Example: Clear all nodes: B-11 DIAGNOSTICS Table B-9 (Cont.) NIE Commands Command Description NIE> (A) ? CL N/ALL A cleared node can be restored to the node table with the UNSAVE command. CLEAR SUMMARY IDENTIFY ADR This command clears the summary table. Sends a Request ID message to the node specified by ADR. The returned system ID parameters are typed. Example: NIE> (A) ? ID AA-00-04-FF-FF-F0 MESSAGE/TYPE= /SIZE=n/COPIES=m This command allows the operator to select the current message parameters. Any or all parameters can be changed. The defaultparameters are: : [TYPE=ALPHA/SIZE=512/COPIES=1. The size of the message buffer is between 46 and 512 bytes. The number of copies of each message sent to each node can be between 1 and 255 copies. The message types are listed inTable C-5. Examples: Change type: NIE> (A) ? M/T=ZERO Change size: NIE> (A) ? M/S=256 Change both size and type: NIE> (A) ? M/S=512/T=ALPHA B-12 DIAGNOSTICS Table B-9 (Cont.) Command NIE Commands Description NIE Test Message Types Type Content ALPHA 1"#3$%’ ()*+,-./0123456789;:=?ABCDEFG etc. ONES All ones (11111111 ). ZEROS All zeros (00000000 ). 1ALT Alternating ones and zeros (10101010 ). OALT Alternating zeros and ones (01010101 ). CCITT International Telegraph and Telephone Consultation Committee pseudo-random test pattern. OPERATOR Operator selected pattern of less than 72, characters using 0-9, A-Z, and spaces (not used in PATTERN) SELECTED NODE ADR/TYPE This command allows the operator to enter nodes into the node table. Nodes are specified by their 12-digit(hex) Ethernet physical address; and can be further specified (by /TYPE) to be either target or assist (default = target). Before changing a node’s type, the node must first be cleared from the node table (see CLEAR command). Examples: Enter target node: NIE> (A) ? N AA-00-04-FF-FF-F0 or NIE> (A)? N AA-00-04-FF-FF-FO/T Enter assist node: NIE> (A) ? N AA-00-04-FF-FF-F0/A Change a target node to an assist node: NIE> (A) ? CL N/AA-00-04-FF-FF-F0 NIE> (A) ? N AA-00-04-FF-FF-FO/A B-13 DIAGNOSTICS Table B-9 (Cont.) NIE Commands Command Description RUN <TEST>/PASS=nn Causes the specified test to execute for nn passes (default PASS = 1). If nn = 0, the test will run indefinitely. Prior to running the test(s), the NODE command should be used to enter the node addresses (taken from the node table) to be tested. The LOOPPAIR test requires node pairs, specified as target and assist nodes. Each test uses the currently selected values for message type, size, and copies. The tests are as follows. DIRECT—This test sends a loop direct message to all of the nodes in the node table, waits for a response, checks returned data integrity, and reports any errors to the operator. The message to the target node comprises encapsulated forward and reply messages. The response from the target node comprises the same reply message. (See Figure C-1.) LOOPPAIR —This test sends transmit, receive, and full assisted loopback messages, comprising encapsulated forward and reply messages, to the node pairs in the node table. (See Figures C-2, C-3, and C-4.) In each case, the test waits for a response and checks the data. PATTERN — This test sends six different loop direct messages to each node in the node table. Each of six message types (ALPHA, ONES, ZEROS, 1ALT, OALT, CCITT—see Table C-5) is sent to each node. Returned data is checked for errors. ALL — This two-part test performs the most extensive check of the network. It sends a loop direct message to each node in the node table. If this is successful, the exerciser builds an array of node pairs and sends a full assisted loopback message to each pair in the array. Table C-6 shows a sample array of pairs for a node table with seven nodes. Node Pair Array 1-2 2-3 3-4 4-5 5-6 1-3 2-4 3-5 4-6 5-7 1-4 2-5 3-6 4-7 1-5 2-6 3-7 1-6 2-7 6-7 1-7 RESP—The RESPONDRER test is a section of code that provides loop-server functions, such as: forwarding messages, answering console ID requests, and transmitting a system ID every 8 to 9 minutes. This must be run to use the DELQA as a loop assist or target node on the Ethernet. The other tests ignore forwarding requests, and will not transmit console IDs. Examples: B-14 DIAGNOSTICS Table B-9 (Cont.) Command NIE Commands Description Run the DIRECT test for one pass: NIE> (A)?R D Run the DIRECT test for 5 passeé: NIE> (A) ? R D/P=5 Run the DIRECT test for infinite passes: NIE> (A) ? R D/P=0 Run the LOOPPAIR test: NIE> (A)?R L Run the RESPONDER test: NIE> (A) 7R R NOTE The only way to end a large or infinite number of passes is to type <CTRL>C. However, be careful: type RESTART in response to DSR> (after the <CTRL>C), to return to the NIE> prompt and preserve the counters. If you type START in response to DSR> after the <CTRL>C, yon will destroy all summary statistics and counters. B-15 DIAGNOSTICS Table B-9 (Cont.) NIE Commands Command Description SAVE This command saves the contents of the node table. Both the PDP NIE and the VAX NIE save the contents internally, not to a disk file. Example: NIE> (A) ? SAV UNSAVE This command restores the contents of the node table from the internally saved table. Example: NIE> (A) 7 UNS SHOW COUNTERS Types the contents of the host node DEUNA internal counters. The counters are described elsewhere in this manual (see <REFERENCE>(CX??)) Example: NIE> (A) ? SH C SHOW MESSAGE Types the current message parameters for size, type, and copies. Example: NIE> (A)?SHM SHOW NODES Types the contents of the node table. Examplé: NIE> (A) ? SH N SUMMARY This command types the summary table. The NIE maintains the following information about nodes to which it has sent messages: RECEIVES NOT COMPLETE RECEIVES COMPLETE LENGTH ERRORS DATA COMPARE ERRORS BYTES COMPARED BYTES TRANSFERRED BYTES COMPARED represents data minus the loop-server protocol overhead:; therefore, it will be less than BYTES TRANSFERRED which represents data plus loop-server protocol overhead. Example: NIE> (A) ? SUMM B-16 DIAGNOSTICS Table B-9 (Cont.) NIE Commands Command Description EXIT Returns control to the diagnostic supervisor (either VDS or DRS). The DRS RESTART and CONTINUE commands cannot be used if the EXIT command was used. Used to leave the NIE. Example: NIE> (A) ? EXIT B-17 DIAGNOSTICS . - REPLY | FORWARD NI/ETHERNET < REPLY @ —— NI EXERCISER TARGET NODE NODE NOTE: NUMBERS INDICATE SEQUENCE IN WHICH MESSAGES ARE SENT MR-12465 Figure B-1 Loop Direct Messages Test Path REPLY NI/ETHERNET REPLY | FORWARD | FORWARD REPLY | FORWARD O, NI EXERCISER NODE NODE A NODE B LOOP ASSIST TARGET NOTE: NUMBERS INDICATE SEQUENCE IN WHICH MESSAGES ARE SENT MR 12466 Figure B-2 Transmit Assist Loopback Message Test Path B-18 DIAGNOSTICS REPLY FORWARD FORWARD NI/ETHERNET REPLY FORWARD REPLY () < NI EXERCISER NODE NODE A NODE B LOOP ASSIST TARGET NOTE: NUMBERS INDICATE SEQUENCE IN WHICH MESSAGES ARE SENT MR-12467 Figure B-3 REPLY Full Assist Loopback Message Test Path FORWARD | FORWARD | FORWARD | REPLY REPLY | FORWARD | FORWARD | FORWARD ] REPLY ® — OX NODE A g;(ERCISER NODE LOOP ASSIST NODE B TARGET NOTE: NUMBERS INDICATE SEQUENCE IN WHICH MESSAGES ARE SENT MR-12468 Figure B-4 Receive Assist Loopback Message Test Path B-19 DIAGNOSTICS B.8 ERRORS B.8.1 Error Messages The three levels of error messages that a diagnostic can issue are: general, basic, and extended. B.8.1.1 General General error messages are always typed unless the IER flag (XXPD+) is set. The format is as follows: NAME TYPE NUMBER ON UNIT NUMBER TST NUMBER PC:xxxxxx ERROR MESSAGE where: NAME = diagnostic name TYPE = error type (system fatal, device fatal, hard or soft) NUMBER , UNIT NUMBER TST NUMBER = error number : = 0 through n (n is last unit in PTABLE; that is, device information table) = test and subtest where error occurred PC:xxxxxx = address of error message call B.8.1.2 Basic Basic error messages contain some additional information about the error. These are always typed unless the IER or IBR flag (XXPD+) is set. These messages are typed after the associated general error message. B.8.1.3 Extended Extended error messages contain supplementary error information, such as register contents or good/bad data. These are always typed unless the IER, IBR, or IXR flag is set. These messages are typed after the associated general error message and any associated basic error messages. Examples: Lost packet error during LOOPPAIR testing: CVNIA HRD ERR 00028 ON UNIT 00 TST 001 SUB 000 PC:064442 TIMEOUT OCCURRED - LOOP MESSAGE TYPE - RECEIVE ASSIST FAILING TARGET NODE ADDRESS: AA-00-03-00-00-00 FAILING ASSIST NODE ADDRESS: AA-00-03-00-00-02 Lost packet error during PATTERN testing: CVNIA HRD ERR 00028 ON UNIT 00 TST 001 SUB 000 PC:63730 TIMEOUT OCCURRED BEFORE LOOPBACK REPLY FAILING NODE ADDRESS: AA-00-03-00-00-00 DATA PATTERN: ONES B-20 DIAGNOSTICS B.8.2 Other Error Messages Error Message Description ?ILL CMD-BAD SYNTAX A command with an illegal character was typed; retype the command. ?INCOMPLETE A required part of a command was omitted. NUMBER TOO BIG The numeric string value in the command line was larger than 65535 (177777 octal). ?BAD RADIX B.9 An 8 or 9 was typed when an octal string was expected. PDP-11 FUNCTIONAL DIAGNOSTIC (ZQNA??) The Field Functional Diagnostic Program (ZQNA??) tests the DELQAin Q-bus systems. It attempts to isolate faults to the following Field Replaceable Units (FRUs): » DELQA or DEQNA only e Cabinet kit * Fuse Refer to the XXDP+ User Manual for further information. NOTE Early versions of ZQNA?? only work with the DEQNA. ZQNAI? is the first version to be compatible with both DEQNA and DELQA. B.9.1 ZQNA?? Environment Tests are executed under the supervision of the Diagnostic Runtime Services (XXDP+), and controlled by an operator from a console (hard copy or video). B.9.2 ZQNA?? Test Descriptions The setup tests are described below. * * Basic operation tests: 1. Device self-test ‘2. Station address verification 3. BD code verification Internal Extended Loopback Test 4. Rx/Tx descriptor mechanism verification 5. Q-bus NXM test 6. Q-bus DMA interface (transmit) test 7. Q-bus DMA interface (receive) test 8. Internal extended loopback path stuck-at test 9 Extended memory test B-21 DIAGNOSTICS » Setup mode loopback tests 10. Setup mode loopback test * Internal loopback tests 11. Ethernet Address recognition test 12. Ethernet Address recognition mode test 13. Overflow status check » External loopback tests 14. External lopback path verification test ' 15. Carrier bit test 16. Sanity timer test B.9.3 ZQNA?? Error Reports A diagnostic can issue general and specific types of error messages. General error messages are always printed unless the IBE and/or IER flag is set. THe information shown is: - NAME = Diagnostic name ER_TYPE = Error type (all errors are hard errors) ER_NO = Error number UNIT_NO =0 TEST_NO = Test and subtest where error occurred PC_ADDR = Program counter contents. General error messages may include two sublevels: ‘e Basic error messages are printed after the associated general error message, and contain some additional information about the error. They are always printed unless one or more DRS error flags (IBE, IXE, IER) are set. * - Extended error messages are printed after the associated general error message and any associated basic error messages. Extended error messages contain additional error information, such as register contents or good/bad data. They are always printed unless either the IXE or IER flag (or both) is set. The format of a typical extended error message is shown in Figure B-2. Specific error messages are defined as needed. The following are possible error messages. Device fatal error messages: CSR REGISTER FAILED TO RESPOND NO INTERRUPT FROM DELQA Return status messages: TRANSMIT STATUS ERROR RECEIVE STATUS ERROR CSR STATUS ERROR B-22 DIAGNOSTICS B.10 MICROVAX DIAGNOSTIC MONITOR (MDM) MDM diagnostics are based on a functional testing approach where the coverage and to isolate DELQA faults down to the Field Replaceab objective is to gain the maximum le Unit (FRU). The recommended test strategy for identifying Field Replaceable Units (FRUs) follows. ' 1. Check the MDM confilguration listing for the correct DELQA details. 2. Run the Verify tests (FUNCTIONAL and EXERCISER) to check DELQA 3. Run the Field Service Functional tests and the utility tests if yet more essential to identify a faulty FRU. B.10.1 that are causing a fault is as functions. advanced and detailed fault-finding is MDM Environment MDM test commands require loopback connectors in the following cases. * Tests in functional mode and exerciser mode, including TEST CABLES — Bulkhead loopback connector (order number 12-22196-02) — Loopback connector attached to the DELQA board (order number (Utility 1) require one of: 70-21489-01) — Cable and Ethernet transceiver to provide external loopback. * TESTLOOP (Utility 2) and ECHOSERVER (Utility 3) enable each other. ' The Verify tests (FUNCTIONAL and EXERCISER) do not require two MicroVAX systems to send packets to any loopback connections. The operator is prompted whenever a loopback cable/connector is required. B.10.2 MDM Service Test Descriptions B.10.2.1 Verify Mode Tests MDM Verify mode is designed for use by untrained personnel. It prohibits operator intervention during testing. The sequence of tests is as follows. B-23 DIAGNOSTICS TEST1 Initialize controller Test bulkhead assembly fuse (If Normal mode) Invoke self-test ' Possible failure: nonexistent memory interrupt (NXM) TEST2 Send several setup packets Test BDL handling Test interrupt ability Test DMA TEST3 Loop packets in internal loopback mode Test address decoding logic TEST4 Loop packets back in internal extended loopback mode with different data types (zeros, ones, alternating, CCITT, and so on) Test internal RAM Tests long packet logic TESTS Loop packets in internal extended loopback mode Use chained descriptors and multiple buffers TEST6 The device is placed in different station address filtering modes and packets are looped through using internal loopback. Depending upon the mode and the station address, the packet may or may not be received. Test promiscuous filtering Test multicast filtering Test normal filtering TEST?7 (Normal mode only) Verify the operation of Extended setup packet by looping several back through the DELQA. Verify correct processing of the MOP element blocks B.10.2.2 Field Service Functional Tests Field service tests are designed for operators experienced in the testing and debugging of DIGITAL equipment. The operator may be asked to make minor physical alterations, including mounting an external loopback connector. This diagnostic has one field service test, FIELD_TEST, which uses external loopback to test the bulkhead loopback connector or the DELQA-cable-transceiver loop. (Internal loopback is tested in the MODE routines.) TEST1 Send packets using external loopback mode B.10.2.3 Field Service Exerciser ‘ The exerciser is designed to stress the MicroVAX system, creating a simulation of normal system executing several exercisers together, on the same MicroVAX system, it is expected operation. By that any marginality in the system design and operation can be isolated and corrected. The EXERCISER does not require the operator to modify the system. TEST1 Performs the setup test Internal loopback test | Internal extended loopback test B-24 DIAGNOSTICS Allocate and deallocate buffers B.10.3 MDM Utilities . The utilities are designed for the sophisticated troubleshooter, who needs to configure the system tests. These utilities, using already verified circuits, produce test scaffolds to track down failures panel, cables, or the terminals attached to the DELQA. Utility 1 for specific in the back TESTCABLES Repeatedly prompts the user to connect a loopback connector/cable at any point in the communications path in order to isolate an error to a particular segment. Utility 2 TESTLOOP Sends packets to an echo server and expects to receive those packets, error free, back over the Ethernet. Utility 3 ECHOSERVER Acts as an echo server for the TESTLOOP utility. Utility 4 NIE B-25 DIAGNOSTICS B.11 DEC/X11 EXERCISER The DEC/X11 Exerciser exercises one DELQA at maximum activity length packets (using either 18- or 22-bit physical address space). packet. rates. It transmits and receives randomThe DELQA transmits and receives the same One pass of the exerciser consists of 1000 iterations of transmitti ng a packet, receiving a packet, and comparing the contents of the transmit packet to the receive packet. Packet length is random for each iteration. The transmit and receive status words and CSR status are all checked for correct contents. The DELQA is dropped from further testing if any of the following occurs. * The DELQA does not reset properly. * The CSR and/or the receive and/or transmit status word(s) are * A hard error occurs. * A transmit and/or receive interrupt is not generated. * The transceiver is disconnected while in external loopback mode. in error. Internal extended loopback mode is the default mode of operation. You must set the sanity timer switches S4 to enable the timer before executing the sanity timer test. When sanity timer testing is complete, restore the switches to the positions they occupied before the test. B.11.1 Environment B It is assumed that, prior to running this exerciser, both the DELQA have been successfully run. The default parameters are: Device address: citizenship (CQ) test and field functional test 17774440 Interrupt Vector: 700 BR level: 4 Number of devices: 1 The hardware switch settings are: * Mode switch S3: OPEN to enable DEQNA-lock mode * Option switch S4: OPEN to enable the sanity timer at power up. To run the exerciser in external loopback, the DELQA under test must be connected to the transceiver, or the external loopback connector must be connected. The options for Software Register 1 (SR1) bits 0 and 1 are described in Table B-7. B-26 ' DIAGNOSTICS Table B-10 BIT 1 DELQA DEC/X11 Exerciser Software Register Bits BIT 0 Bit Value -0 0 Description Exerciser runs in internal extended loopback mode (default). The transceiver is not needed. 0 ' 1 Exerciser runs in external loopback mode. The transceiver or external loopback connector is required. 1 0 Print error messages. 1 1 Do not print error messages. B.11.2 Command Descriptions To set external loopback mode, type the following commands: MOD QNAAO 16 <RETURN> 1 <RETURN> To test a DELQA in the second slot (address 17774460), type the following commands after the exerciser has been loaded: ' MDD QNAAO 6 <RETURN> 174460 <L.INE FEED> 704 <RETURN> For additional information, refer to the DEC/X11 User Manual B-27 APPENDIX C PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS This appendix contains programming examples written in MACRO-11 for the DELQA. They are presented only as a general guide for the prospective user, and not as the best or only method of driving programs are not guaranteed or supported by Digital Equipment Corporation. the DELQA. These e Resetting the DELQA YR Data definitions RN Programming examples are provided for the following. Configuring the DELQA A simple interrupt handler Data transmission N Data reception C.1 Executing on-board diagnostics DATA DEFINITIONS The following data definitions are used throughout the sample programs. Note that all numbers are octal unless otherwise specified. C-1 PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS Table C-1 Data Definitions for Sample Programs bitl5 = 100000 bit14 = 040000 bitl3 = 020000 bit]12 = 010000 bitl1 = 004000 bit10 = 002000 bit09 = 001000 bit08 = 000400 bitQ7 = 000200 bit06 = 000100 bit05 = 000040 bit04 = 000020 bit03 = 000010 bit02 = 000004 bit01 = 000002 bit00 = 000001 The following sample programs refer to a DELQA installed at /O page base address 17774440, and the following lgatll: .woxd 174450 lgatlh: .word 174452 lgavar: .word 174454 N 174446 Rx BDL low-order Ng 174444 .word Rx BDL high-order Ns .word lgarlh: Tx BDL low-order Na lgarll: Tx BDL “e definitions of 1/O port registers apply throughout: Vector high-order Address C-2 address address address address Register bits bits bits bits PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS ; VAR bit definitions . 4 ms = bitl5 ; Mode oS = bitl4 ; Option rs = bit1l3 ; Request 53 = bitl2 H 52 = bitl1l ; sl = bit10 ; 174456 ; lgacsr: .word Select Switch to Self-test execute self-test status Control and Status Register r ; CSR Dbit definitions » ’ ri = bitl5 ; Receive Interrupt el = bit09 ; External Loopback il = bit08 xi = bit07 ; Internal Loopback ; Transmit Interrupt ie = bit06 ;/ Interrupt sr = bit01 ; Software Reset re = bit00 ; Receiver Enable Enable The following define the octal offsets and bit values of individual fields of a buffer descriptor: . 14 ;7 Flag word. ; Address Note : This field is reserved ] 0 fi bflw [ descriptor bits. bdes = 2 h = bit06 ; High 1 = bit07 ; Low byte s = bitl2 ; indicates that ; ...Setup packet byte only only e = bitl13 ; End c = bitl4 \% ; Chain = bitl5 ; invalid Valid bit = 0 ; descriptor of beginning termination this is a message address is not Vvalid . ’ ; 6 High bpah ; 16 = Low bpad ; Twos buffer Order buffer bits. address bits. 4 complement = Status address 2 = bsiz ; Order of buffe; size 1in words. 6 word #1. bswl = 10 unused = 100000 ; unused lastok = 0 ; this ;/ ...0or / ...with ; Bits defined for Receive status status word descriptor only no word contains segment of a the last... packet... errors. #1 . ’ esetup rblh = = bitl3 ; indicates ; ...External bit08!bit09!bitl1l0 ; high a looped back Loopback order C-3 3 Setup packet bits of... or... PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS ;7 ; Status bsw2 ; Bits rbll word = defined = ...receive byte length of packet #2. 12 for 377 Receive status word ; low ;7 ...byte #2 order 8 bits length C4 of of receive... packet PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.2 RESETTING THE DELQA The DELQA undergoes a software reset when CSR bit 1 is cleared from 1 to 0. § K o e ee H * S A routine to Software Reset the DELQA. * H ; * * R e e e e e e lgares: bis #sr,Q@lgacsr ; set bic #sr,@lgacsr ; clear rts pc ; return SR in SR CSR to to C-5 generate caller sw reset * PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.3 CONFIGURING THE DELQA The DELQA may be configured using SETUP packets for various modes of reception of Ethernet packets. The following routines demonstrate a method of assembling, transmitting and receiving a SETUP packet. : K o o it o o i it e - -S 1 o o o o o T " " =o o ot o o o * F * R Routine HER from the Ethernet R following list. HE All O 4 ; to enable address the DELQA to whose digits are accept destination any legal address is packet in the * * * octal. * * x 100-001-002-003-004-005 physical address #1 HE 100-002-002-003-004-005 physical address #2 * A 101-001-002-003-004-005 multicast address #1 * ;ox 101-002-002-003-004-005 multicast address #2 ;o 377-377-377-377-377-3717 broadcast address * .« Kk :- K o e e e e setupa: ee e e e e e #stpads, rl ; rl := addr mov #nstpad, r2 ; r2 := number := SETUP clr r3 ;7 r3 jsr rc, lgastp ; assemble, H rts Table tpads: nstpad of pC Ethernet ; the return of addresses. .byte 100,001,002,003,004,005 .byte 100,002,002,003,004,005 .byte 101,001,002,003,004,005 .byte 101,002,002,003,004,005 .byte 377,377,377,377,377,377 = <.-stpads>/6 control packet caller C-6 addr addrs transmit, SETUP to 2 . 2 o eo eo * SETUP of * * -~ mov * in list list byte receive... ; ; H ; Subprogram This the : LQASTP subprogram generates DELQA using broadcast) specify modes Note list supplied by control (e.g. timeout a and transmits of addresses the caller. multicast, packet to multicast, The caller may device filtering promiscuous) and also Sanity Timer values. that if the caller specifies addresses, this code pads the addresses until there are 14 less than Setup packet addresses in 14 Ethernet with the duplicate packet. Parameters K e e Rl <-~ table R2 <-- number R3 <-- control of 6 of byte filter addresses byte value addresses. table. #0 - Enable[l]/Disable[0] All #1 - Enable[l]/Disable[0] Promiscuous Mode. bits #2-3 - Specify three LEDs #4-6 e e - e Specify e which 408: Zero of the Multicast DELQA factor Timer e e e mov rl,-(sp) mov rz,-(sp) H mov r3,-(sp) ; mov r4,-(sp) ; mov r5, - (sp) ; of 4 times timeout —— — — — 1/4 second save registers rl,stplst / save addr r3,ctlbyt ; save control e * of callers addr table byte mov r2,numsad ; save number of addrs mowv #stpkt, r3 ; R3 := start of setup packet mow #2,r0 ; FOR 2 addr mowv #6,r5 ; FOR blocks 6 bytes in in in setup each BEGIN table address rl, adrbyt ; save addr byte pointer clrb (r3)+ ; zero first nov #7,r4 ; FOR ; - 7 byte in column in each block addrs (rl), (r3)+ H get dec r2 H decrement IF next addr byte address 40$ ; #6,rl ; sob rd4,30$ : END mov adrbyt, rl ; restore inc¢ rl ; skip to next addr byte mov numsad, r2 ; restore sob r5,20% ; <l> offset 160 to 177 octal <2>» offset 60 to 77 NOT skip ; octal. DO from tbl add ; DO count ble from DO BEGIN movb - pkt ' mowv bytes for ; mov unused to value. — ———— — — — —————— mov the Mode. off. ; 305: follows bit Sanity 20%: as bit bits 105 in defined switch lgastp: ; SETUP concerning information all a (physical, >i->£->(->(~>(->(-***************fl-***** ; *X—****X—******X—*****>(->(->(—>(->(->(->(->(- PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS END [ [ end of table THEN to in for addr addr for ] next ] addr table table table pointer in tbl entry count PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS mov #stpkt+60,rd ; r4d mov #10,r3. ; FOR x ; Insert addr = of 1 to lst 10 unused (octal) mov #0,100(r4) ; word[160+x] := 0 clr (rd)+ ; word [ 60+x] = 0 sob r3,70% ; END the next 7 addresses area words DO BEGIN ; 708 := at [ offset for 100 ] (octal) into packet. . 4 905%: nmov #stpkt+100,r3 ; r3 mov stplst,rl : goto start sub #7,r2 ; IF 7 ble 905 ; add #7*6,rl ; jump mov r2,numsad ; remember number of addrs sob r0,10% ; END mov ctlbyt, r0 ; restore ; The byte length seen ; plus the 7-bit control by the := addr of second addr block > [ of addrs to callers in the for be 8th addr tbl THEN DO in table addr left ] control DELQA must table byte 200 (octal) information. . ’ ; Two ; add #200,r0 ;7 0 mov r0,r4d ; save byte count ash #-1,r4 ; divide 2 cases <1> arise Even byte Use address ; and S (setup). 0dd byte Use V,E ; <2> ;7 NOTE : In the ; bits ; buffer ; the H length length and and logical determining H length ; of L SETUP and SETUP pkt word count V(valid), E(end of byte termination). by length as modulo L(low used they to the are with the Setup control packet transmit packets. calculate for the from Instead the purpose the of packet octal. #vlels,sttxdl+bdes ; beq 958 ; inc r4 ; incrmt bis #1,sttxdl+bdes ; set ; END ; assume IF odd an even length length setup pkt count for packet THEN DO BEGIN neg r4 ; get r4,sttxdl+bsiz ; save bic #ie,Q@lgacsr ; disable Transmit word addr mov and Descriptor the other information #1,r0 Receive Address determine mov the only are used solely to 200 message) packet. packets, not of the flags bit Validate for length packet. also Setup are and L bits ; 95%: S alignment H ' SETUP descriptor case H effective here ; ; := 2s descriptor complement it in TxBDL word bit count field interrupts buffer odd byte L via descriptor mnov #strxdl,@lgarll ; clr @lgarlh ; and validate it mov #sttxdl,@lgatll ; write Tx BDL clr addr @lgatlih ; validate it, start jsx pc,wtrixi ; Wait XI ; ...asserted CSR IE lists. write Rx BDL addr to the DELOA for C-8 and RI in CSR to the DELQA transmission to be PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS 4 RI and XI must bis r Verify be reset to 0’ by #rilxi,@lgacsr that there were no ; reset transmit nov sttxdl+bswl,rl bic #7°C<bitl5!bitl4> cmp #lastok, rl ; beq 100s H ; Transmit error br handling code XI := to and RI transmit zero them. to 0’ in CSR all status except word 1 LASTNOT... ...and ERROR/USED IF NOT transmit check should endstp ‘1’ errors. rl ; ; 4 writing ; be error for receive placed here. THEN DO error quit . 4 - 4 Verify 100$: that there were no receive mov strxdl+bswl,rl bic #7°C<bitl5!bitl4> cmp #lastok, rl ; beq endstp ; ; errors. rl ; := receive zero ; all status except word 1 LASTNOT... ...and ERROR/USED IF NOT receive error THEN DO quit . 4 . 4 Receive endstp: ’ error handling code should mov {sp)+,r5 ; mov (sp)+,r4 ; mceyv (sp)+,r3 ; moev (sp)+,x2 ; moev (sp)+,rl ; rts pc ; Define Buffer Descriptor be placed restore return here. callers to registers caller Lists. . r . ’ Transmit sttxdl: Buffer .word Descriptor List. unused .word .word stpkt .word r 4 .word unused .word unused Follow with an - ; flag ; reserved ; addr ; reserved word of assembled for descrptr SETUP packet ; status word #1 status word #2 bits packet length invalid descriptor. unused ; flag .word invalid ; INVALID .word 0,0 ; dummy Buffer addr ; .word Receive . for Descriptor word: descriptor buffer addr and word count List. . I4 strxdl: r Follow .word unused ; flag word .word Y% ; this descriptor .word recbuf ; addr of .word -rcbfln/2 ; 28 .word unused ; status word #1 .word unused ; status word #2 with an invalid comp SETUP of is VALID packet Rx buffer Rx buffer word descriptor. .word unused ; flag word .word invalid ; this descriptor C-9 is INVALID length PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS .word ; Reserve stpkt: 0,0 storage .blkb for ; dummy the assembled the Receive buffer SETUP addr and word count packet. 377 seven ‘ ; Reserve storage for recbuf: .blkb 377 rcbfln = .—recbuf buffer. .even ; Temporary work storage. ctlbyt: .word ; SETUP numsad: .word ; # adrbyt: .word ; addr ;7 ...callers address table ; address callers address stplst: .word control entries of in byte callers current of C-10 addr addr table byte in... table PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS H K e e e ; * ; * ; * e * * Subprogram WTRIXI * * ;7 * This ; * the ; K e e e e e e e * wtrixi: subprogram waits RI and XI to be asserted ; Wait program for rl, - (sp) RI in * * mov ; 10$: for CSR. and would XI need to a ; be set. timeout save Note rl that a real application check. ; REPEAT nov @lgacsr, rl ; rl bic #°C<rilxi>, rl H zero cmp ¥ri!xi,rl bne 103 ; UNTIL mov (sp)+,rl ; restore rts ol ; return := (CSR) all RI bits and XI ril to caller C-11 except are set RI to and ’1° XI PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.4 A SIMPLE INTERRUPT HANDLER H K e e e o e e ; ) HE ; G - A A - - -~ —— * * Subprogram LQAINT * * * HER This subprogram handles DELQA Transmit ;X interrupts. H K eo o o e lgaint: mov rl,-(sp) ; save work bit #xi,@lgacsr ; IF beq ck.rxi ; go ; ELSE movb #1, txdone and Receive * * it = = is register not check set for to Rx "1’ THEN DO Interrupt DO set TXDONE flag ~e ; XI X, ; Reset ; Must XI be "0’ by writing careful to to avoid "1’ Reset ; Must resetting @lgacsr, rl ; rl := #ri,rl ; RI := ; ... rl,@lgacsr ; movb #1, rxdone ; RI to 0’ careful by writing to avoid a it IF RI ; be avoid to ... #ri,@lqgacsr "1’ (CSR) to reset endint also. 17 ; beq RI 0 ; bit XI 117 to to ’'0’ writing... by writing... it is not set to "1’ THEN DO return ELSE DO set to RXDONE flag it. accidentally resetting XI also. mov @lgacsr, rl ; rl := (CSR) bic #xi, rl ; XI := 0 to avoid writing... H ... "1’ to it ; reset 7 ... mov endint: it. bic ; ; to mov mov ck.rxi: a accidentally mov rl,@lqgacsr (sp)+,rl H RI "1 restore return to to to 0’ by writing... it rl rti ; caller txdone: .byte ; storage for interrupt flag byte rxdone: .byte ; storage for interrupt flag byte C-12 PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.5 DATA TRANSMISSION The steps required to initiate a transmission are: * Write the 16 LOW-order bits of the Transmit BDL address to the I/O page low-order Tx BDL register. « Write the 6 HIGH-order bits of the Transmit BDL address to the I/O page high-order Tx BDL register. The completion of the transmission may be detected in one of two ways: » Polling the XI bit in the CSR with DELQA interrupts disabled. Enabling the DELQA to interrupt the host when transmission is complete. . Kk * A Routine to transmit HE detect transmission e e e e a packet and poll the CSR to * completion. * T ; * K e e e e txpktl: ; Wait ; would e bic e . - - — — — — —— — — ———— o —— — — — * #ielel,Q@lgacsr ; disable DELQA interrupts... bis #il,@lgacsr ; ; ... and disable mov #tx.bdl,@lgatll ; write addr clr @lgatlh ; start the a real ; REPEAT for XI need to a be set. timeout Note that loopback modes Internal Loopback of Tx BDL to DELQA transmission application program check. . r 108: ; Reset ; Must bit #xi,@lgacsr ; beq 108 ; UNTIL to it. XI 1’ bit = in CSR "1’ ’'0’ by writing to avoid accidentally mov @lgacsr,rl ;rl = (CSR) bic #ri, rl ; RI := "0’ to avoid Po... a 1" to it mov a XI XI careful be to test rl,@lgacsr ; resetting RI reset ;... ; Check ; occurred. the transmit status to verify XI to "1’ a that no Q' to writing... by writing... it transmit mov tx.bdl+bswl, rl ; rl bic #7°C<bitl5!bitl4> ; zero all except ; ...and ERROR/USED cmp flastok,rl ; IF NOT beq 208 ; ; := also. transmit errors status have word transmit error THEN continue ELSE DO . r ; Exrror 20%: handling rts code should be placed here. pc ; return to caller ’ ; Transmit tx.bhdl: Buffer Descriptor List. .word unused ; flag .word vie ; Valid .word tx.buf ; address word .word ~tx.len/2 ; 2s .word unused ; status word #1 .word unused ; status word #2 desc comp of and End transmit buffer C-13 1 LASTNOT... word of Msg buffer length DO . PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS ; Follow with an invalid descriptor. .word unused .word invalid r .word 0,0 [4 - ’ . . flag word this descriptor dummy buffer is INVALID address, - ’ ; Reserve storage for maximum tx.buf: . blkb 1514. tx.len = .~tx.buf length transmit 1514 buffer. (Decimal) C-14 bytes length ; * ; * Routine ; * interrupt ; * complete. ; * ; K e o o to transmit the host a packet to e e and wait signify i that for the the LI PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS DELQA to transmission is i txpkt?2 lgavec = 400 ; DELQA pri07 = 340 ; Processor bic #ielel,@lgacsr ; disable bis #il,@lgacsr ; disable host interrupt Status ...interrupt handler DELQA ’ . ’ . I'4 I4 . r - r We must VAR write without the address altering the of the Mode DELQA Select IPL = 7 Loopback Internal and Extended interrupt ... Loopback vector (bitl1l5) bit - interrupts... ...and External ...Internal vector of in to the that register. Wait mov @lgavar,rl ; rl bic #7C<ms>, rl ;: zero bis #lgavec, rl ; OR mov rl,@lgavar ; and write mov #lgaint, lgavec ; load mov ¥pri07, lgqavec+2 ; := (VAR) all in addr establish IPL ; init #ie,@lgacsr ; enable mov #tx.bdl,@lgatll ; write addr clr @lgatlh ; start the of would a need interrupt flag transmission. timeout TXDONE Note back of txdone the it TXDONE to that MS (bit to vector the vector of VAR with... interrupt handler handler interrupt DELQA 15) interrupt interrupt clrb for of ...address bis completion , except = 7 flag interrupts of Tx BDL to DELQA transmission be set a real to ’1’ to signify application program check. . r REPEAT 10$: tstb txdone ; beq 108 ; test UNTIL TXDONE TXDONE flag is set to ’1° . ’ ; . ’ Check the transmit status to verify that no transmit errors have occurred. » 4 mov tx.bdl+bswl, rl ; rl bic #7C<bitl5!bitl4> ; zero .« .and ERROR/USED cmp #lastok, rl H IF transmit beq 209 ; := transmit all NOT status except word error THEN continue ELSE DO ' . ’ . I4 Error 208 handling rts code should be pc placed H here. return to caller r - r Transmit tx.bdl: Buffer Descriptor List. .word unused ; flag .word vie H Valid .word tx.buf ; address .word -tx.len/2 ; 2s .word unused ; status word desc comp of and C-15 End transmit buffer word #1 1 LASTNOT... word of Msg buffer length DO PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS .word ; Follow with unused an ; status word #2 invalid descriptor. .word unused ; flag word .word invalid ; this descriptor .word 0,0 ; dummy buffer is INVALID address, . 4 ; Reserve storage for maximum length transmit tx.buf:; .blkb 1514. tx.len = ~tx.buf ; 1514 buffer. (Decimal) C-16 bytes length PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.6 DATA RECEPTION The steps required to initiate a reception are: * SetRE to 1 in CSR. This is not necessary if the DELQA is receiving a packet which was looped by Internal, External, Internal Extended, or Setup loopback modes. * Write the 16 LOW-order bits of the Receive BDL address to the I/O page low-order Rx BDL * Write the 6 HIGH-order bits of the Receive BDL address to the I/O page high-order Rx BDL register. The completion of the reception may be detected in one of two ways. * Polling the RI bit in the CSR with DELQA interrupts disabled. * Enabling the DELQA to interrupt the host when reception is complete. ; K o e e e e X A ; * * Routine to wait for ; * Polling is used to 7 * received. s * ; K e e e e e a packet from the determine when a Ethernet. packet has * been * * * rxpktl: e e bic ; Wait would e ffielel,@lgacsr bis ; e #rx.bdl,@lgarll clr @lgarlh for RI need to a be set. timeout Note e e e ; disable DELQA ; ...and loopback ; disable ; ...and ; initiate a real ; REPEAT #il!re,@lgacsr nmov e e * interrupts... modes Internal enable o Loopback... receiver ; write addr of Rx BDL to DELQA that a packet application reception program check. . r 10s$: ; Reset ; Must bit #ri,Q@lqgacsr ; beq 108 ; UNTIL to it. RI be to 0’ by writing careful to avoid a "1’ test RI bit accidentally in CSR 1’ resetting XI also. mov €lgacsr, rl ; rl := (CSR) #xi, rl ; XI := '0’ to avoid ;... a "l to it mov rl,@lgacsr ; reset ;... ; Check ; occurred, the receive status to verify RI a that to 'l no "0’ to by writing... writing... it receive errors have ' mov bic rx.bdl+bswl, rl ; $#°C<bitlS!bitl14> rl ; zero all except LASTNOT... ; ...and ERROR/USED cmp #lastok, rl ; IF beq 20% H ; Error = bic ' ; RI handling code should be := receive NOT receive status error word 1 THEN DO continue ELSE placed DO here. 20$: ; Calculate ; NOTE H : length This in assumes packet. bytes of that the Therefore, the received packet packet. received receive length C-17 is NOT as determined a loopback from register. PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS the receive actual status packet Additional words is 60 decimal required to handle := less than the length. code is mov rx.bdl+bswl, ril rl bic #°C<rblh>, rl zero mov rx.bdl+bsw2,r2 r2 bic #°C<rbll>, r2 zero add rl,r2 r2 := pkt add #60.,r2 r2 := rts pc return the loopback receive all := bits receive all bits to status word except RBLH status word except RBLL length correct cases. - 60 packet 1 2 decimal length caller » r » [4 Receive rx.obdl: ; Buffer Descriptor List. .word unused flag .word v Valid .word rx.buf address of .word -rx.len/2 2s word .word unused status word #1 .word unused status word #2 Follow with an invalid word descriptor comp receive buffer length of descriptor, .word unused r flag word .word invalid ; this descriptor .word 0,0 r . ) dummy buffer is INVALID address, . [4 - r Reserve storage for maximum length receive buffer. . r rx.buf: .blkb 1514. rx.len = .~rx.buf buffer 1514 (Decimal) C-18 bytes length PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS ; K o e o o ; * e o e ; * Routine ; * This ;7 * to e KX ; K o o o - o~ — - 2 T " —— — o — — — — * * to wait routine determine for a waits that packet for a a from Receive packet has the Ethernet. interrupt been * from the DELQA to * received. * * e e e e e -t = - - — o~ o lgavec = 400 ; DELQA pri07 = 340 ; Processor rxpkt2: bic #ielel,@lgacsr bis #ill!lre,@lgacsr ; We ; VAR must write ; register. without the address altering the of ...interrupt ; disable DELQA ; ...and loopback ; disable ; ...and enable DELQA Select o e o * vector of handler - IPL = 7 interrupts... modes Internal Loopback... receiver interrupt bit o interrupt Status ; the Mode host = = o o vector (bitl5) to in that MS (bit the . r mov @lgavar,rl ; rl bic #~C<ms>, rl ; zero bis #lgavec, rl ; OR mov rl,@lgavar ; and mov #lgaint, lgavec ; load ;! ...address of ; establish IPL mov #pri07,lgavec+2 := (VAR) all in except addr of write it back interrupt RXDONE to vector of handler handler rxdone ; init #ie,Q@lgacsr ; enable DELQA interrupts interrupt nov #rx.bdl,Q@lgarll ; write clr @lgarlh ; initiate of VAR with... interrupt clrb the vector the bis addr 15) interrupt Rx BDL = 7 flag to DELQA reception ’ ; Wait ; completion for the of ; would a need interrupt flag reception. timeout RXDONE Note that to be a real set to ’1l’ to application signify program check. - 4 _ 10$: ; tstb rxdone beq 108 the receive ' REPEAT ; ; test UNTIL RXDONE RXDONE flag is set to ’1’ . r ; Check ; occurred. status to verify that := mov rx.bdl+bswl, rl ; ¥l bic #°C<bitl5!bitl4> ; zero cmp #lastok, rl ; beq 208 ; ; ; ; Error no receive errors have : handling code should be receive all status except word 1 LASTNOT... ...and ERROR/USED IF NOT receive error THEN DO is NOT loopback as determined continue ELSE placed DO here. 205 ; Calculate ; NOTE : length This H packet. ; the bytes of that the Therefore, receive H actual ; Additional nmov in assumes status packet the received packet receive words packet. received length is 60 decimal required to handle less a than from the length. code is rx.bdl+bswl, rl ; rl := the receive C-19 loopback status word cases. 1 PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS bic #$7°C<rblh>, rl zero mov rx.bdl+bsw2, r2 r2 bic r2 #~C<rbll>, zero all := bits except RBLH receive status word except RBLL all bits add rl,r2 r2 := pkt add #60.,r2 r2 := correct rts pc return to word length - 60 packet 2 decimal length caller . r . ’ Receive rx.bdl: Buffer Descriptor List. .word unused ; flag .word v ; Valid .word rx.buf ; address of .word -rx.len/2 ; 2s word .word unused ; status word #1 .word unused ; status word #2 descriptor comp recqive buffer length of buffer - ’ . ’ Follow with an invalid descriptor. - [4 .word unused ; flag word .word invalid ; this descriptor .word 0,0 ;7 dummy buffer is INVALID address, . ’ . ’ Reserve storage for maximum length receive buffer. . r rx.buf: .blkb 1514, rx.len = .~rx.buf ; 1514 (Decimal) C-20 bytes length PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS C.7 EXECUTING ON-BOARD DIAGNOSTICS The DELQA firmware contains self-test code which may be executed by setting the RS (Request to execute Self-test) bit to 1 in the VAR. RS is cleared to 0 by the firmware when the self-test has completed execution and the self-test status bits are updated in the VAR. ; K e e e e e e e e e e e e e e e e ;ox * HE Routine F results. to start Self Test running and wait for the * * ;o ; * * K e e e e e e e e e e e * ’ stast: Dbis #rs,Q@lgavar ; request Self Test execution ’ ; Wait ; application program would for RS to be set to ’0’ again need a in ; 108 ; The Self Error test RS bit bne 10 ; UNTIL RS = Test C.8 status is stored mov @lgavar, rl bic #7°C<s3!s2!sl1>,rl has discovered a fault code pc a real ’0’/ VAR<12:10>. rl 208 handling/reporting rts in that REPEAT ; Test 208: Note #rs,@lgavar beqg ; VAR. check. bit Self ; the timeout := (VAR) ; clear ; ... ; Self Test in should ; all but status the DELQA. be placed return to Self Test... bits found no fault here. caller BUFFER DESCRIPTOR MANAGEMENT ALGORITHM The algorithm is described using pseudo code for the Transmit BDL, however this algorithm must be used for both Transmit and Receive BDLs. * The host device driver manages each transmit and receive BDL as a "ring" or contiguous list of descriptors. Each BDL must have at all times at least one invalid buffer descriptor to terminate the BDL. The host loads new BDs onto this BDL while the processing other BDs on the same BDL. * The host “locks" its own access to the BDLs by performing all host BD loading and unloading at the same Device Interrupt Priority Level (IPL). Thus host unloading never interrupts host loading. The host only specifies buffers in the receive BDL greater to or equal to 1518 bytes. * The host always sets the Buffer Descriptor’s VALID bit D<15> after the remaining descriptors fields are all set up. * The host always clears the Buffer Descriptor’s VALID bit D<15> after processing a completed descriptor within the interrupt service routine. C-21 PROGRAMMING EXAMPLES FOR PDP-11 SYSTEMS e BD RECOVERY ALGORITHM PART 1: LOAD RECOVERY After the host sets the VALID bit in a Buffer Descriptor (BD) with new data for the DELQA to transmit, it is recommended that the host use the following algorithm with the BD just issued to the DELQA: if (DELQA CSR bit XL = 1) then begin if (BD bit LASTNOT S<15> ="1) (BD ERROR S<14> = 0) address pointer of bit and then begin Load Transmit BDL Start BD into Address DELQA Register. end end « (* END OF LOAD BD ALGORITHM ¥*) BD RECOVERY ALGORITHM PART 2: UNLOAD RECOVERY In the host device driver’s interrupt service routine the following algorithm is highly recommended: WRITE ONE TO CLEAR DELQA CSR BIT XI start_bd unload: BD = NEXT BD if (BD VALID TO BE BIT RETURNED D<15>)) = BY DELQA ON TRANSMIT BDL 1) then begin if then (BD bit LASTNOT S<15> = 1) (BD ERROR S5<14> = 0) bit and begin if (DELQA CSR bit XL = 1) then begin if (BD bit LASTNOT S<15> = 1) bit ERROR S<14> = 0) and (BD then begin Load BD address into BDL pointer DELQA Start of Transmit Address Register. end end end else begin process to completed BD and "start bd unload:" which will on transmit the be returned then to from BDL. end end (* END OF UNLOAD BD ALGORITHM C-22 get *) loop back next the BD DELQA Index A Access point, 1-19 Address descriptor bits, 3-19 Addresses, 1-9, 3-11 diagnostics, C-21 Diagnostics, 1-19 Citizenship (CQ), 4-6, 4-8 DEC/X11 Exerciser, 4-22 Descriptions, 4-6 MicroVAX Diagnostic Monitor (MDM), 4-21 B Module, 4-21 Network, 4-20 Network Control Program, 4-20 Network Interconnect Exerciser (NIE), 4-21 PDP-11 Field Functional Diagnostic (ZQNA?), 421 Backplane positioning, 2-5 Backplane slot, 2-9 BDL, 3-15, 3-17 BDL SAR, 3-15 Boot, 3-28 Procedure, 44 Boot/Diagnostic Results, 4-8 ROM, 4-5 Self-test, 4-5 Boot ID Message, 4-16 ZQNA??, 4-21 Bootstrap DRS, B-1 Extended Primary (EPB), 4-5 Buffer address, 3-20 DRS commands, B-2 Buffer descriptor bit definitions, 3—18 Buffer Descriptor Lists, 3-17 DRS switches, B—2 Buffer length, 3-20 DRS flags, B-3 Buffers, 3-17 E C Errors, 3-26, 3-27 Cabinet kit, 2-11 Ethemnet address, 2-9 Codes, Ethernet connection, Environment, B-26 Ethernet, 1-9 1-1, 3-2 1-11 Command descriptions, B-27 Ethernet layers, Components, Executing on-board diagnostics, C-21 1-15 1-5 Configuration, 3-28 Configuring the DEL.QA, C-6 Connection to Ethernet, 2-13 Control, 3-4 Control procedures, 3-28 CSR, 3-4 F Field Replaceable Unit (FRU), 4-3 Field service exerciser, B-24 Field service functional tests, B-24 Flag word, 3-19 D Floating vector assignment, A—1 Floating vectors, A-1 Data, 3-2 : Functional description, 1-14 Data Definitions, C--1 Data encapsulation, 1-6 Fuses, 2-5 .Bulkhead assembly, 4-3 Data reception, C-17 Data structures, 3-16 Data transfer procedures, 3-24 Data transmission, C-13 DEC/X11 Exerciser, B-26 H Host, 1-15, 1-19, Definitions, 3—4, 3-11 Diagnostic, 3-28 Diagnostic acceptance tests, 2-12 INDEX-1 3-2, 3-16 INDEX I MOP Termination, 3-38 IEEE 802.2, - 1-19 N IEEE 802.3 Null LSAP, 4-20 Network Interconnect Exerciser, B-5 Information, 3-29 Inserting in system, 2-9 Inspection, 2-3 NIE, B-5 Installation requirements, 2—4 Installation tests, 2—12 Installing the module, 2-5 O Integrity, 1-18 Interfaces, 1-18 on-board diagnostics, C-21 Operating, 1-14 Operating environments, B-1 Internal Loopback, 3--37 Operating modes, 1-14 Interrupt Handler, C-12 Operations, Interrupt handling, 3--35 Order, 1-19 1-9 Order codes, L 1-9 Overview, 3-1 LANCE/SIA, Link-layer, 1-17 P 1-19 Load, 3-28 Packet, 3-24, 3-26 Loopback, 3-35 LSAP, Packets, 3-29 1-19 PDP-11 Diagnostic Runtime Services, B-1 PDP-11 Functional Diagnostic, B-21 M Physical description, Processor, Maintenance, Programming, 1-19 Corrective, 4-3 MicroVAX, 4-3 Protocol, PDP-11, 4-3 Q Philosophy, 4-3 Preventive, 4-3 Maintenance Operation Protocol (MOP), 4-11 Boot message, 4-15 Boot Messages, 4--17 Loopback protocol, 4-18 MDM service test descriptions, B-23 1-17 R Read/Clear Counters, 3-45 Read Boot Password, 3—41 Read Counters, 3-45 Read Last MOP Boot, 341 MEB, 3-37 Read System ID, 3-41 [-18, 3—-16 Receive, 3-2, 3-17, MicroPDP-11 systems, 2-12 B-23 Register, 34 Module, 1--14, 1-15, 1-18 Module support, 3-36 MOP, 1-19, 3-36 Request MOP Element Blocks, 3-37 MOP element type 0, 3-38 Reset, 3-34 MOP element type 2, 3-41 Register definitions, 3—4 Registers, 3-4 ID Message, 4—12 Reset System ID, 341 Resetting the DELQA, C-5 MOP element type 3, 3-41 MOP element type 6, 7, 3-41 MOP element types 4, 5, 3-41 MOP element types 8,9, 3-45 3-26, 3-27 Reception, 3-2 MicroVAX II systems, 2-13 MOP element type 1, 3-38 1-9 . 1-17 Read Ethernet address, 3-38 MDM utilities, B-25 MicroVAX Diagnostic Monitor, B4, 3-27 1-9, 1-18 QNA2, System ID, 4-12 Maiatenance Operations Protocol, 3-36 MDM, B-4, B-23 MDM environment, B-23 1-15, 3-25, 1-19 Q-bus addresses, QIC, Network support, 4-11 Request ID, 4-11 Memory, Q-bus, 1-9 1-16 S Sanity, 3-36 INDEX-2 INDEX SA ROM, 3-16 Scope, 2-1, 3-1, Self-test, 1-18 Service, 1-19 B-1 Unpacking, 2-3 Setup, 3-29 Setup packet buffer descriptor, 3-30 Setup packet format, 3-31 Specifications, 1-12 Start Address Registers, 3-15 Station Address Registers, 3-16 Status, 3—4 1-19 \% VAR, 3-11 Vector, 3-11 Vector Address Register, 3-11 Verify mode tests, B-23 Status words, 3-21 Switch settings, 2-6 System, U : System ID Message, 4-14 T W Word count, 3-20 Write Boot Password, 3-41 Write System 1D, 341 Testing, 2—13 Timer, 3-36 Timers, 1-18 Z Transfers, 3—4 Transmission, 3-2, 3-26 Transmit, 3-2, 3-17, 3-24, 3-25 ZQNA??, B-21 ZQNA?? environment, B-21 ZQNA?? error reports, B-22 ZQNAT?? test descriptions, B-21 INDEX-3
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies