Summary of Contents for DEC Digital Alpha VME 4/224
Page 1
Digital Alpha VME 4/224 and 4/288 Single-Board Computers User Guide and Technical Description Order Number: EK–DAVME–TD. B01 This manual describes the Digital Alpha VME 4 module. It provides configuration and installation procedures and describes the module’s built-in features, including the console code and diagnostics.
Page 2
First Printing, July 1996 Revised, September 1996 Printed in U.S.A. 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. FCC Notice: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules.
Page 4
3 Operating the Digital Alpha VME 4 Computer Controls and Indicators ......3–1 Console Mode ........3–3 3.2.1 Entering Console Mode .
Page 5
5 System Address Mapping CPU Address Mapping to PCI Space ....5–1 5.1.1 Cacheable Memory Space (0x000000000 to 0x0FFFFFFFF) ......5–4 Noncacheable Memory Space (0x100000000 to 5.1.2...
Page 6
Address Space of Control/Status Registers ... . . 6–8 Description of CSRs ......6–11 General Control Register .
Page 7
7.3.8 PCI Master Timeout ......7–7 7.3.9 Address Stepping in Configuration Cycles ..7–7 Address Space of Control/Status Registers .
Page 9
10.2.3 Interprocessor Communication ....10–14 10.2.3.1 Interprocessor Communication Registers ..10–14 Interprocessor Communication Global Switches . . . 10.2.3.2 10–14 Interprocessor Communication Module...
Page 10
11.2 Module Reset ........11–13 12 Console Primer 12.1 About the Console .
Preface Purpose of this Manual This manual describes the Digital Alpha VME 4 module. It provides configuration and installation procedures and describes the module’s built-in features, including the console code and diagnostics. Intended Audience This manual is for OEM system integrators who have extensive knowledge of single-board computers (SBCs).
Page 22
• Chapter 3, Operating the Digital Alpha VME 4 Computer, explains how to use the Digital Alpha VME 4 module’s controls and indicators, introduces console mode and environment variables, and provides pointers to information on booting operating systems and updating firmware. •...
Page 23
Conventions This section defines terminology, abbreviations, and other conventions used in this manual. Abbreviations • Register access The following list describes the register bit and field abbreviations: Bit/Field Abbreviation Description MBZ (must be zero) Bits and fields specified as MBZ must be zero. RO (read only) Bits and fields specified as RO can be read but not written.
Page 24
Caution Cautions indicate potential damage to equipment or loss of data. Data Field Size The term INTnn, where nn is one of 2, 4, 8, 16, 32, or 64, refers to a data field of nn contiguous NATURALLY ALIGNED bytes. For example, INT4 refers to a NATURALLY ALIGNED longword.
Page 25
Names and Symbols The following table lists typographical conventions used for names of various items throughout this manual. Items Example Bits sysBus<32:2> Commands boot command Command arguments address argument Command options -sb option Environment variables AUTO_ACTION Environment variable values HALT /usr/foo/bar Files and pathnames Pins...
Page 26
Syntax The following syntax elements are used throughout this manual. Do not type the syntax elements when entering information. Element Example Description [-file filename] The enclosed items are optional. - | + | = Choose one of two or more items. Select one of the items unless the items are optional.
Page 27
Operations that produce UNPREDICTABLE results might also produce exceptions. An occurrence specifed as UNPREDICTABLE might happen or not based on an arbitrary choice function. The choice function is subject to the same constraints as are UNPREDICTABLE results and, in particular, must not constitute a security hole.
Page 28
For More Information Document Order Number Company CY7C9640 Specification Cypress Semiconductor Corp. DECchip 21040–AA Specification EC–N0752–72 Digital Equipment Corp. DECchip 21064–AA Microprocessor Hardware EC–N0079–72 Digital Equipment Reference Manual Corp. DECchip 21072–AA Core Logic Chip Set EC–N0648–72 Digital Equipment Corp. Digital UNIX Installation Guide AA–PS2DD–TE Digital Equipment Corp.
Product Overview 1.1 Product Description The Digital Alpha VME 4/224 and 4/288 MHz single-board computers are based on the 21064A Alpha processor chip. The Digital Alpha VME 4/224 comes preconfigured with 512 KB cache, and the Digital Alpha VME 4/288 comes preconfigured with 2 MB cache.
1.3 Physical and Environmental Requirements The Digital Alpha VME 4 module requires a VME chassis with sufficient cooling. You must have at least 200 linear feet/minute (lfm) of airflow at an ambient temperature of not more than 40°C (104°F) across the processor heatsink. Table 1–2 shows the physical and environmental specifications for the Digital Alpha VME 4 module.
Table 1–3 Typical Peak Power Supply Current and Module Power Dissipation CPU Modules Amps Amps @ 12 V Amps Module Heat w/128 MB Memory @ 5 V (note 1) @ 12 V Dissipation Alpha VME 4/224 12.0 A 0.2 A 0.01 A 62 W Alpha VME 4/288...
Installation Procedures This chapter describes how to unpack, configure, install, and verify proper operation of the Digital Alpha VME 4 module. 2.1 Unpacking Your Digital Alpha VME 4 hardware kit contains the items listed in Table 2–1. Save the original packing material in case a factory return is necessary. Caution You must install the primary breakout module (54-24663-01) included in your hardware kit (see Figure 2–7).
Table 2–4 Additional Hardware Installation Items Item Supplier Part Number Serial line cable for console and auxiliary Digital BC16E– nn terminals IEEE 802.3 Twisted-pair transceiver to ThinWire Digital DETTR–AA IEEE 802.3 Twisted-pair transceiver to twisted- Digital DETTR–BB pair 10BASET loopback connector Digital 12-35619-01 (H4082-AA)
2.2 Installation To install the Digital Alpha VME 4 module, perform the following steps: 1. Select two adjacent slots in your VME backplane for the Digital Alpha VME 4 module. If you are installing a PMC I/O companion card, you will need to select three adjacent slots.
Figure 2–3 I/O Module Layout OPEN MLO-013238 Console serial port Auxiliary serial port Reset/halt switch Twisted pair Ethernet connector Connector to CPU module (on back of I/O module) Debug jumper (not installed for normal operation) Configuration switchpack PMC I/O companion card connector Ethernet Address ROM NVRAM/TOY clock 2–8 Installation Procedures...
2. Set the configuration switches on the I/O module as outlined in Table 2–5, Table 2–6, and Table 2–7. Also refer to Figure 2–3 for the configuration switch location. Table 2–5 Digital Alpha VME 4 Module Configuration Switches Switch Setting Function Closed Supplies +5 V from the VMEbus +5 V Standby signal to the time-...
Table 2–7 Supported Switch Settings for Digital Alpha VME 4 Modules in Other Than Slot 1 (Nonsystem Controller) Switch Setting Closed Open Closed Open These switches are required to be in the indicated positions (one opened, one closed) for reliable system operation during a VMEbus Reset.
Figure 2–4 Installing the Main Memory Modules MLO-013246 Memory bank 0 slots A and B Memory bank 1 slots A and B Orientation notches Memory connector Table 2–8 shows all possible valid memory configurations. Installation Procedures 2–11...
Table 2–8 Digital Alpha VME 4 Memory Configurations Memory Size Bank 0 Bank 0 Bank 1 Bank 1 (MB) Slot A Slot B Slot A Slot B 4. Cache memory DIMMs are installed on your Digital Alpha VME 4 module by Digital.
Figure 2–5 Cache Memory Modules MLO-013245 Orientation notch Cache memory connector 5. The J9 and J10 jumpers are preconfigured for your Digital Alpha VME 4 module by Digital. Table 2–9, Table 2–10, and Figure 2–2 show jumper settings and locations for informational purposes only. Table 2–9 J9 Cache Jumper Settings Size 512 KB...
Table 2–10 J10 Cache Jumper Settings Total Size Speed Disable cache Reserved 2 MB 12 ns Reserved 512 KB 15 ns Reserved Reserved Reserved Note If you are installing the PMC I/O companion card, proceed to Section 2.2.1 later in this chapter and complete the installation instructions before continuing on to step 6.
Figure 2–6 Installing the Digital Alpha VME 4 Module MLO-013236 Caution You must install the primary breakout module (54-24663-01) included in your hardware kit (see Figure 2–7). Applying power to the Digital Alpha VME 4 module WITHOUT that primary breakout module in place, or WITH the breakout module included with the AXPvme 160, 166, or 230 (P/N 54–22605–01) in place may damage your backplane, the Digital Alpha VME 4 module, or both.
Figure 2–7 Alpha VME 4 Primary Breakout Module Part Number: 54-24663-01 Part Number: 54-22605-01 MLO-013263 7. Set the SCSI termination jumper on the breakout module (refer to Figure 2–8). The SCSI bus must be terminated at each end. In most installations, the breakout module is one end of the SCSI bus and the far end of the SCSI ribbon cable is the other end of the SCSI bus.
component. The monitoring device must also be connected to the same ground reference as the Digital Alpha VME 4 module. The external watchdog reset signal is on pin C10 of the VMEbus J3 (P2) connector on the breakout module. This signal is low during normal operation and high during a watchdog timer reset (provided that pullup power is connected).
Figure 2–9 Connecting the SCSI Cable to the Primary Breakout Module MLO-013241 10. Install the primary breakout module (refer to Figure 2–10). Ensure that the breakout module is installed behind the slots occupied by the Digital Alpha VME 4 module (as shown). Caution Running the Digital Alpha VME 4 module when it is not in the same slots as the correct breakout module (refer to Figure 2–10) may damage your...
Figure 2–10 Installing the Primary Breakout Module MLO-013264 11. A secondary breakout module is included in the hardware kit, which you can connect to the primary breakout module. If you use the secondary breakout module, set the jumpers on that module as shown in Figure 2–11. Note An incremental clearance of at least 56.25 mm (2.25 inches) is required to install the secondary breakout module.
Figure 2–11 Secondary Breakout Module Jumpers Keyboard / Mouse Keyboard / Mouse Disabled Enabled MLO-013353 Mouse and keyboard connector Mouse and keyboard Y cable (17-04230-01) Keyboard and mouse jumper configurations Parallel port (see Appendix A for pinouts) 12. Connect the secondary breakout module to the primary breakout module as shown in Figure 2–12.
Figure 2–12 Connecting the Secondary Breakout Module to the Primary Breakout Module MLO-013266 Primary breakout module (54-24663-01) Secondary breakout module (54-24729-01) 13. Connect the network cable (if any) to the twisted-pair Ethernet connector. See Figure 2–13. Associated with the Ethernet connector are devices to convert from twisted pair to ThinWire (P/N DETTR–AA).
Figure 2–13 Connecting Network and Console Terminal Cables MLO-013352 Network Console Auxiliary 16. Insert blank panels into the vacant slots of the VME chassis. This improves airflow and reduces electromagnetic interference (EMI) radiation. 17. Your installation is complete and power can be turned on. 18.
2.2.1 Installing the PMC I/O Companion Card Figure 2–14 shows the layout of the PMC I/O companion card. Note To install the PMC I/O companion card with the Digital Alpha VME 4, you must have three adjacent slots available. Figure 2–14 PMC I/O Companion Card Layout 3.3 V 5.0 V MLO-013366...
Page 58
Signaling level jumper (jumper MUST be set to 5.0 V) PMC option slots VME connectors I/O-to-P2 signal connector Caution Perform the following steps gently to avoid damage to the modules. 1. Make sure the signaling-level jumper on the PMC I/O companion card is set for 5.0 V, as show in Figure 2–14.
Page 59
seating the Alpha VME module in the VME chassis. If you do not retract the screws completely: • The Alpha VME module might not seat properly. • The press-fit shoulder washer that holds the screw washer in place might become disengaged if you apply excessive pressure to the front panel.
Figure 2–16 Installing the PMC I/O Companion Card MLO-013411 9. Return to step 6 in Section 2.2 for instructions on installing the Digital Alpha VME 4 module into the VME chassis and setting up and installing the breakout modules. 2.3 Diagnostics When you turn on the power or toggle the Reset switch, the Digital Alpha VME 4 module runs its POST.
Table 2–11 SROM Test Numbers and Descriptions LED Display COM1 Meaning Nbus bus has been reset and SIO configured. COM1 port has been initialized (9600 baud). BIU_CTL register has been programmed according to the cache configuration jumpers, but Bcache is not on line.
Table 2–12 Console Code Test Letters and Names Test Letter Test Name SCSI control and status register (CSR) test Heartbeat timer test Interval timer test DS1386 nonvolatile RAM tests Auxiliary Universal Asynchronous Receiver/Transmitter (UART) test Ethernet address ROM test Ethernet internal and external loopback tests Watchdog timer test VME interface processor/VIC64 test After the POST completes and the system is idle, the console outputs a ‘‘rotating...
Page 64
If all SROM and flash ROM-based diagnostics pass, and an auto_action boot command has been set, the >>> console prompt appears on the console terminal and the dot matrix display will display a ‘‘rotating bar.’’ Note that a problem in the PMC I/O companion card that hangs the PCI bus signal lines could cause diagnostics to report problems throughout the I/O subsystem and in the PCI controller of the processor chip.
Table 2–13 Troubleshooting Symptom Corrective Action No LEDs lit, no console prompts. Check power. If 5 V power is out of specification, the module will be held in reset. Green LED on, blank dot matrix display, Check the seating of SROM (8-pin socketed and no console prompts device near PCI port).
2.5 Repair and Warranty Information 2.5.1 Return to Digital Hardware Maintenance The following products come with a 1 year Return to Digital warranty as described in the following sections: Table 2–14 Products With a 1 Year Return to Digital Warranty Product Order Number Alpha VME 4/224, SBC...
2.5.2.2 Return-to-Digital Process To return products under warranty, contact the Digital Customer Support Center in your particular geography. The Customer Support Center provides you with a Return Material Authorization (RMA#) and an address to which to send the defective material. You are responsible for sending the product to the address provided and for prepaying transportation costs associated with returning the product to the nearest Digital return center.
• Assume all risk of loss or damage to field replaceable units in transit to Digital. 2.5.2.6 Pre-Call Checklist To allow Digital to assist you quickly and efficiently, consult the following checklist before calling Digital or your authorized reseller: 1. Consult your product user documentation to assure that your system features are properly configured.
2.5.4 Field Replaceable Units and Order Numbers Table 2–15 lists the available field replacable units and their associated order numbers. Table 2–15 Field Replaceable Units and Order Numbers Saleable Number Order Number Description EBV14-*A 70-32976-04 224 MHz Single Board Computer — 2 board set, 512 KB cache 54-24729-01 VME Secondary Breakout Module...
Operating the Digital Alpha VME 4 Computer 3.1 Controls and Indicators Figure 3–1 shows the front panel controls and indicators of the Digital Alpha VME 4 module and Table 3–1 describes their function. Operating the Digital Alpha VME 4 Computer 3–1...
Figure 3–1 Controls and Indicators MLO-013262 Table 3–1 Controls and Indicators Control or Indicator Description Reset/Halt switch A switch that resets the Digital Alpha VME 4 system when pressed in the Reset (up) direction. When pressed in the Halt (down) direction this switch halts the operating system and the module enters console mode.
3.2 Console Mode Sections 3.2.1 and 3.2.2 explain how a Digital Alpha VME 4 system enters and exits console mode. 3.2.1 Entering Console Mode A Digital Alpha VME 4 module enters console mode automatically when the POST is finished. A Digital Alpha VME 4 module also enters console mode when: •...
Note Do not change the settings of the environment variables without understanding the implications of the changes. Table 3–2 lists the environment variables with descriptions. Table 3–2 Environment Variable Summary Variable Description AUTO_ACTION Defines the action of the console following an error, halt, or power-up.
Page 75
Table 3–2 (Cont.) Environment Variable Summary Variable Description D_EOP Specifies whether end-of-pass messages are to be displayed. D_GROUP Specifies the diagnostic group to be executed. D_HARDERR Defines the action that is to be taken following a hard error detection. D_OPER Specifies whether an operator is present.
Page 76
Table 3–2 (Cont.) Environment Variable Summary Variable Description EWA0_DEF_SINETADDR Specifies the initial value for EWA0_SINETADDR when the interface’s internal Internet database is initialized from BOOTP (EWA0_INET_INIT is set to BOOTP). EWA0_INET_INIT Specifies whether the interface’s internal Internet database is to be initialized from non-volatile RAM (NVRAM) or from a network server (by way of BOOTP).
Table 3–2 (Cont.) Environment Variable Summary Variable Description VME_A32_BASE Specifies the base address of VMEbus A32 space. VME_A32_SIZE Specifies the size of VMEbus A32 space. VME_A24_BASE Specifies the base address of VMEbus A24 space. VME_A24_SIZE Specifies the size of VMEbus A24 space. VME_A16_BASE Specifies the base address of VMEbus A16 space.
Diagnostics 4.1 Overview This chapter describes the Digital Alpha VME 4 power-on self-test (POST) diagnostics and additional ROM-based diagnostics (RBDs). Diagnostics for the Digital Alpha VME 4 system provide a fast, high coverage suite of POSTs to be invoked automatically at power-on and system reset. In addition to the POSTs, there are RBDs that provide additional testing and fault isolation.
Failures detected by the SROM-based tests are indicated by the test sequence halting and the LED display permanently showing the failing test number. A detailed dump of internal registers, program counter, expected and actual data is performed either through the serial port of the 21064 or through the console Universal Asynchronous Receiver/Transmitter (UART).
Output on LED Display Console Meaning – Nbus bus has been reset and system I/O (SIO) configured. COM1 port has been initialized (9600 baud). BIU_CTL register has been programmed according to the cache configuration jumpers, but Bcache was not enabled. Main memory controller has been configured according to the DIMM PD/ID bits.
POST Non-Volatile RAM Diagnostic POST Non-Volatile RAM Diagnostic The POST Non-Volatile RAM (NVRAM) diagnostic test verifies the module’s NVRAM. It performs a data integrity test, through power cycles, and a write /read/compare of specific NVRAM locations used for diagnostics. It also checks for uninitialized NVRAM by comparing the stored checksum with the calculated checksum.
POST Memory Diagnostic POST Memory Diagnostic The POST memory diagnostic test verifies system memory. It runs with ECC enabled. If the test detects a memory error that cannot be corrected with ECC, it logs the error in the error logging area of NVRAM. Description See also memtest in Chapter 13.
4.3.4 Console Diagnostic Test Descriptions This section provides details on the tests, which are available to the console, that you might run during system initialization testing or run from the console. 4–8 Diagnostics...
Heartbeat Timer Test Heartbeat Timer Test The heartbeat timer diagnostic test verifies that a heartbeat interrupt is generated at the correct interval (1024 Hz) and is properly dismissed by way of the module clear heartbeat register. This test checks the following logic: •...
Interval Timer Tests Interval Timer Tests The interval timer tests test the functionality of the 8254 interval timer chip and surrounding external circuitry, including latches, programmable-array logic (PAL) devices and printed circuit board module etch. Since all three interval timers of the 8254 chip have different external configurations, several tests are required for complete test coverage.
Page 89
Interval Timer Tests • See the Intel 8254 interval timer sheet for more details. Timer 2 Square Wave Test This test exercises timer 2. In the Digital Alpha VME 4 design, the gate input for timer 2 is always enabled and the clock input is connected to a 10 MHz (100 ns period) clock source.
Page 90
Interval Timer Tests This test essentially emulates the realtime time provider and slave scheme found in the Realtime Clock and Interval Device Driver functional specification. Note A VMEbus P2 loopback connector is required. See Figure 4–1 for a description of the loopback connections. Using the -lp option enables the timers indefinitely, making the module the master time provider for test #4.
Page 91
Interval Timer Tests This test enables only timer 0 as done in test 3 but does not use timer 1 or timer 2. The clock and gate come from the timers on the master Digital Alpha VME 4 module. Timer 0 interrupts when the gate is received and its count is decremented to 0.
Page 92
Interval Timer Tests • Due to hardware limitations on interrupt detection, the value programmed into timer 2 must be greater than 2. • See the Intel 8254 interval timer sheet for more details. Timer 1 Interrupt Test This test verifies the interrupt path of timer 1 (periodic RT timer). Timer 1 is programmed to mode 3, square wave mode.
Interval Timer Tests Figure 4–1 Loopback Descriptions for Interval Timer Test 3 and 4 Configuration for Interval Timer test 3 To make a loopback for test 3 connect pin C11 to C14. With a second jumper, connect C12 to C13. (VMEbus P2 Connector) row C 14 13...
DECchip 21040 Ethernet Controller Tests DECchip 21040 Ethernet Controller Tests These diagnostics verify that the internal and external loopback mechanisms are properly operating in the DECchip 21040 Ethernet controller chip as well as performing writes and reads to all configuration registers. Ethernet Internal Loopback Test The NI internal loopback test transmits Ethernet packets from the transmit ring in main memory, loops them back at the MAC layer and returns them to the...
Page 95
DECchip 21040 Ethernet Controller Tests DECchip 21040 PCI Configuration Register Dump This test reads the PCI configuration registers of the DECchip 21040 and prints them to the standard output. Console Command: nicsr_diag -t 1 DECchip 21040 Control/Status Register Dump This test reads the CSRs of the DECchip 21040 and prints them to the standard output.
DALLAS DS1386 RAMified Watchdog Timekeeper Tests DALLAS DS1386 RAMified Watchdog Timekeeper Tests The DS1386 consists of 32 KB of NVRAM and a realtime clock. This diagnostic tests each of these features on an individual basis. The diagnostic tests the DS1386, decoders, and printed circuit board module etch. The functionality of the watchdog feature is to be tested in a separate diagnostic.
Page 97
DALLAS DS1386 RAMified Watchdog Timekeeper Tests NVRAM Address-On-Address Test The NVRAM locations in the DS1386 are byte wide. Therefore, you do not have enough room to write the unique address into each corresponding location. However, this test writes the unique page offset to its corresponding location in NVRAM.
Page 98
DALLAS DS1386 RAMified Watchdog Timekeeper Tests Console Command: ds1386_diag -t 3 Command Options: • -dd: print detailed test information on each pass. • -nqv: test every location in NVRAM, default is to test 1 location per 256 byte page. Miscellaneous Note This diagnostic is an extended test.
Page 99
DALLAS DS1386 RAMified Watchdog Timekeeper Tests Console Command: ds1386_diag -t 4 Command Option: -dd: print detailed test information on each pass. Miscellaneous Note This diagnostic is an extended test. TOY Clock Time Advancement Test This diagnostic is a power-on diagnostic. It verifies that the TOY clock registers are advancing with clock ticks.
Local Area Network Address ROM Test Local Area Network Address ROM Test This diagnostic tests the integrity of the Local Area Network (LAN) address ROM, decoders, and printed circuit board module etch. The LAN address ROM contains the Ethernet station address of the module. LAN Address ROM Dump This diagnostic dumps the contents of the 32 octets within the LAN address ROM to the screen.
NCR 53C810 PCI-SCSI I/O Processor Tests NCR 53C810 PCI-SCSI I/O Processor Tests These tests check the NCR810 SCSI controller chip. The tests do not require a drive to be attached to the SCSI port and are meant to be a power-on check of the NCR810 chip’s low-level modes through programmed I/O issued from the CPU.
Page 103
NCR 53C810 PCI-SCSI I/O Processor Tests NCR810 Command/Status Register Test This test writes, reads, and compares all of the NCR810 command/status registers that are feasible to test. When the test finishes, it returns the registers to their initialized values. Console Command: ncr810_diag -t 3 Command Option: -lp: loop on write/read if the -lp option is specified.
Page 104
NCR 53C810 PCI-SCSI I/O Processor Tests NCR810 Interrupt Test This test verifies the interrupt connection between the NCR810 and the SIO controller to the CPU. A general purpose timer is enabled which generates an interrupt that is dispatched to the CPU through the SIO controller. The console PALcode dispatches to the NCR810_diag ISR, which clears the interrupt.
Watchdog Timer Interrupt Test Watchdog Timer Interrupt Test This test verifies the functionality of the watchdog timeout by its ability to handle a user programmed watchdog reset. This test checks the following logic: • Watchdog timer • Some reset logic •...
VME Interface Tests VME Interface Tests These tests verify the VME interface logic on the Digital Alpha VME 4 module, including the VME interface processor (VIP), the Cypress VIC064, the scatter/gather RAMs, and some of the interrupt paths from the VME corner to the Alpha processor.
Page 107
VME Interface Tests VME Scatter-Gather RAM Test This test verifies the integrity of the scatter/gather RAM by performing write, read, and verify of various patterns to the entire scatter/gather RAM. Console Command: vip_diag -t 4 Command Option: -dd: print detailed test information on each pass. Diagnostics 4–29...
4.4 Initialization Sequence The diagnostic test sequence for a full power-on reset and initialization is shown in Figures 4–3, 4–4, and 4–5. Figure 4–3 SROM Test Flows Power-on/Reset Notes Display Serial ROM Initialize 21064 and 21072 chipset Initialize SIO chip Serial ROM Serial ROM Console serial port initialization...
Figure 4–4 Console POST Flows Notes Display Console test SCSI Test Console test Heartbeat Test Console test Interval Timer Tests Time-of-Year Tests Console test Console test Serial Com Port Tests Ethernet ROM Tests Console test Ethernet Internal Loopback Console test Tests ML013409 Diagnostics 4–31...
Figure 4–5 Console POST Flows Notes Display Console test Watchdog Test Console test VIP-VIC Tests Console Prompt Console test ML013410 4–32 Diagnostics...
System Address Mapping This chapter describes the mapping of the 34-bit processor physical address space into memory and I/O space addresses. It also includes the translations of the processor-initiated address into a PCI address, and PCI-initiated addresses into physical memory addresses. 5.1 CPU Address Mapping to PCI Space The 34-bit physical system bus (sysBus) address space is composed of the following:...
Table 5–1 System Bus Address Space Description sysAdr sysAdr <33:32> <31:28> Address Space Description xxxx Cacheable memory Accessed by the CPU instruction stream space (Istream) or data stream (Dstream). Accessed by direct memory access (DMA). 0xxx Noncacheable Accessed by the CPU (Istream or memory space Dstream).
Table 5–1 (Cont.) System Bus Address Space Description sysAdr sysAdr <33:32> <31:28> Address Space Description xxxx PCI sparse memory 128 MB addressable PCI space. The space lower address bits are used to determine byte masks and transaction length information. The 4 GB space is reduced to a 128 MB sparse space.
5.1.4 DECchip 21071-DA CSR Space (0x1A0000000 to 0x1AFFFFFFF) The DECchip 21071-DA responds to all accesses in this space. Section 7.4 specifies the registers and associated register addresses. Section 7.5 contains the register descriptions. 5.1.5 PCI Interrupt Acknowledge/Special Cycle Space (0x1B0000000 to 0x1BFFFFFFF) A read access to this space causes an interrupt acknowledge cycle on the PCI.
Figure 5–2 shows the translation of system bus addresses to PCI bus I/O addresses. Table 5–2 shows how the byte enable bits and PCI ad<2:0> are generated from bits sysBus<6:3>. Figure 5–2 PCI Sparse I/O Space Address Translation 29 28 23 22 08 07 05 04 03 02...
5.1.7 PCI Configuration Space (0x1E0000000 to 0x1FFFFFFFF) A read or write access to this space causes a configuration read or write cycle on the PCI. There are two classes of targets: devices on the primary PCI bus and devices on the secondary PCI buses that are accessed through PCI-to-PCI bridge chips.
Peripherals that integrate multiple functional units (for example, SCSI, Ethernet, and so on) can provide configuration spaces for each function. Bits ad<10:8>, which are taken from bits sysAdr<15:13>, can be decoded by the peripheral to select one of eight functional units. Bits <31:11>...
5.1.8 PCI Sparse Memory Space (0x200000000 to 0x2FFFFFFFF) Access to PCI sparse memory space can have byte, word, tribyte, longword, or quadword granularity. The Alpha architecture does not provide byte, word, or tribyte granularity, which the PCI requires. To provide this granularity, the byte enable and byte length information is encoded in the lower address bits of this space (ad<7:3>).
One bit pair of cpucwmask<1:0>, <3:2>, <5:4>, and <7:6> must have a value of 01 (binary). The other fields must be 00. The location of the 01 field indicates whether the data reference is byte, word, tribyte, or longword (respectively). Similarly, if a quadword is written to the PCI, software must execute an STQ instruction to the corresponding address.
• On write transactions, ad<4:2> is generated from cpucwmask<7:0>. If the lower longword is to be written, ad<2> is 0; if the lower longword is masked out and the upper longword is to be written, ad<2> is 1. The number of longwords written on the PCI is directly obtained from cpucwmask<7:0>.
Figure 5–4 PCI Target Window Compare Scheme 20 19 13 12 PCI Address Peripheral Page Number Offset Compare PCI Base Register PCI Mask (Determines ) n 0000000 Register LJ-03955.AI When an address match occurs with a PCI target window, the 21071-DA translates the 32-bit PCI address ad<31:0>...
Figure 5–5 Scatter-Gather Map Page Table Entry in Memory Page Address <32:13> Valid LJ03956A.AI The size of the scatter-gather map table is determined by the size of the PCI target window as defined by the PCI mask register (see Table 5–8). Because the scatter-gather map is located in system memory, bit sysBus<33>...
Figure 5–6 Scatter-Gather Map Translation of PCI Bus Address to System Bus Address 13 12 05 04 PCI Address Peripheral Page Number Offset Compare sysBus Base Address T_Base 0000 (Translated Base Register) Scatter-Gather Map Address Driven on sysBus Scatter-Gather Entry Scatter-Gather Map in Main Memory...
Cache and Memory Subsystem The cache and memory subsystem serves as the memory controller and the system bus (sysBus) controller. Figure 6–1 Cache and Memory Subsystem Cache and Memory Controller Main Memory Data Path System Bus (sysBus) Bcache 4 chips ML013274 The components of the cache and memory subsystem are distributed between the DECchip 21071-CA and the DECchip 21071-BA.
6.1 System Bus Interface The CPU, DECchip 21071-CA, PCI host bridge, cache, and memory communicate with each other through the system bus. The system bus is the processor pin bus with additional signals for DMA transaction control, arbitration, and cache control.
6.2 Bcache Control Figure 6–4 shows the implementation of a cache subsystem with a 2 MB cache. Figure 6–4 Cache Subsystem for a 2 MB Cache Bcache SIMMs (2 MB) AlphaPC64.10 FCT162244ET 21071-DA System Address Cache Cache/Memory Control Control Tag, Tag V, D, P 21071-CA Arrays CPU Cache Control...
6.3.1 Memory Organization A bank of memory is one width of DRAMs, 128 bits, implemented with DIMMs. The DECchip 21071-CA supports one or two banks of DRAM where each bank consists of two DIMMs of the same size and speed. The 21071-CA supports 16 MB to 128 MB of main memory.
6.3.2 Memory Address Generation Each bank has a programmable base address and size. The incoming physical address is compared with the memory ranges of all banks. The number of bits that are compared depends on the size of the bank. The programmable base address of a bank set must be aligned to the natural size boundary.
6.3.7 Presence Detect Logic The DECchip 21071-CA supports loading the status of 32 presence detect bits from the memory configuration registers 0 to 3 and the memory identification register after reset. 6.4 Error Handling During CPU and DMA transactions, the DECchip 21071-CA detects the following errors: •...
Table 6–1 identifies all banks; only Bank 0 and 1 are used. Table 6–1 CSR Register Addresses for DECchip 21071-CA Address Register Name 1 8000 0000 General control register 1 8000 0020 Reserved 1 8000 0040 Error and diagnostic status register 1 8000 0060 Tag enable register 1 8000 0080...
Page 142
Table 6–1 (Cont.) CSR Register Addresses for DECchip 21071-CA Address Register Name 1 8000 0A40 Bank 2 configuration register 1 8000 0A60 Bank 3 configuration register 1 8000 0A80 Bank 4 configuration register 1 8000 0AA0 Bank 5 configuration register 1 8000 0AC0 Bank 6 configuration register 1 8000 0AE0...
6.6 Description of CSRs 6.6.1 General Control Register The general control register contains status information that affects the memory, cache, and system bus controllers. The register is shown in Figure 6–6 and is defined in Table 6–2. Figure 6–6 General Control Register: 0x180000000 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 BC_BADAP BC_FRCP...
Page 144
Table 6–2 General Control Register Field Name Type Description <15:14> Reserved — <13> BC_BADAP RW, 0 Bcache force bad address parity. When set, the tag address parity is loaded as an invalid address, independent of the value of the BC_ FRCTAG bit.
Table 6–2 (Cont.) General Control Register Field Name Type Description <5> BC_EN RW, 0 Bcache enable. When clear, the L2 cache is disabled and the cache state machine does not probe the cache. <4> WIDEMEM Wide memory size. Reads the status of the widemem input pin.
Figure 6–7 Error and Diagnostic Status Register: 0x180000020 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 WRPEND LDXLLOCK PASS 2 CREQCAUSE VICCAUSE DMACAUSE NXMERR BC_TCPERR BC_TAPERR LOSTERR LJ-04179.AI Table 6–3 Error and Diagnostic Status Register Field Name Type...
Page 147
Table 6–3 (Cont.) Error and Diagnostic Status Register Field Name Type Description <8:6> CREQCAUSE Cycle request caused error. Indicates the DMA or CPU cycle request type that caused the error. Contains a copy of either the cpucreq or iocmd signal lines, depending on DMACAUSE<4>.
6.6.3 Tag Enable Register The tag enable register (TAGEN), shown in Figure 6–8, indicates which bits of the cache tag are compared to sysadr<33:5>: • If a bit is 1, the bits in sysadr<33:5> and systag<31:17> are compared. Bits <15:1> in the register represent systag<31:17>. •...
Figure 6–9 Error Low Address Register: 0x180000080 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 ERR_LADR<20:5> LJ-04181.AI 6.6.5 Error High Address Register When an error sets the BC_TAPERR, BC_TCPERR, or NXMERR bit in the error and diagnostic status register, the error high address register latches the high- order bits of the sysadr<33:21>...
Figure 6–11 LD x _L Low Address Register: 0x1800000C0 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 LDXL_LARD<20:5> LJ-04183.AI 6.6.7 LD x _L High Address Register The LDx_L high address register stores the high-order bits of the latched address. The register is shown in Figure 6–12.
Figure 6–15 Bank 0 Base Address Register: 0x180000800 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 S0_BASEADR<33:23> LJ-04188.AI The base address of each bank must begin on a naturally aligned boundary. For example, for a bank with 2 addresses, the n least significant bits must be zero.
Table 6–6 Configuration Register for Banks 0 and 1 Field Name Type Description <15:9> Reserved — <8:6> S0_COLSEL Column address selection. Indicates the number of valid column bits expected at the DRAMs. Used with memory width information to generate row or column addresses.
Table 6–6 (Cont.) Configuration Register for Banks 0 and 1 Field Name Type Description <4:1> S0_SIZE Bank size in Mbytes. Indicates the size of the bank and any subbanks. The size defines which bits are used in comparing the base address with the physical address (PA) and for generating the subset.
The description of the parameters also indicates the corresponding DRAM parameter. Bank 0’s timing register A is shown in Figure 6–17 and is defined in Table 6–7. Figure 6–17 Bank Set 0 Timing Register A: 0x180000C00 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 S0_RDLYCOL S0_RDLYROW S0_COLHOLD...
Table 6–7 (Cont.) Timing Register A Field Name Type Description <6:4> S0_COLSETUP RW, 0 Column address setup (t ) to first CAS assertion and write enable setup (t ) to CAS assertion. Used to determine first b0_cas<1:0>_l assertion after column address and b<1:0>_cas<1:0>_l assertion after b0_l<3:0>_we_l.
Table 6–8 Timing Register B Field Name Type Description <15:14> Reserved — <13:11> S0_WHOLD0COL RW, 1 Write hold time from column address. Used only for the first data when starting in page mode. Write data is valid with the column address and is held valid for S8_WHOLD0COL + 2 cycles after the column address.
Table 6–10 (Cont.) Refresh Timing Register Field Name Type Description <0> DISREF RW, 0 Disable refresh. Refresh operations are not performed when DISREF is set. The other timings in this register must not change while this bit is set. FORCE_REF overrides DISREF.
6.7.1 Memory Read Buffer The memory read buffer stores data from memory before the data is sent to the CPU or returned to DMA in the DMA read buffer. Each chip stores 4 longwords of data and the corresponding ECC bits in the memory read buffer. 6.7.2 I/O Read Buffer and Merge Buffer On CPU-initiated memory transactions, the buffer acts as the merge buffer.
6.7.5 Memory Write Buffer The memory write buffer has four entries for each chip. Each entry has four longwords and corresponding ECC bits. The system bus interface loads the buffer and the memory controller unloads it (both are 21071-CA functions). 6.7.6 Error Handling The data path chips perform ECC on DMA transactions.
PCI Host Bridge The 21071-DA chip is the bridge between the PCI local bus and the system bus, as shown in Figure 7–1. Figure 7–1 PCI Host Bridge EpiData bus 32 Bits PCI Host Bridge (21071-DA) PCI BUS 32 Bits ML013280 As a PCI host bridge, the 21071-DA chip contains all control functions of the bridge and some data path functions.
7.1.2 Buffering System Bus Transactions Write-and-run I/O write transactions use a 1-entry write buffer. One I/O read transaction is initiated by the CPU. The I/O read buffer is a temporary buffer and is invalidated at the end of each I/O read transaction. To function correctly, the CPU must be configured in wrap mode.
7.2.3 Burst Length and Prefetching for PCI bus On write transactions directed toward main memory, the PCI host bridge supports a maximum burst length of 16 longwords. For the maximum burst, the write transaction must start on an even cache-line boundary with PCI ad<5> = 0 and PCI ad<4:2>...
7.3.3 Data Coherency The two agents that must synchronize their data transfers are the CPU and any PCI device. The PCI host bridge maintains data coherency and synchronization between the agents using the following mechanisms: • Maintains strict ordering of DMA write transactions initiated on the PCI bus. •...
7.3.4 Interrupts When the PCI host bridge has errors to report, it uses the int_hw0 signal to interrupt the CPU. It does not distinguish between hard and soft errors when asserting the interrupt signal. The PCI host bridge does not provide an interval timer interrupt so this functionality must be provided to the CPU by some other device in the system.
7.3.7 Retry Timeout The PCI host bridge implements a timeout mechanism to terminate CPU-initiated transactions that do not complete on the PCI bus because of too many disconnects or retries. When it initiates a CPU transaction on the PCI bus, the PCI host bridge counts the number of times it is retried or disconnected.
Table 7–1 (Cont.) DECchip 21071-DA CSR Addresses Address Register Name 1 A000 03E0 TLB 7 data register 1 A000 0400 Translation buffer invalidate all register (TBIA) 7.5 Description of CSRs The CSRs are 16 bits wide and are addressed on cache-line boundaries. Write transactions to read-only registers could result in UNPREDICTABLE behavior;...
Page 175
Table 7–2 (Cont.) Diagnostic Control/Status Register Field Name Type Description <17:16> RW, 0 Disable read bypass. Controls the order of PCI- BYP<1:0> initiated memory read transactions with respect to PCI-initiated memory write transactions. The three modes are shown in the following table. Value Mode Description...
Page 176
Table 7–2 (Cont.) Diagnostic Control/Status Register Field Name Type Description <14> IPTL RWC, 0 Invalidate page table lookup. This bit is set when the longword scatter-gather map entry being accessed is invalid. Bits ad<31:0> are logged in the PCI error address register, if it is not already locked.
Table 7–2 (Cont.) Diagnostic Control/Status Register Field Name Type Description <6> LOST RWC, 0 Lost error. This bit is set by a 21071-DA error condition when the address register for that error is locked because of a previous error. In this case, error information for the second error is lost.
Figure 7–4 PCI Error Address Register: 0x1A0000020 31 30 08 07 06 05 04 03 02 01 00 PCI_ERR<31:0> LJ-04197.AI Table 7–3 PCI Error Address Register Field Name Type Description <31:0> PCI_ERR<31:0> PCI error. Stores the address sent out on the PCI bus ad<1:0>...
Table 7–4 System Bus Error Address Register Field Name Type Description <31:3> SYS_ERR<33:5> System bus error address. Stores the address sent on system bus sysadr<33:5> as a result of a DMA transaction. The field logs errors indicated by the MERR, UMRD, or CMRD bits in the DCSR, and is valid only when one of these bits is set.
Table 7–5 Translated Base Registers 1 and 2 Field Name Type Description <31:9> T_BASE<32:10> Translated base. If scatter-gather mapping is disabled, T_BASE specifies the base CPU address of the translated PCI address for the PCI target window. If scatter-gather mapping is enabled, T_BASE specifies the base CPU address for the scatter-gather map table for the PCI target window.
Table 7–6 (Cont.) PCI Base Registers 1 and 2 Field Name Type Description <19> WENB RW, 0 Window enable. When clear, the PCI target window is disabled and does not respond to PCI-initiated transfers. When set, the PCI target window is enabled and responds to PCI-initiated transfers that hit in the address range of the target window.
Table 7–7 PCI Mask Registers 1 and 2 Field Name Type Description <31:20> PCI_MASK<31:20> PCI mask. This field specifies the size of the PCI target window; it is also used in the PCI-to-CPU address translation. <19:0> Reserved — 7.5.8 Host Address Extension Register 0 The host address extension register is hardcoded to zero.
Table 7–8 Host Address Extension Register 1 Field Name Type Description <31:27> EADDR<4:0> RW, 0 Extension address. This field is used as the five high-order PCI address bits (ad<31:27>) for CPU-initiated transactions to PCI memory. <26:0> Reserved — 7.5.10 Host Address Extension Register 2 The host address extension register 2 generates ad<31:24>...
7.5.11 PCI Master Latency Timer Register The PCI master latency timer register defines the latency timer period. Define a nonzero value during system configuration. The register is shown in Figure 7–12 and is defined in Table 7–10. Figure 7–12 PCI Master Latency Timer Register: 0x1A00001E0 31 30 08 07 06 05 04 03 02 01 00 PMLC<7:0>...
Figure 7–13 TLB Tag Registers 0 Through 7: 0x1A0000200 to 0x1A00002E0 31 30 08 07 06 05 04 03 02 01 00 PCI_PAGE<31:13> EVAL LJ-04205.AI Table 7–11 TLB Tag Registers 0 Through 7 Field Name Type Description <31:13> PCI_PAGE<31:13> PCI page. Specifies the PCI page address (tag) for the translated CPU page address in the associated TLB data register.
Table 7–12 TLB Data Registers 0 Through 7 Field Name Type Description <31:21> Reserved — <20:1> CPU_PAGE<32:13> RO CPU page. Bits <32:13> of the translated CPU address can be read or written through this field. <0> Reserved — 7.5.14 Translation Buffer Invalidate All Register: 0x1A0000400 The translation buffer invalidate all register (TBIA) is write-only.
PCI bus The PCI bus is the base for the I/O subsystem. All I/O components are connected by the 32-bit, 5 V only, PCI implementation and are called PCI devices. Figure 8–1 shows a block diagram of the I/O subsystem. PCI bus 8–1...
Figure 8–1 PCI Bus and Interfaces to the I/O Subsystem To the sysBus (CPU, Memory, Bcache) PCI Host Bridge (21071-DA) PCI to Nbus Nbus Bridge PMC Adapter Module PCI to PCI Bridge PCI Bus 32 Bits 21052 Option: PCI (PMC) PCI-VME SCSI Ethernet...
8.1 Ethernet Controller The physical connection to the network is the Ethernet twisted-pair connector located on the front panel of the module. The Ethernet controller is based on the DECchip 21040-AA. This chip is a PCI- based Ethernet solution that keeps processor intervention in LAN control to a minimum.
8.1.4 Ethernet Address The Ethernet ID address for the Digital Alpha VME 4 assembly is stored in an on-board SROM, a 20-pin socketed PLCC. The Ethernet controller’s ENET ROM register (CSR9) can read the SROM. Each read access initiates 8-bit serial read cycles from the ENET ROM.
8.2.2 SCSI ID The default SCSI ID is 7. You set the SCSI ID by writing the SCSI controller’s SCID register (offset 0x04). To do this, use the following console command: >>> set PKA0_HOST_ID n For example, if you enter set PKA0_HOST_ID 4, the embedded SCSI controller assumes a SCSI ID of 4.
8.3 PCI I/O Companion Card You can connect an optional PMC I/O companion card to the I/O module. This card contains a 21052 PCI-to-PCI bridge chip and two sets of PCI mezzanine card (PMC) connectors that allow you to add one double-width or two single-width PCI PMC modules.
Nbus The Nbus is a special case of an ISA bus. The Nbus is a simple 8-bit data, 16-bit address, nonmultiplexed resource bus that interfaces with the PCI bus through the Super I/O (SIO) chip (Intel 82378IB). The interface translates PCI I/O references to the Nbus into simple read and write cycles to the resources hanging off the Nbus lines, as shown in Figure 9–1.
• NVRAM • Interval timers The bottom 1 MB in PCI sparse memory space is mapped onto the Nbus for use by the flash ROM. These address regions are negatively decoded and are not affected by any other PCI device that is programmed to positively decode PCI addresses. The CPU can access the Nbus devices in I/O space on a byte-by-byte basis.
9.1.1.2 ISA Controller Recovery Timer Register The ISA controller recovery timer register (offset +4Ch) is one of two bytewide registers used as the Nbus control word. The I/O recovery mechanism in the SIO chip is used to add recovery delay between the I/O cycles originating in the PCI bus and directed to the Nbus.
Figure 9–3 Module Display Control Register 08 07 06 05 04 03 02 01 00 MOD_DISP_REG : Don't Care Brightness Control Display Character ML013287 The display character is stored in bits <6:0>. The most significant bit (bit <7>) can be set to increase the brightness of the display. Figure 9–4 shows the character set of the display.
This read-only register contains information relating to module revision, CPU speed, and SCSI options. The information read from this register is hardwired on the module and is unaffected by resets. A write of 1 to bit 0 of this register clears the Periodic Real-Time timer.
Table 9–2 (Cont.) Module Configuration Register Field Name Type Description <6:5> CPU ID Determine the speed of the CPU according to the following table: <6:5> Definition 224 MHz 288 MHz Reserved Reserved 9.2.3 Interrupt and Interrupt Mask Registers 1, 2, 3, 4 See Chapter 11 for descriptions of these registers.
These registers are read-only. The values are loaded from memory DIMMs, identified in Table 2–8 at power-up. A complete description of the memory DIMMs is in Chapter 6. Table 9–3 DIMM Identification DIMM J# DRAM# Bank# Memory Configuration Register DRAM0 refers to the DIMM array containing memory data lines 0 - 63. DRAM1 refers to the DIMM array containing memory data lines 64 - 127.
Table 9–5 ID Bits ID Bit Description <6,4,2,0> ID 0 Used to define memory DIMM configuration (see Table 9–6). <7,5,3,17> ID 1 Sets the refresh mode, according to the following values: Normal Self refresh Table 9–6 Memory DIMM Configuration Bit Description x72 Parity x72 ECC...
These registers are read/pseudowritable registers located at a fixed address on Nbus in PCI I/O address space. Register 1 is located in Nbus offset 0x80A but is also aliased in two longwords at 0x80E and 0x82E. The register contains four reset status bits and one diagnostics in progress (DIP) bit. In reset reason register 3, at 0x82E, any write operation sets <4:0>.
Table 9–7 (Cont.) Reset Reason Registers Field Name Type Description <2> VME reset 0x80A : R/W to If set, it indicates that the module received clear a VME reset. 0x80E : Read Only 82E : R/W to set <3> Power-up 0x80A : R/W to If set, all other bits are ignored.
Table 9–8 (Cont.) Module Control Register Field Name Type Description <5> Watchdog Timer When 0, watchdog timer expiration has no Reset Enable effect. If set, and the DIP bit of the reset reason register is cleared, a watchdog timer expiration generates a hardware reset of the module.
Table 9–9 Bcache Size and Speed Decode <2> <1> <0> Bcache Size Bcache Speed Disables Bcache 512 KB 15 ns 2 MB 12 ns Reserved for future use Reserved for future use Reserved for future use Reserved for future use Reserved for future use 9.3 ROM The system has two ROM structures:...
Figure 9–11 Flash ROM Layout/Addressing Start of Console Firmware <00> ROM_BASE_ADDR : 512 KB Start of User Flash 512 KB <01> 1 MB <10> 1 MB <11> 1 MB ML013291 The flash ROM can be rewritten. To protect the flash ROM from unauthorized /accidental updates, a hardware switch must be closed before write operations are enabled.
Channel B is uncommitted and uninitialized by system firmware. For more information about these serial lines, see Chapter 2. 9.4.2 Super I/O Register Address Space CPU Address: 0x1C0003E00 - 0x1C0007FE0 Nbus offset: 0x01F0 - 0x03FF Table 9–10 lists the base address values for the serial port and parallel port controller.
9.6.1 TOY Clock Timekeeping Registers CPU Address: 0x1C0100000 - 0x1C01FFFE0 Nbus offset: 0x8000 - 0xFFFF Time information is contained in eight 8-bit read/write registers offset from the base address: Table 9–13 TOY Clock Timekeeping Registers Field Register Description <0:3> TOY_BASE_ADDR+00 0.00 sec <4:7>...
Field Register Description <7> TOY_BASE_ADDR+09 Enable Oscillator bit. Enables/disables the TOY clock chip’s internal oscillator. Use it to conserve the lithium source during transport, storage, or during any long period of non-use. When clear, the TOY clock operates. When set, the internal oscillator is disabled (factory default).
Table 9–14 (Cont.) TOY Clock Command Register Field Name Type Description <2> Not used <3> Watchdog Timer Enable <4> Pulse/Level O/P <5> Watchdog Timer Assertion <6> Watchdog Timer Select <7> Transfer Enable Enables/disables changes to the values in the timekeeping registers. When clear, the current value in the readable registers is frozen even though the internal timing continues.
Table 9–15 Timer Interface Registers Register Field TMR_BASE_ADDR = 4000 Description <7:0> TMR_BASE_ADDR+00 Timer#0 Register TMR_BASE_ADDR+04 Timer#1 Register TMR_BASE_ADDR+08 Timer#2 Register TMR_BASE_ADDR+0C Control Register TMR_BASE_ADDR+10 Interrupt Status Register TMR_BASE_ADDR+14 Interrupt Status Register To program the timer device for initialization or during normal operation, the control byte (TMR_BASE_ADDR + 0x0C) is written.
Table 9–16 Interval Timing Control Register Field Name Type Description <7:6> Specifies which timer is to be configured by this control byte. When set to ‘‘11’’, the control byte is a status read command, not a Timer Control operation. As a status read command, the control byte can be used to freeze the state of the timers for read- back.
Figure 9–14 82C54 Timer Data Access Data Rd/Wr (byte) Mode 01 or 11? Mode 11? "Signal Done" Data Rd/Wr (byte) ML013296 9.7.2 Timer Registers Each timer element is a 16-bit synchronous down counter. The device asserts or pulses the corresponding output pin when a counter reaches a 0 count. The following timers are identical in function but are fully independent: •...
interrupt request (IRQ). The IRQ can be dismissed by an access to the timer interrupt status register. 9.7.3 Timer Modes Of the six timer modes of which the 82C54 chip is capable, Digital Alpha VME 4 implements the following counting modes: Table 9–17 Timer Modes Mode Description...
Page 228
The timer output is initially high. When the timer value is written, the output is driven low. The counter decrements to 0 where it drives the output high. • Mode 1 - Hardware Retriggerable One-Shot This mode allows a value to be written to the timer that can be used when a hardware trigger has been received.
9.7.4 Interrupts The expiration of timers #0 and #2 are recorded in a timer status register. The asserted state of either or both of the timer status bits can be enabled to assert an interrupt request. The active low outputs of timer #1 and #2 are routed to P2 connector pins. The active low clock and gate inputs of timer #0 are also tied to P2 connector pins.
The Timer IRQ line is asserted for a low-to-high transition of a timer’s output pin when that timer is enabled in the CSR to cause an interrupt. The interrupt is held asserted until the timer status summary register is read (clear on read). The corresponding timer expiration status bit is always set by a low-to-high on the timer output but this only causes the IRQ line to be asserted if the corresponding interrupt enable bit is set.
Table 9–18 (Cont.) Timer Interrupt Status Register Field Name Type Description <1> Timer #2 status When clear, the IRQ is dismissed. The bit is cleared at the end of the read cycle of a read operation originating from TMR_BASE_ ADDR+14. A read operation from TMR_BASE_ ADDR+10 has no effect.
(general-purpose registers (GPRs), and so forth) at the time the watchdog timer expires before the full hardware reset. Watchdog timer operation is controlled by four registers - three in the DS1386 chip and a single enable bit in the module control register. Operation of the watchdog timer must be configured in the TOY clock command register (TOY_ BASE_ADDR+0x0B) and enabled in the module control register (MOD_CNTRL_ REG).
Table 9–19 Watchdog Timer TOY Clock Command Register Field Name Type Description <0> Not used <1> Watchdog timer flag <2> Not used <3> Watchdog timer enable <4> Pulse/level O/P <5> Watchdog timer assertion <6> Watchdog timer select <7> Transfer enable See description of TOY clock.
9.9 Nonvolatile RAM Digital Alpha VME 4 offers just under 32 KB of battery backed-up on-board SRAM. The RAM is provided by the DS1386 chip and is held nonvolatile by the built-in lithium battery source. The memory is read/write accessible in Nbus space. In effect, the DS1386 chip (TOY clock, watchdog timer, and NVRAM) contains 32 KB read/write byte elements.
VME Interface The VME interface handles the VMEbus and its interactions with the PCI bus. This chapter describes the functions of the VME interface, which are controlled by the operating system. See the documentation for the operating system for instructions on configuring the VME interface. The VME interface consists of the DC7407 chip, the VIC64 chip, the CY7C964 bus interfaces, and the connectors to the VMEbus on the backplane.
The VME interface serves the following purposes: • As a VMEbus master, it controls PCI bus-to-VMEbus, or outbound, transactions • As a VMEbus slave, it handles VMEbus-to-PCI bus, or inbound, transactions and interprocessor communication. • It can be configured as the VME system controller, handling functions such as arbitration of bus ownership.
Figure 10–2 shows a mapping of Window_1 and Window_2. Figure 10–2 Mapping Window_1 and Window_2 512 MB Window_1 64 MB Window_2 S/G 255 S/G 0 ML013378 Each page can be mapped to any one of the three VMEbus address spaces: A32, A24, or A16.
Figure 10–3 Mapping Pages From PCI to VME 4 GB Mem Space Scatter-Gather Mapping 2048 x 256K 512 MB Pages ML013377 10.1.1 Outbound Scatter-Gather Mapping The outbound scatter-gather entries control and map all master accesses from Digital Alpha VME 4 to the VMEbus. Figure 10–4 shows an outbound scatter- gather entry and how the VMEbus address is formed from the VME page and the PCI address.
10.1.1.1 Address Modifier The scatter-gather entry has two fields that provide the address modifier used in the master VMEbus transfer. The address size (ASIZ) and function code (FC) fields map directly to the VME interface controller’s input for ASIZ and FC. Table 10–1 shows the use of these fields.
The two accesses are handled as an indivisible sequence on the VMEbus by acquiring VMEbus ownership for the current access and holding it until another master operation is done by the processor. This is designed for doing atomic VMEbus RMW cycles. The VIC interface configuration register must be programmed with VIC_ ICR<7:5>...
Because the VMEbus specification prohibits crossing any 256/2 KB boundaries, any DMA must split into a number of bus transfers. At the interval between these transfers, the VME interface can be programmed to wait a period of time before arbitrating again for the VMEbus and proceeding. This delay gives slave accesses to the Digital Alpha VME 4 the opportunity to complete during a block- mode transfer.
• Source address • Destination address The mapping of PCI memory to VMEbus addresses is handled as usual through the scatter-gather mapping mechanism, however, the address modifiers in the mapping entry are automatically transformed to generate the block-mode version of the specified address modifier code (except for user-defined address modifier codes).
Incoming slave accesses are mapped and controlled by two incoming scatter- gather maps: • For A32 accesses, a Digital Alpha VME 4 system occupies up to 128 MB of memory mapped by 16384 scatter-gather entries, each mapping an 8 KB page.
VIF_ABR (VME_IF_BASE + 184) defines the base address of the Alpha VME 4 system in each VMEbus address space as shown in Figures 10–7 and 10–8. Figure 10–7 Address Decoding VME A32 Addr VME A24 Addr VME A16 Addr = Region of address which can be compared to form base address ML013341 Associated with each of the top three comparison bytes is a bit mask to control the number of bits that are checked during a VMEbus address match.
Table 10–3 (Cont.) VME Address Field Name Description <13:12> Page Specifies how a Digital Alpha VME 4 system checks the scatter- Monitor gather entry for access, according to the following values: No monitoring of the page. Each time the page is accessed, Monitor 1 is incremented. Each time the page is accessed, Monitor 2 is incremented.
Table 10–5 VME Interface Processor Page Monitor CSR Field Name Description <2:0> Monitor 1 Number of access to page. <3> Overflow Overflow for Monitor 1. When a counter overflows, it sets a bit in VIP_BESR register. If enabled by the VIP_ICR register, the overflow causes VIP_LIRQ<0>...
Because the global switches are meant to be issued to several modules, the slave targets of a global switch access do not acknowledge the cycle, but rather the master driving the write data transfer acknowledgements (DTACKs) the cycle itself (the VIF_ABR should be set to generate a self-access by the global-switch write).
Page 250
Table 10–6 (Cont.) Interprocessor Communication Register Map Through VIF_ <byte 1>+ Register Interprocessor communication registers (ICR) 8-bit general-purpose register 3 8-bit general-purpose register 4 VIC revision register Read-only. Provides VIC64 hardware revision. VIC status register Read-only. Provides VIC64 status revision. Intercommunication register status Bits <4:0>...
Table 10–6 (Cont.) Interprocessor Communication Register Map Through VIF_ <byte 1>+ Register Interprocessor communication module switches (ICMS) Write-only. A write to an odd address sets the switch; a Write to an even address clears that switch. Clear module switch 0 Set module switch 0 Clear module switch 1 Set module switch 1...
10.3.1 Arbitrating the VMEbus 10.3.1.1 Requesting the VMEbus Three arbitration schemes — priority, round-robin, and single-level — are achieved by a combination of setting the arbiter/requester configuration register (VIC_ABR, offset 0xB0) and using the VMEbus request lines. See Table 10–7 and Figure 10–11.
Table 10–7 Arbiter/Requester Configuration Register Field Name Description <3:0> Fairness The fairness timeout field accepts the following values: timeout Fair request is not enabled. Non-zero Number of 2-microsecond intervals that make up the fairness timeout period. Fairness timeout period is not enabled, that is, the Digital Alpha VME 4 system can only request the VMEbus if no other requests for the VMEbus are being asserted.
In addition to these four bus release modes, the scatter-gather RMW bit (RMC) can be used to force Digital Alpha VME 4 to hold ownership of the VMEbus for two accesses before releasing in the programmed ROR, RWD, or ROC fashion. See Section 10.1.2 for details.
Table 10–8 (Cont.) VIC Release Control Register Field Name Description <7:6> Release protocol Specifies the release mode, according to the following values: Release-on request (ROR) the Digital Alpha VME 4 system keeps ownership until another device requests the bus. Release-when-done (RWD) the Digital Alpha VME 4 system releases the bus immediately after completion of the cycles for which it requested ownership.
10.3.3.2 VMEbus Transfer Timers When enabled, the VME interface starts the transfer timer whenever the data phase of a cycle is signaled (DSx* asserting). If the timer expires before the data cycle is acknowledged or completes in error, the VME interface, as the system controller, flags a VMEbus error (asserting BERR*).
Table 10–9 (Cont.) VMEbus Transfer Timeout Register Field Name Description <7:5> VMEbus Specifies the timeout, according to the following values: timeout 4 microseconds 16 microseconds 32 microseconds 128 microseconds 256 microseconds 512 microseconds Disabled 10.3.3.3 Local Bus Transfer Timer When enabled, the local bus transfer timer starts whenever a data phase is initiated on the local bus (the bus between the VIC64 and DC7407).
Figure 10–15 VMEbus Interrupt Vector Base Registers Don't Care Status/ID Vector ML013346 A local interrupt can be generated to the CPU by the VME interface when it detects a VMEbus IACK cycle for a VME interrupt that is pending. This interrupt can be used to inform system software that the VMEbus interrupt request has been serviced.
10.4 Byte Swapping The Digital Alpha VME 4 interface provides hardware to support byte-swapping for transfers to and from the VMEbus. Four modes of swapping are supported. The swap mode is defined for each inbound or outbound page by the related scatter-gather entry.
Table 10–13 PCI BE# to Local A1,0 and SIZ1,0 Translation for Various Swap Modes Mode 0 Mode 3 No Swap Mode 1 Mode 2 Longword A1,0 Byte Swap Word Swap Swap <3:0> SIZ1,0 A1,0 SIZ1,0 A1,0 SIZ1,0 A1,0 SIZ1,0 1111 No cycle No cycle No cycle...
The windows defined by these registers must not overlap each other. The following sections describe these registers and the region of address space they define. Table 10–15 Access to PCI Memory Addresses Configuration Address Register Space Purpose VME_CSR_BASE 00000810 This register gives access to the DC7407, VIC64, and CY7C964 registers when the base address of a window in PCI memory space is written into the register.
The scatter-gather RAM is an 32K n longword page in memory space. The top 27 bits are read/write; the remaining 5 bits are MBZ. Scatter-gather RAM is not initialized by hardware and starts up in a random state. Firmware must initialize this area to a default state before using the VME subsystem.
Page 267
DMASICR Bits 2-0 Local IPL setting for end of DMA interrupt. Bits 6-3 Reserved, must read as 1s. Bit 7 End of DMA interrupt mask bit. LICR1-7 Bits 2-0 Local IPL setting for LIRQ interrupt line. Bit 3 Indicates voltage level at LIRQ pin. Bit 4 Autovector enable.
Page 268
Bits 7-2 User defined. Combines with ICMS switch number to provide vector. LIVBR Bits 1-0 Read only. Bits 7-2 User defined. Combines with LIRQ number to provide vector. EGIVBR Bits 1-0 Read only. Bits 7-2 User defined. Combines with fixed codes to provide vector. ICFSR Bits 3-0 Module switches.
Page 269
Bit 0 Set to include VMEbus acquisition time in local bus timeout. Bit 1 When VME interface is used as system controller, this bit is set to indicate arbitration timeout. Bits 4-2 Recommended timeout period for local bus is 64 µs (011). Bits 7-5 Recommended timeout period for VMEbus is 128 µs (100).
Page 270
Bits 6,5 VMEbus request level. Bit 7 Arbitration mode. AMSR Defines response top and generation of user-defined address modifier codes. BESR All 8 bits are flags set by the VIC after status conditions that must be cleared by the processor. DMASR Bit 0 Block transfer in progress.
Bits 3-0 Interleave period. Recommend a value of 0xF. Bit 4 Data direction bit: 0=write, 1=read. Bit 5 MOVEM enable. Recommend this be clear. Bit 6 BLT with local DMA enable. Bit 7 Module based DMA transfer enable. BTLR1-0 Registers for block transfer length for local DMA block mode transfers. System reset register.
Page 272
Table 10–16 (Cont.) VME_IF_BASE + VIC_BTDR Block transfer definition register VIC_ICR Interface configuration register VIC_ARCR Arbiter/requester configuration register VIC_AMSR Address modifier source register VIC_BESR Bus error status register VIC_DMASR DMA status register VIC_SS0CR0 Slave select 0/control register 0 The D32 enable must be set in VIC_SS0CR0. VIC_SS0CR1 Slave select 0/control register 1 VIC_SS1CR0...
10.7 VME Subsystem Restrictions (as of 03-Jun-94) This section describes limitations on the use of the VME subsystem due to outstanding hardware constraints. The intention is that these will be eliminated as new revision hardware components become available. This section will be updated as restrictions change.
System Interrupts 11.1 System Interrupts Figure 11–1 shows a schematic overview of the interrupt structure in the Digital Alpha VME 4 system. Most interrupts are routed through the VIC64 chip, the Digital Alpha VME 4 interrupt controller, and the SIO chip. The 21064A receives six interrupts (CPU_IRQ[5:0]).
Each interrupt can be individually masked by setting the appropriate bit in the interrupt/mask register. Interrupts generated by the VMEbus subsystem also need to be masked in the VIC64 chip (see Section 11.1.2). An interrupt is disabled by writing a 1 to the desired position in the interrupt/mask register. An interrupt is enabled by writing a 0.
11.1.2.1 Basic Operation The VIC64 chip handles 19 interrupt sources. Each of these can be individually programmed to any of the seven IPLs in the controller’s interrupt control registers (ICRs). The generic form of the ICR is shown in Figure 11–6. Figure 11–6 Generic ICR 08 07 06 03 02 01 00...
Table 11–2 VIC64 Chip Interrupt Ranking RANK Interrupt Description CSRs DC7407 Error VIC_LICR7, VIC_LIVBR VME Interface Status/Error VIC_EGICR, VIC_EGIVBR not used not used not used not used DC7407 Status VIC_LICR2, VIC_LIVBR not used Interprocessor Communications VIC_ICGSICR, VIC_ICGSIVBR Global Switch Interprocessor Communications VIC_ICMSICR, VIC_ICMSIVBR Module Switch VMEbus IRQ7*...
Each of the these interrupt sources has an associated ICR that allows the interrupt to be programmed with an individual IPL or to be disabled. Figure 11–7 shows these ICRs. Figure 11–7 Device ICRs 08 07 06 03 02 01 00 Don't Care Disable Encoded Priority 1-7...
• DMA completion • VMEbus IACK cycle in response to a VMEbus interrupt generated by an Alpha VME system These conditions are divided into three cases. The first ‘‘case’’ is DMA completion. There is an ICR associated with this event, VIC_DMASICR (see Figure 11–10), which allows the signaling of DMA completion.
Figure 11–11 VIC Error Group ICR 08 07 06 05 04 03 02 VME_IF_BASE + 48 : Don't Care VIC_EGICR ACFAIL* Interrupt Mask Write Post Fail Interrupt Mask Arb. Timeout Interrupt Mask SYSFAIL* Interrupt Mask SYSFAIL* Asserted IPL for this group of Interrupts ML013310 Finally, a local (on-board) interrupt is generated by the VIC64 chip when the VME interface detects a VMEbus IACK cycle to itself.
11.1.4.2 NMI Status and Control Register Figure 11–14 shows the NMI status and control register. Figure 11–14 NMI Status and Control Register 08 07 06 05 04 03 02 01 00 Don't Care SERR # Status HALT Status Ignore on read HALT Enable SERR Enable Ignore on read...
Table 11–4 (Cont.) NMI Status and Control Register Bits Field Name Type Description <3> HALT Enable When set to a one, HALTs are disabled and the halt status bit in this register is cleared. When cleared (reset default), HALTs are enabled as NMI events.
Page 288
The VMEbus SYSRESET* assertion generates a module reset only if Switch 3 is closed. This prevents a module configured as a VME system controller from locking into a reset state when it issues a VME SYSRESET* under software control. If Switch 3 is open, the VIC64 chip still resets (all internal registers return to their default state, current transactions are aborted) but the module reset is not generated.
Console Primer This chapter describes the Digital Alpha VME 4 console and explains how to use basic commands to perform console tasks. The console achieves much of its power and flexibility from its traditional UNIX functionality. This chapter gives you an understanding of the basic functions of the UNIX like kernel, various utilities and tools, the user interface, and how these compare with the structure of the OpenVMS operating system.
• Self-test diagnostics and extended functional diagnostics. You use UNIX command methods to combine these tools to solve complex problems. The UNIX command methods are piping, I/O redirection, command- level scripting, and control functions. Because the console is built around a multitasking kernel, it can support more complex functions, such as systems exercisers, the Maintenance Operations Protocol (MOP) listener, and remote console operations.
12.1.3 Shell Operators The UNIX command line makes use of some Bourne shell operators to complete a command. In OpenVMS, some commands take parameters. The shell operators are similar but are much more powerful because you can use them to combine commands.
Table 12–2 (Cont.) Console Shell Operators Operator Name Description ( ),{} Grouping Shows which commands are grouped together in complex command lines. These operators override the [precedence] of pipe, sequence, and background operators. Form: {cmd1 ; cmd2} | cmd3 *,?,[...] Pattern specifiers Like OpenVMS wildcard characters.
• if command_sequence then command_sequence [ elif command_sequence then command_sequence ] [ else command_sequence ] fi Conditional branching in if, while, and until loops is determined by the exit status of the command sequence following the control structure. In general, an exit status of zero indicates success and results in the execution of the true path.
Command Description Example VMS PALcode V5.56-4, OSF PALcode X1.45-8 show pal Displays version number of PALcode show device Displays known dkb0.0.0.1.0 DKB0 RZ57 devices on system mke0.0.0.4.0 MKE0 TZ85 eza0.0.0.6.0 EZA0 08-00-2B-19-60-31 ezb0.0.0.7.0 EZB0 08-00-2B-1A-2C-06 p_a0.7.0.0.0 Bus ID 7 p_c0.7.0.2.0 Bus ID 7 pkb0.7.0.1.0 PKB0...
>>> help examine deposit NAME examine FUNCTION Display data at a specified address. SYNOPSIS examine [-{b,w,l,q,o,h,d}] [-{physical,virtual,gpr,fpr,ipr}] [-n <count>] [-s <step>] [<device>:]<address> NAME deposit FUNCTION Write data to a specified address. SYNOPSIS deposit [-{b,w,l,q,o,h}] [-{physical,virtual,gpr,fpr,ipr}] [-n <count>] [-s <step>] [<device>:]<address> <data> The help command supports a type of wildcarding.
Page 296
The examine and deposit commands manipulate devices to get access to data within the system. The default device is physical memory. When another device is specified, that device becomes the default. A default device is sticky, that is, all subsequent commands affect that device until another device is explicitly specified and becomes the new default.
12.4.1 Accessing Memory Commands are available for gaining access to memory. Note Because the console itself and other critical data structures reside in memory, be careful not to alter them. Use the alloc command to find an unused 1000-byte block of memory, as shown in the following example: >>>...
An alternate method for dumping memory (or other devices or files) is the hex dump command, hd. The -l option specifies the number of bytes to display. Note Both -l and -n have the same result, but -l only works with hd and -n only works with examine.
Page 299
>>> e r0 # Examine R0 symbolically,... gpr: R0) 0000000000000002 >>> e gpr:0 #...explicitly as device offset,... gpr: R0) 0000000000000002 >>> e 0 ...or implicitly as device offset. gpr: R0) 0000000000000002 >>> e 8 # Examine R1... gpr: R1) 000000000000C408 >>>...
12.5 Using Pipes and grep to Filter Output To search for specific values in a device, use a pipe with the grep command. A pipe ( | ) enables the output of one command to be the input for the next command without creating an intermediate file.
>>> ls foo # Check to see if foo exists. foo no such file >>> e 3fff000 -n 1 > foo # Redirect examine output to file foo. >>> ls foo # Check to see if foo exists. >>> cat foo # Display foo.
To add another command to the script, use the append operator, >>. If the command you are appending contains characters that could be interpreted by the echo command, use a grouping character to enclose the appended command. The following example uses the single quote ’ grouping character to prevent the command-separator character ( ;...
Page 304
$ create sample. show version ls -l sample (Control-Z exit) 2. Make the file compatible with the MOP load protocol. To accomplish this, run the add_header.exe program to append a one-block header to the file, making it compatible with the MOP load server. This executable program is on the Firmware Update CD at [ALPHAVME]ADD_HEADER.EXE.
Page 305
>>> cat sample show version ls -l sample >>> sample version V1.1-0 Jul 1 1996 10:16:59 rwx- 512/2048 sample Console Primer 12–17...
Console Commands Console mode provides the user interface that you enter when the power-on self-test (POST) completes. The console prompt is: >>> Console mode is entered in any of the following ways: • You press the Halt/Reset switch on the front panel. Depending on your operating system and applications running at the time, this could damage application files.
• Ctrl/S—Suspends output to the console terminal • Ctrl/Q—Resumes output to the console • Ctrl/C—Aborts the current command, if possible The console program has no control over this once control has been passed to another program such as an operating system or loadable diagnostic. •...
alloc alloc — allocate a block of memory Exports the routine out to the shell so you can allocate a block of memory malloc from heap. You can then use the block simultaneously with several test routines (there can be several readers but only one writer). Syntax alloc size [ modulus ] [ remainder ] [-flood] [-z heap_address ]...
Page 313
alloc See Also dynamic, free Console Commands 13–5...
boot boot — bootstrap the system Initializes the processor, loads a program image from the specified boot device, and transfers control to that image. If you do not specify a boot device, the default boot device, defined by the value of the BOOTDEF_DEV environment variable, is used.
Page 315
boot A 300-byte database in the same format as the BOOTP message is used to store the received packet. Once a BOOTP packet is broadcasted and received, the database is marked as initialized, ending the first stage of the operation. 2.
Page 316
boot The file name defined by this environment variable becomes the file name in the outgoing BOOTP request packet. For example: >>> set ewa0_bootp_file /var/adm/ris/ris0.alpha/vmunix.old 5. Do not specify a file name: >>> boot ewa0 With this method, because none of the environment variables are written, the boot process runs through both stages.
Page 317
boot Environment Variable Field Description EWA0_INETADDR Internet address Local address. TFTP and the Address of the network Resolution Protocol (ARP) do not interface (EWA0) operate properly without the correct address. EWA0_SINETADDR Internet address of The address of a server, which may the remote server or may not be on the local network.
Page 318
boot EWA0_DEF_SINETADDR EWA0_DEF_GINETADDR EWA0_DEF_SUBNETMASK EWA0_DEF_INETFILE These variables are defined in the following example: >>> set EWA0_DEF_INETADDR 16.123.16.53 >>> set EWA0_DEF_SINETADDR 16.123.16.242 >>> set EWA0_DEF_GINETADDR 16.123.16.242 >>> set EWA0_DEF_SUBNETMASK 255.255.255.0 >>> set EWA0_DEF_INETFILE bootfiles/vmunix >>> set EWA0_INET_INIT nvram Another way for the database to be initialized is when BOOTP is invoked, either explicitly or as a consequence of invoking TFTP.
Page 319
boot Protocol Drivers You normally use BOOTP and TFTP to bootstrap across a network. However, you can invoke the protocols as protocol drivers. The BOOTP and TFTP protocols must be followed by a network in the protocol tower. When a BOOTP request is broadcast, the environment variable EWA0_BOOTP_ SERVER is copied into the sname field of the request packet and the variable EWA0_BOOTP_FILE is copied into the file field of the request packet.
Page 320
boot Arguments boot_device A device path or list of devices from which the firmware attempts to boot, or a saved boot specification in the form of an environment variable. Use the set command with the environment variable BOOTDEF_DEV to define the default boot device.
Page 321
boot >>> boot -fi //usr//local//bootfile//alphavme_v1_1-0 -protocol bootp ewa0 The system performs a TCP/IP BOOTP network boot from Ethernet port EWA0. >>> boot -flags 0,1 The system boots from the default boot device using boot flag settings 0,1. >>> boot -halt dka0 The system loads the operating system from the SCSI disk, , but remains dka0...
break break — break from a program loop Breaks from a for, while, or until loop. Exits the current shell with a status or returns the status of the last command. Syntax break [ break_level ] Arguments break_level Specifies the status code to be returned by the shell. Example >>>...
cat — copy files Concatenates files that you specify to the standard output. If you do not specify files on the command line, the cat command copies standard input to standard output. You can also copy or append one file to another by specifying I/O redirection. Syntax cat [-l length ] file1 [ file2 .
chmod chmod — change file attributes Changes the specified attributes of a file. The chmod command is a subset of the equivalent UNIX command. Syntax {r,w,x,b,z} file1 [ file2 . . . ] chmod Arguments file1 [ file2 . . . ] Specifies the files or inodes to be modified.
Page 325
chmod Examples >>> chmod +x script Adds the executable attribute to the file, script >>> chmod =r errlog Sets the file to read only. errlog >>> chmod -w dk* Makes all SCSI disks nonwriteable. See Also chown, ls -l Console Commands 13–17...
chown chown — change ownership of memory block Changes the ownership of a memory block to the specified process. Syntax chown pid address1 [ address2 . . . ] Arguments Specifies the hexadecimal process identifier (PID) of the new owner. You can display PIDs with the ps command.
clear clear — delete environment variable Deletes an environment variable from the name space. Note Some environment variables, such as BOOTDEF_DEV, are permanent and cannot be deleted. Syntax clear variable_name Arguments variable_name Specifies the name of the environment variable to be deleted. Example >>>...
clear_log clear_log — clear error log in NVRAM Clears and initializes the area of NVRAM used for console error logging. The entire area of NVRAM where fault information is stored is cleared to zero. Miscellaneous pointers, counters, and initialization flags used in the error logging process are reset accordingly.
date date — display or change time Displays or modifies the current date and time. If you include no arguments, the command displays the current date and time. If you do include arguments, the command modifies the current date and time stored in the time-of-year (TOY) clock.
Page 330
date Example >>> date 199208031029.00 >>> date 10:29:04 August 3, 1992 >>> 13–22 Console Commands...
Page 331
deposit deposit — write memory data Writes data to a memory location, a register, a device, or a file. After initialization, if you have not specified a data address or size, the default address space is physical memory, the default data size is a quadword, and the default address is zero.
Page 332
deposit fpr: Floating-point register set. The data size defaults to quadword. The following symbols for address are recognized: f0, f1, . . . f31. ipr: Internal processor register set. The size defaults to quadword. The following symbols for address are recognized: ps, asn, asten, astsr, at, fen, ipir, ipl, mces, pcbb, prbr, ptbr, scbb, sirr, sisr, tbchk, tbia, tbiap, tbis, esp, ssp, usp, and whami.
Page 333
deposit Names the location immediately following the last location referenced in an examine or deposit. For references to physical or virtual memory, the location is the last address plus the size of the last reference. For other address spaces, the address is the last address referenced plus one.
Page 334
deposit -physical The address space is physical memory. Using this option is the same as specifying device. pmem: -virtual The address space is virtual memory. Using this option is the same as specifying device. vmem: -gpr The address space is general purpose registers. Using this option is the same as specifying the device.
Page 335
deposit >>> d -l -n 10 -s 200 pmem:0 8 Deposits 8 into the first longword of each of the first 17 pages in physical memory. See Also examine Console Commands 13–27...
Page 336
dynamic dynamic — show memory Shows the state of dynamic memory. Dynamic memory is split into two main heaps: the console’s private heap and the remaining memory heap. Syntax dynamic [-c [-r]] [-h] [-p] [-v] [-setsize] [-extend byte_count ] [-z heap_address ] Options Performs a consistency check on the default heap or the heap specified with option -z.
Page 337
dynamic Examples >>> dynamic zone zone used used free free utili- high address size blocks bytes blocks bytes zation water -------- ---------- ------- ---------- ------- ---------- ------- ---------- 00097740 1048576 358944 689664 34 % 371872 001D2B80 14805504 14805504 >>> dynamic -cv -z 97740 zone zone used...
echo echo — display text output Sends a line of text that you enter on the command line to the current output device. The default output device is your console screen. The echo command separates arguments (words) in the line with blanks and adds a new line character to the end of the line.
Page 339
echo >>> echo > foo ’this is the simplest way _>to create a long file. All characters will be echoed _>to file foo until the closing single quote.’ >>> cat foo this is the simplest way to create a long file. All characters will be echoed to file foo until the closing single quote.
eval eval — evaluate expression Evaluates a postfix expression. Syntax eval operand1 operand2 operator Arguments operand1 The first numeric value to be evaluated. operand2 The second numeric value to be evaluated. operator One of the following: • + Add the operands. •...
Page 341
eval Displays the output as binary values. Displays the output as octal values. Displays the output as decimal values. Displays the output as hexadecimal values. Examples >>> eval 5 10 + The sum of 5 plus 10 is 15. >>> eval -ix -d 5 10 + The sum of 5 plus 0x10 is 21 (decimal).
Page 342
examine examine — display memory data Displays data located at a specified address: a memory location, a register, a device, or a file. After initialization, if you have not specified a data address or size, the default address space is physical memory, the default data size is a quadword, and the default address is zero.
Page 343
examine vmem: Virtual memory. All access and protection checking occur. If the access would not be allowed to a program running with the current PS, the console issues an error message. If memory mapping is not enabled, virtual addresses are equal to physical addresses. gpr: General purpose register set, R0-R31.
Page 344
examine ipr- name Names an internal processor register. The size defaults to quadword; the address space defaults to ipr. The following symbols for name are recognized: ps, asn, asten, astsr, at, fen, ipir, ipl, mces, pcbb, prbr, ptbr, scbb, sirr, sisr, tbchk, tbia, tbiap, tbis, esp, ssp, usp, and whami.
Page 345
examine The data size is octaword. The data size is hexaword. The data displayed is the decoded macro instruction. Alpha instruction decode (-d) does not recognize machine-specific PAL instructions. -physical The address space is physical memory. Using this option is the same as specifying pmem: device.
Page 346
examine >>> e -g 0 gpr: R0) 0000000000000002 Examine GPR register R0 by address space (-gpr option). >>> e gpr:0 gpr: R0) 0000000000000002 Examine R0 by device name. >>> examine pc gpr: 0000000F ( PC) FFFFFFFC Examine the program counter (PC). >>>...
exer exer — exercise devices Exercises one or more devices by performing read, write, and compare operations. Optionally, reports performance statistics. A read operation reads from a device into a buffer. A write operation writes from a buffer to a device. A comparison operation compares the contents of the two buffers.
Page 349
exer -eb end_block Specifies the ending block number (hexadecimal) within the file stream. The default is 0. -p pass_count Specifies the number of passes to run the exerciser. If you specify 0, the exerciser runs forever or until you enter Ctrl/C. The default is 1. -l blocks Specifies the number of blocks (hexadecimal) to exercise.
Page 350
exer Write without lock from buffer1 Write without lock from buffer2 Compare buffer1 with buffer2 Seek to file offset prior to last read or write First, seek to a random block offset within the specified range of blocks. Next, call the program to create each of a set of numbers once.
Page 351
exer Description Exercises one or more devices. As described in the preceding overview section, the exer command uses two buffers, buffer1 and buffer2. The buffers are in main memory in the memory zone heap. Both buffer1 and buffer2 are initialized to a data pattern before any I/O operations occur.
Page 352
exer You can use a random number generator to seek to varying device locations before performing either a read or write operation. Randomization is achieved by calling the function , which uses a linear congruential generator (LCG) to random generate the numbers. This algorithm is not truly random, but it comes closest to meeting the needs of the exer command.
Page 353
exer The exer command returns an error code immediately after a read, write, or compare error, if the D_HARDERR environment variable is set to HALT. When an error occurs and on error is specified, then subsequent continue loop operations specified by the action string option occur except for comparisons. For instance, if a read error occurs, a subsequent comparison is skipped since a read failure preceding a compare operation guarantees that the comparison fails.
Page 354
exer >>> exer -eb 64 -bc 4 -a ’?w-Rc’ dka0 A destructive write test over block numbers 0 through 100 on disk dka0 . The packet size is 2048 bytes. The action string specifies the following sequence of operations: 1. Set the current block address to a random block number on the disk between 0 and 97.
Page 355
exer >>> set myd 0 >>> exer -bs 1 -bc a -l a -a ’w’ -d1 ’myd myd ~ =’ foo >>> clear myd >>> hd foo -l a 00000000 ff 00 ff 00 ff 00 ff 00 ff 00 ..Use an environment variable myd as a counter.
Page 356
exer See Also memexer 13–48 Console Commands...
exit exit — exit current shell Exits the current shell with the specified status or returns the status of the last command executed. Syntax exit exit_value Arguments exit_value Specifies the status code to be returned by the shell. Examples >>> exit Exits returning the status of the previously executed command.
free free — deallocate memory Frees a block of memory that has been allocated from a heap. The block is returned to the appropriate heap. Syntax free address1 [ address2 . . . ] Arguments address1 address2 . . . Specifies an address (hexadecimal) or list of addresses of allocated blocks to be returned to the heap.
grep grep — search for regular expressions Globally searches for regular expressions and prints any lines containing occurrences of the regular expressions. A regular expression is a shorthand way of specifying a wildcard type of string comparison. Since the grep command is line oriented, it only works on ASCII files.
Page 361
grep Repeated matching. When placed after a pattern, the plus sign indicates that the pattern should match one or more times. For example, [0-9]+ matches any sequence of one or more digits. Optional matching. When placed after a pattern, the question mark indicates that the pattern can match zero or one times.
Page 363
hd — dump file contents Dumps the contents of a file in hexadecimal and ASCII format. Syntax [-{byte | word | long | quad}] file... Arguments file... Specifies the files to be displayed. Options -byte Prints data in bytes. -word Prints data in words.
Page 364
>>> -word foo 00000000 6874 2065 7571 6369 206B 7262 776F 206E the quick brown 00000010 6F66 2078 756A 706D 6465 6F20 6576 2072 fox jumped over 00000020 6874 2065 616C 797A 6420 676F the lazy dog >>> -long foo 00000000 20656874 63697571 7262206B 206E776F the quick brown 00000010 20786F66 706D756A 6F206465 20726576...
help help— help on commands Defines and shows the syntax for each command that you specify on the command line. If you do not specify a command, the help command displays information about itself and lists the commands for which additional information is available. For each argument (or command) on the command line, the help command tries to find all topics that match that argument.
Page 366
help >>> help * # List all topics and associated text. Requests help on all topics. >>> help ex Requests help on all commands that begin with ‘‘ex’’. >>> help boot Requests help on the boot command. 13–58 Console Commands...
init_ev init_ev — initialize environment variables Sets all environment variables to their default values. Once you issue this command, you need to reset the system or issue the init command to set the environment variables to their default values. Syntax init_ev Example >>>...
initialize initialize — initialize the console, a device, or the processor Initializes the console, a device, or the processor. Syntax init[ialize] [-c] [-d device ] Options Specifies that the console be initialized. -d device Specifies a device to be initialized. Examples >>>...
kill kill — delete process Deletes the processes listed on the command line. Processes are killed by making a call to a kernel function with the process ID (PID) as the argument. Syntax kill pid1 [ pid2 . . . ] Arguments pid1 pid2 .
line line — read a line Copies one line (up to a new line) from the standard input channel of the current process to the standard output channel of the current process. This command always writes at least a new line as output. Use this command in scripts to read from the user’s terminal, or to read lines from a pipeline while in a loop.
Page 371
ls — list files Lists files or inodes in the system. Inodes are RAM disk files, open channels, and some drivers. RAM disk files include script files, diagnostics, and executable shell commands. Syntax ls [-l] [ file1 ] [ file2 . . . ] Arguments file1 file2 .
memexer memexer — memory exerciser Starts a specified number of graycode memory test processes running in the background. Each test randomly allocates and tests blocks of memory twice the size of the Bcache, using all available memory. The pass count is 0 to run the tests forever.
Page 373
memtest memtest — memory test Tests memory with any or all of four tests: Test Description Graycode memory test Writes, reads, and verifies a graycode pattern and an inverse graycode pattern for the specified address range. March memory test Writes, reads, and verifies a marching pattern and an inverse marching pattern for the specified address range.
Page 374
memtest 2. Reads each location, verifies the data, and writes the inverse of the data. The read-verify-write is done one longword at a time. This causes the following: • All data bits are written as a one and zero. • All but one data bit toggle between longword writes.
Page 375
memtest The random test: 1. Obtains an address index into the Linear Congruential Generator (LCG) structure that is dependent on the specified length. The test obtains the data index as a function of the entered random data seed and the maximum 32 bit data pattern.
Page 376
memtest If you issue a Ctrl/C or the kill command with a PID in the middle of testing, process might not abort right away. To increase speed of execution, memtest check for a Ctrl/C or kill command done outside of any test loops. If this is not satisfactory, you can run concurrent processes in the background with memtest...
Page 377
memtest -rs random_seed Specifies the random seed. Use this option only with the -rb option. The default is 0. Specifies to randomly allocate and test all of the specified memory address range. Allocations are done of block_size. Specifies fast mode. If you specify -f, the data comparison is omitted. Only ECC /EDC errors are detected.
Page 378
memtest Specifies a group name. Currently, the only group supported is MFG. Specifies a soft error threshold. Examples >>> memtest -sa 200000 -l 1000 Tests memory starting at 0x200000 (-sa) for 0x1000 bytes (-l). >>> memtest -sa 200000 -l 1000 -f Tests memory from 0x200000 for 0x1000 bytes, but data is not verified (-f).
Page 379
memtest See Also memexer Console Commands 13–71...
net — MOP function Using a specified port, performs basic maintenance operations protocol (MOP) operations. The net command performs basic MOP operations, such as, loopback, request IDs, and remote file loads. The net command also provides the means to observe the status of a network port.
Page 381
Sends an Ethernet loopback to a specified destination node. You specify the address of the destination node with the -da option. Requests a MOP loopback. Requests to be rebooted by sending a MOP V4 request boot message to a remote boot node.
Page 382
-lw wait_in_secs Waits the specified number of seconds for the loop messages from the -l1 option to return. If the messages do not return in the specified time period, an error message is generated. -sv mop_version Sets the preferred MOP version number for operations. Valid values are 3 or 4. Examples >>>...
Page 383
ps — show process Displays the system state in the form of process status and statistics. Syntax Example >>> ps Pri Time Affinity CPU Program State -------- -------- --- ------ -------- --- --------- ---------------------- 0000008f 0010e8a0 3 0 00000001 0 ps running 00000020 00110160 1 0 ffffffff 0...
pwrup pwrup — run power-on diagnostics Runs the power-on diagnostics script. The pwrup command initializes network environment variables and runs memory tests. Syntax pwrup Example >>> pwrup Runs the power-on script. 13–76 Console Commands...
Page 385
rm — remove file Removes the specified files from the file system. Allocated memory is returned to the heap. Syntax rm file1 [ file2 . . . ] Arguments file1 file2 . . . Specifies the files to be deleted. Example >>>...
Page 386
sa — set process affinity Changes the affinity mask of a process. The affinity mask of a process specifies the processors on which the process can run. Syntax sa process_id affinity_mask Arguments process_id Specifies the process ID (PID) of the process to be modified. affinity_mask Specifies the new affinity mask, which indicates on which processors the process can run.
semaphore semaphore — show system semaphores Shows all the semaphores known to the system by traversing the semaphore queue. Syntax semaphore Example >>> semaphore Name Value Address First Waiter -------------------------------- -------- -------- ------------------------ dyn_sync 00000001 00050378 dyn_release 00000001 000503A0 shell_iolock 00000001 0015D684 exit_iolock 00000001 0015D770 grep_iolock 00000001 0015DB20 eval_iolock 00000001 0015DC0C...
set — set environment variable Sets or modifies the value of an environment variable. Some of the environment variables are stored in nonvolatile memory. You use environment variables to pass configuration information between the console and the operating system. For a listing of predefined environment variables, see Table 3–2. Syntax set envar_name value [-default] [-integer] [-string] Arguments...
Page 389
the factory to the device that contains the factory-installed software. For systems that do not ship with factory-installed software, the default setting is null. boot_file Sets the file name to be used when a bootstrap requires a file name. The default setting is null.
Page 390
>>> set AUTO_ACTION BOOT Sets the system’s default console action to boot after an error, halt, or power-on. >>> set BOOT_FILE avme.sys Sets the file name to be used when the system’s boot requires a file name to avme.sys >>> set BOOT_OSFLAGS 0,1 Sets the system’s default boot flags to 0,1.
set led set led — display char on LED Displays a character on the front panel light emitting diode (LED). Syntax set led char [-b] Arguments char Specifies the character to display on the front panel LED. Prefix metacharacters with a backslash (\). Options Specifies that the character be displayed in bright mode.
set reboot srom set reboot srom — set reboot mode to Serial ROM Mini-Console Enters the Serial ROM (SROM) Mini-Console. The only valid (and necessary) argument is srom. When you issue this command, you enter the SROM Mini-Console the next time you reset or power on the system.
set toy sleep set toy sleep — disable TOY clock’s internal oscillator Disables the DS1386 TOY clock’s internal oscillator, lengthening the shelf life of the device. When you execute this command, bit 8 of the MONTH register of the device is set to 1, disabling the TOY clock’s oscillator. The TOY clock’s time registers cease to advance, and the life of the device’s internal lithium battery is lengthened.
Page 394
sh — create new shell Creates another shell process. Each shell process implements most of the functionality of the Bourne shell. Syntax " [-l] [-r] [-p] [arg . . . ] Arguments Specifies a text string terminated with white space. Options Prints lines as they are read.
Page 395
Example >>> sh # start a new shell >>> # the new shell’s prompt >>> sh -v <foo # execute command file "foo" and show lines as read in >>> sh -x <foo # print out commands as they are executed and after >>>...
show show — display system information Displays the current value of an environment variable or other system parameter. Syntax show [{config, device, hwrpb, led, map, mode, pal, version}] [ envar_name ] Arguments config Displays the system configuration. device Displays devices and controllers in the system. hwrpb Displays the Alpha hardware restart parameter block (HWRPB).
Page 397
show Commonly Used Environment Variables auto_action Displays the console action following an error halt or power on. The action can be halt, boot, or restart. bootdef_dev Displays the device or device list from which bootstrapping is attempted. boot_file Displays the file name to be used when a bootstrap requires a file name. boot_osflags Displays the additional parameters to be passed to system software.
show config show config — display system configuration Displays the system configuration. Syntax show config Example >>> show config Digital Equipment Corporation Alpha VME 4/288 SRM Console V1.1-0 VMS PALcode V5.56-4, OSF PALcode X1.45-8 MEMORY: 16 Meg of system memory System Controller: VIC64 Enabled Hose 0, PCI...
show device show device — displays devices Displays the devices and controllers in the system. By default, all devices and controllers that respond are shown. The device naming convention is as follows. dka0.0.0.0.0 | || | | | | | || | | | +-- Hose # : Always zero for Digital Alpha VME 4 | || | | +---- Slot # : On PCI System = <PCI bus * 1000>+<PCI function * 100>+<PCI slot>...
Page 400
show device >>> show device e ewa0.0.0.6.0 EWA0 08-00-2B-1D-27-AA Displays devices that start with ‘‘e’’. >>> show device *k* # Show SCSI devices. dkc0.0.0.2.0 DKC0 RZ57 mke0.0.0.4.0 MKE0 TLZ04 Displays all devices with ‘‘k’’ in the device name. >>> show device dk # Show SCSI disks.
show hwrpb show hwrpb — display HWRPB Displays the address of the Alpha hardware restart parameter block (HWRPB). Syntax show hwrpb Example >>> show hwrpb HWRPB is at 2000 >>> Console Commands 13–93...
show led show led — display LED character Displays the current character being displayed on the front LED panel. Syntax show led [-hex] Options -hex Displays the contents of the LED register. If you do not specify -hex, the character being displayed is echoed to the console. Examples >>>...
show map show map — display memory map Displays the current system virtual memory map. Note The map is empty after all console initialization. To fill in the page table entries, enter the boot command with the -halt option at the console prompt.
show_log show_log — display NVRAM error log information Displays console-detected fault information that was previously stored in the error log area of NVRAM. If you do not specify command-line options, the command displays the most recent fault. Console error logging is completely independent of the operating system’s error logging.
Page 405
show_log >>> show_log -n 3 =============================== F A U L T #1 ================================ Time of Error: 13:10:06 9-AUG-1994 Machine Check: IOC Controller SCB Vector : 67 IOC Status 0 : 0400031604000316 IOC Status 1 : 0400000004000000 : 0000000000064c40 =============================== F A U L T #2 ================================ Time of Error: 13:08:39 9-AUG-1994 Diagnostic : Interval Timer...
sleep sleep — suspend execution Suspends execution of a console process for a specified number of seconds. The console process temporarily wakes up every second to check for and kill pending bits. Syntax sleep [-v] time_in_secs Arguments time_in_secs Specifies the number of seconds to sleep. The default is one second. Options Specifies that the value supplied is in milliseconds.
sort sort — sort a file Arranges the lines of a file in lexicographic order and writes the results to STDOUT. The size of the file that sort can handle is limited by the size of memory. Syntax sort file Arguments file Specifies the file to be sorted.
Page 408
sp — set priority Modifies the priority of a process. Changing the priority of the process impacts the behavior of the process and the rest of the system. Syntax sp process_id new_priority Arguments process_id Specifies the process ID (PID) of the process to be modified. new_priority Specifies the new priority for the process.
start start — start program Starts program execution at the specified address or starts drivers. Syntax start [-drivers [ device_prefix ]] [ address ] Arguments address Specifies the PC address at which to start execution. Options -drivers [ device_prefix ] Specifies the name of the device or device class to stop.
stop stop — stop CPU or device Stops the CPU or a specified device. Syntax stop [-drivers [ device_prefix ]] [ processor_num ] Arguments processor_num Specifies the processor to stop. If you use this argument, specify 0. Options -drivers [ device_prefix ] Specifies the name of the device or the device class to stop.
update update — update flash ROMs on the system Loads new firmware into the flash ROMs (FEPROMs). To modify the flash ROMs, you must close DIP switch #2 on the Digital Alpha VME 4 module. The update process proceeds as follows: 1.
Page 412
update -target device Specifies the device that contains the FEPROMs to be upgraded. Valid targets are CONSOLE and USERFLASH. Examples >>> update -fi alphavme_v1_1-0 -dev ewa0 -prot mop -tar console update -path mop:alphavme_v1_1-0/ewa0 -target console ..Network load complete. Host name: OHMY Host address: aa-00-04-00-00-4b new: 1.1-0 Note: Module DIP Switch #2 must be CLOSED to enable Updates!
Page 413
update The program will take at most several minutes. Erasing the target flash device... Erasure completed. Programming... Programming completed Verifying... Update successful >>> The example above shows how to do an update using the TFTP protocol. Console Commands 13–105...
Module Connector Pinouts Sections A.1 through Section A.5 provide pinout information for the Alpha VME • CPU connector • I/O Type 1 card connector • Primary breakout module connector • Secondary breakout module connector • PMC I/O Companion card A.1 CPU Connector Pinouts The Alpha VME 4 CPU (54-24325-xx) J12 (P2) connector has the following power/ground pin assignments: Row A...
Table A–1 (Cont.) VMEbus (J1) Connector Row A Row B Row C VME_D28 PP_PE Ground VME_D29 PP_BUSY Ground VME_D30 PP_ACK_L Ground VME_D31 PP_AFD_L Ground PP_INIT_L PP_SLIN_L A.2.2 Console (J6) and Serial (J7) Connector Pinouts Table A–2 lists the pinouts for the console (J6) and serial (J7) connectors. Figure A–1 shows a pinout diagram.
Figure A–3 Primary Breakout Module Connector Pinouts Side 1 J2 (SCSI) Side 2 MLO-013551 A.4 Secondary Breakout Module Connector Pinouts Figure A–4 shows the layout of the pinouts for the secondary breakout module. Note the positions of the J1 (keyboard and mouse) and J6 (parallel port) connectors.
Figure A–4 Secondary Breakout Module Connector Pinouts MLO-013552 Sections A.4.1 and A.4.2 provide more detail on the J1 and J6 connectors, respectively. A.4.1 Keyboard and Mouse (J1) Connector Pinouts Table A–5 lists the pinouts for the keyboard and mouse (J1) connector. Figure A–5 shows a pinout diagram.
Table A–5 Keyboard and Mouse (J1) Connector Signal MOUSE_DATA KBRD_DATA Ground MOUSE_CLOCK KBRD_CLOCK Figure A–5 Keyboard and Mouse (J1) Pinouts Front view mating side MLO-013553 A.4.2 Parallel Port (J6) Connector Pinouts Table A–6 lists the pinouts for the parallel port (J6) connector. Figure A–6 shows a pinout diagram.
Page 435
PCI bus (cont’d) primary address space of, 5–8 configuration cycles to targets of, Operating system, booting, 3–7 5–9 > operator, 12–12 scatter-gather map Operators address for, 5–19 redirection operator, 12–12 page table entry in memory for, shell, 12–3 5–18 Order numbers, 2–35 translation to system bus address, 5–21 secondary, address space of, 5–8...
Page 437
Registers Registers (cont’d) PCI bus (cont’d) dummy registers, 7–15 mask registers, 7–17 error and diagnostic status register, master latency timer register, 6–13 7–20 error high address register, 6–19 presence detect error low address register, 6–18 low-data register, 6–20 examining, 12–7 presense detect general control register, 6–11 high-data register, 6–21...
Page 438
Registers Scatter-gather map VIC (cont’d) address for, 5–19 local interrupt vector base register, page table entry in memory for, 5–18 11–7 translation to system bus address, register, testing, 4–28 5–21 release control register, 10–20 Scatter-gather mapping VIP PCI configuration register outbound, 10–4 testing, 4–28 Scatter-gather RAM...
Page 439
System bus (cont’d) show led command, 13–94 arbitration on, 6–4 show map command, 13–95 buffering transactions of, 7–3 show_log command, 13–96 controller, 6–1, 6–4 Signal, iogrant, 7–6 error address register, 7–14 Single mode data transfers, 10–7 interface of, 6–4 SIO chip interface to, 7–2 See Super I/O chip System clock, 10–17, 10–21...
Page 440
Timers (cont’d) VIC (cont’d) VMEbus arbitration, 10–21 release control register, 10–20 VMEbus timeout, 10–21 write post failure, 11–8 VMEbus transfer, 10–22 VIC64 chip, 9–29 3 timers loopback test, 4–11 byte swapping for, 10–27 Timing register A, 6–25 configuring, 10–32 Timing register B, 6–26 interrupt controller, 11–4 interrupt ranking for, 11–5 data registers, 7–21...