32-bit optically coupled digital input board with change-of-state detection (54 pages)
Summary of Contents for VMIC VMICPCI-7715
Page 1
VMICPCI-7715 ® Single Board, All Rear I/O Pentium III Socket 370 Processor-Based CompactPCI SBC Product Manual 12090 South Memorial Parkway Huntsville, Alabama 35803-3308, USA 500-657715-000 Rev. A (256) 880-0444 (800) 322-3616 Fax: (256) 882-0859...
Page 3
VMIC reserves the right to make any changes, without notice, to this or any of VMIC’s products to improve reliability, performance, function, or design. VMIC does not assume any liability arising out of the application or use of any product or circuit described herein; nor does VMIC convey any license under its patent rights or the rights of others.
PC/AT-compatible operating system. The PC/AT mode of the VMICPCI-7715 is discussed in Chapter 3 of this manual. The VMICPCI-7715 also operates as a CPCI system slot SBC and interacts with other CPCI modules via the on-board embedded bridge. The VMICPCI-7715 also provides capabilities beyond the features of a typical PC/AT compatible CPU, including a programmable Watchdog Timer, nonvolatile SRAM, Independent 16 Bit Timers and a bootable DiskOnChip system.
VMICPCI-7612 Product Manual Organization of the Manual This manual is composed of the following chapters and appendices: Chapter 1 - VMICPCI-7715 Features and Options describes the features of the base unit. Chapter 2 - Installation and Setup describes unpacking, inspection, hardware jumper settings, connector definitions, installation, system setup and operation of the VMICPCI-7715.
References References Some reference sources helpful in using or programming the VMICPCI-7715 include: Pentium III Processors and Related Products Intel Literature Sales P.O. Box 7641 Mt. Prospect, IL 60056-7641 (800) 548-4752 www.intel.com Intel 440BX PCIset 82443BX PCI and Memory Controller (PMC) 82443BX Data Bus Accelerator (DBX)
Page 18
VMICPCI-7612 Product Manual For additional information please refer to the following Intel 82440BX AGP set: 82443BX Host Bridge/Controller Intel Corporation 2200 Mission College Blvd. P.O. Box 58119 Santa Clara, CA 95052-8119 Intel 82440BX PCIset ISA Bridge 82371EB PCI ISA IDE Xcellerator (PIIX4E) 2200 Mission College Blvd.
Page 19
References Intel 69030AGP Video Controller Intel Corporation P.O. Box 58119 Santa Clara, CA 95052-8119 (408) 765-8080 www.intel.com Phillips PCA9540 Smbus Multiplexer Phillips Semiconductors 811 East Arques Ave. P.O. Box 3409 Sunnyvale, CA 94088-3409 1-800-234-7381 www.semiconductors.phillips.com CMC Specification, P1386/Draft 2.0 from: IEEE Standards Department Copyrights and Permissions 445 Hoes Lanes, P.O.
Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design, manufacture and intended use of this product. VMIC assumes no liability for the customer’s failure to comply with these requirements. Ground the System To minimize shock hazard, the chassis and system cabinet must be connected to an electrical ground.
Safety Symbols Used In This Manual Safety Symbols Used In This Manual Indicates dangerous voltage (terminals fed from the interior by voltage exceeding 1000 V are so marked). Protective conductor terminal. For protection against electrical shock in case of a fault. Used with field wiring terminals to indicate the terminal which must be connected to ground before operating equipment.
CompactPCI Features ..........26 Introduction The VMICPCI-7715 performs all the functions of a standard IBM PC/AT motherboard with the following features: •...
VMICPCI-7715 Product Manual The VMICPCI-7715 supports standard PC/AT I/O features such as those listed in Table 1-1. Figure 1-1 on page 25 shows a block diagram of the VMICPCI-7715 emphasizing the I/O features. Table 1-1 PC/AT I/O Features I/O FEATURE...
EIDE Philips PCA9540 Hard COM Port 1 Drive DiskOnChip COM Port 2 Socket Optional SUPER 16 Bit Timers with 82C54 Flash BIOS Watchdog Timer Floppy Drive DS1384 FDC37C67X Non Volatile SRAM PS/2 Keyboard / Mouse Figure 1-1 VMICPCI-7715 Block Diagram...
These configurations involve processor performance, the DiskOnChip, and SDRAM memory size. These options are subject to change based on emerging technologies and availability of vendor configurations. The options and current details available with the VMICPCI-7715 are defined in the device specification sheet available from your VMIC representative.
All claims arising from shipping damage should be filed with the carrier and a complete report sent to VMIC Customer Service along with a request for advice concerning the disposition of the damaged item(s).
VMICPCI-7715 Product Manual Hardware Setup The VMICPCI-7715 is factory populated with user-specified options as part of the VMICPCI-7715 ordering information. The CPU speed, SDRAM and DiskOnChip size are not user-upgradable. To change these options, contact customer service to receive a Return Material Authorization (RMA).
No Boot Block Programming Boot Block Programming NOTE: The VMICPCI-7715’s BIOS has the capability (Default: Disabled) of password protecting casual access to the unit’s CMOS set-up screens. The Password Clear jumper (E24) allows for a means to clear the password feature, which might be necessary in the case of a forgotten password.
VMICPCI-7715: 1. Make sure power to the equipment is off. 2. If a PMC module such as VMIC’s VMIPMC-7441 is to be used, connect it to the VMICPCI-7715 prior to board installation. Refer to the Product Manual for that particular board for configuration and setup.
The CMOS configuration controls many details concerning the behavior of the hardware from the moment power is applied. The VMICPCI-7715 is shipped from the factory with no hard drives configured in CMOS. The BIOS Setup program must be run to configure the specific drives attached.
Because the design is PC/AT compatible, it retains standard PC memory and I/O maps along with standard interrupt architecture. Furthermore, the VMICPCI-7715 includes a PCI-compatible video adapter and Ethernet controller. The following sections describe in detail the PC/AT functions of the VMICPCI-7715.
The VMICPCI-7715 provides 512 Mbytes of Synchronous DRAM (SDRAM) as on-board system memory. Memory can be accessed as bytes, words or longwords. All RAM on the VMICPCI-7715 is dual-ported to the CompactPCI bus through the PCI-to-PCI bridge. The memory is addressable by the local processor, as well as the CompactPCI bus slave interface by another CompactPCI master.
Memory and Port Maps Memory Map The memory map for the VMICPCI-7715 is shown in Table 3-1. All systems share this same memory map, although a VMICPCI-7715 with less than the full 512 Mbyte of SDRAM does not fill the entire space reserved for On-Board Extended Memory.
The BIOS initializes and configures all these registers properly; adjusting these I/O ports directly is not normally necessary. The assigned and user-available I/O addresses are summarized in the I/O Address Map, Table 3-2. Table 3-2 VMICPCI-7715 I/O Address Map I/O ADDRESS SIZE IN HW DEVICE...
$504 - $CFF Reserved * While these I/O ports are reserved for the listed functions, they are not implemented on the VMICPCI-7715. They are listed here to make the user aware of the standard PC/AT usage of these ports. PCI-to-PCI Bridge The VMICPCI-7715 uses the Intel 21154 PCI-to-PCI bridge to interface between the primary PCI bus of the unit and the CompactPCI (CPCI) bus.
The interrupt number in HEX and decimal are also defined for real and protected mode in Table 3-4. The interrupt hardware implementation on the VMICPCI-7715 is standard for computers built around the PC/AT architecture, which evolved from the IBM PC/XT.
Page 43
PC/AT Interrupts Table 3-3 PC/AT Hardware Interrupt Line Assignments (Continued) AT FUNCTION COMMENTS Not Assigned Determined by BIOS Not Assigned Determined by BIOS Mouse Math Coprocessor AT Hard Drive Not Assigned Determined by BIOS Table 3-4 PC/AT Interrupt Vector Table INTERRUPT NO.
Page 44
VMICPCI-7715 Product Manual Table 3-4 PC/AT Interrupt Vector Table (Continued) INTERRUPT NO. REAL MODE PROTECTED MODE LINE BIOS Video I/O Coprocessor Error Eqpt Configuration Check Same as Real Mode Memory Size Check Same as Real Mode XT Floppy/Hard Drive Same as Real Mode...
Page 45
PC/AT Interrupts Table 3-4 PC/AT Interrupt Vector Table (Continued) INTERRUPT NO. REAL MODE PROTECTED MODE LINE DOS 3.x+ Network Comm Same as Real Mode DOS Internal Use Same as Real Mode DOS Internal Use Same as Real Mode DOS Internal Use Same as Real Mode DOS Internal Use Same as Real Mode...
For a single function device, only INTA# may be used while the other three interrupt lines have no meaning. Figure 3-1 on page 47 depicts the VMICPCI-7715 interrupt logic pertaining to CompactPCI bus operations and the PCI expansion site.
I/O Ports I/O Ports The VMICPCI-7715 incorporates the SMC Super-I/O chip. The SMC chip provides the VMICPCI-7715 with a standard floppy drive controller and two 16550 UART-compatible serial ports. The Ultra-IDE hard drive interface is provided by the Intel 82371EB (PIIX4E) PCI ISA IDE Xcelerator chip. All ports are present in their standard PC/AT locations using default interrupts.
VMICPCI-7715 Product Manual Video Graphics Adapter The monitor port on the VMICPCI-7715 is controlled by a Chips and Technology 69030 video adapter chip with 4 Mbyte video SGRAM. The video controller chip is hardware and BIOS compatible with the IBM EGA and SXGA standards and also supports VESA high-resolution and extended video modes.
A network based on the 10BaseT standard uses unshielded twisted-pair cables, providing an economical solution to networking by allowing the use of existing telephone wiring and connectors. 100BaseTx The VMICPCI-7715 also supports the 100BaseTx Ethernet. A network based on a 100BaseTx standard uses Category 5 unshielded twisted-pair cables.
Smbus Multiplexer........... 70 Introduction VMIC’s VMICPCI-7715 features additional capabilities beyond those of a typical IBM PC/AT-compatible CPU. The unit provides three software-controlled, general purpose timers in addition to a programmable Watchdog Timer.
VMICPCI-7715 Product Manual DiskOnChip (Optional) The VMICPCI-7715 is available with an optional single DiskOnChip which is plugged into a standard 32-pin socket. The DiskOnChip is mapped into a 32 Kbyte window in the BIOS expansion address space of the PC, which is located between address 0xD0000 to 0xD1FFF.
DiskOnChip (Optional) Using the DiskOnChip with Other Operating Systems If the VMICPCI-7715 is to be used with a DiskOnChip running an operating system other than DOS, the user should access the MSystems website at www.m-sys.com for information on installation and other details.
The Time of Day feature found within the DS1384 device is explained in this section, but is not utilized by the VMICPCI-7715. The actual Time of Day registers used by the VMICPCI-7715 are located at the standard PC/AT I/O address. The Time of Day feature in the DS1384 Watchdog Timer is available for use by the user at their discretion.
Page 55
Watchdog Timer Table 4-1 Watchdog Registers Register Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Range $D8000 0.1 Seconds (BCD) 0.01 Seconds (BCD) 00 - 99 $D8001 10 Seconds (BCD) Seconds (BCD) 00 - 59 $D8002 10 Minutes (BCD)
VMICPCI-7715 Product Manual Time of Day Registers Registers 0, 1, 2, 4, 6, 8, 9 and A contain Time of Day data in BCD. Register 0 contains two Time of Day values. Bits 3 - 0 contain the 0.01 Seconds value with a range of 0 to 9 in BCD while Bits 7 - 4 contain the 0.1 Seconds value with a...
Watchdog Timer There are two techniques for reading the Time of Day from the Watchdog Timer. The first is to halt the external Time of Day registers from tracking the internal Time of Day registers by setting the Te bit (Bit 7 of the Command Register) to a logic zero (0), then reading the contents of the Time of Day registers.
VMICPCI-7715 Product Manual Watchdog Alarm Registers Register C contains two Watchdog Alarm values. Bits 3 - 0 contain the 0.01 Seconds value with a range of 0 to 9 in BCD while Bits 7 - 4 contain the 0.1 Seconds value with a range of 0 to 9 in BCD.
Page 59
Watchdog Timer Tdm - Bit 2 Time of Day Alarm Mask - Enables/Disables the Time of Day Alarm to Interrupt Output when Ipsw (see Bit 6, Interrupt Switch) is set to logic one (1). When set to a logic zero (0), Time of Day Alarm Interrupt Output will be enabled. When set to a logic one (1), Time of Day Alarm Interrupt Output will be disabled.
VMICPCI-7715 Product Manual Timers General The VMICPCI-7715 provides a user-programmable 82C54 internal timer/counter. The 82C54 provides three independent, 16-bit timers, each operating at 1 or 2 MHz clock speed determined by the configuration of jumper E28. These timers are completely available to the user and are not dedicated to any PC/AT function.
Timer Programming Architecture The VMICPCI-7715 Timers are mapped in I/O address space starting at $500. See Table 4-3. The Timers, consisting of three 16-bit timers and a Control Word Register (see Figure 4-5), are read from/written to via an 8-bit data bus.
Page 62
VMICPCI-7715 Product Manual Table 4-3 shows the I/O addresses of the Control Word Register and Timers. The Control Word Register is write only. The Timer status information can be obtained from the Read-Back command (see the “Reading” section on page 65).
Timers There are two 8-bit registers labeled TR and TR (Timer Register). The subscripts M and L stand for Most Significant byte and Least Significant byte. When a new count is written to the Timer, the count is loaded into the TR and later transferred to the TE. The Control logic lets one 8-bit TR register be written to at a time.
VMICPCI-7715 Product Manual Table 4-5 ST - Select Timer ST1* ST0* Description Select Timer 0 Select Timer 1 Select Timer 2 page 65 Read-Back Command (See Reading section on *The ST bits specify which Timer (0, 1 or 2) the Control Word refers to or...
Timers Table 4-8 BCD BCD* Description Binary Timer 16-bits Binary Coded Decimal (BCD) Timer (4 Decades) * The BCD bit specifies whether the Timer count value is in Binary or BCD. When programming the 82C54, only two rules need to be followed. 1.
VMICPCI-7715 Product Manual Read-Back Command The Read-Back Command allows the user to view the Timer count, the Timer Mode, the current state of the OUT pin, and the Load Flag of the selected Timer. Like a Control Word, the Read-Back Command is written into the Control Word Register and has the format shown in Tables 4-9 and 4-10.
Timers Table 4-12 Status Byte Description Description D7: OUT Current state of Timers OUT pin D6: LOAD Count loaded into Timer D5-D0 Timer Programmed Mode Bit D7 contains the state of the Timers OUT pin. This allows viewing of the Timer’s OUT pin via software.
The VMICPCI-7715 utilizes an 82C54 Timer/Counter for its Timers. 82C54 Timer/Counters can be programmed to function in six different modes (numbered Mode 0 through Mode 5). The VMICPCI-7715 Timers are hardware configured to operate using Mode 2. Only Mode 2 is defined.
Battery Backed SRAM Battery Backed SRAM The VMICPCI-7715 includes 32 Kbytes of Nonvolatile SRAM addressed at $D8010 to $DFFFF. The lower 16 bytes, $D8000 to $D800F, are dedicated to the Watchdog Timer and the Board ID Register, and are unavailable for SRAM use. See the Watchdog Timer section.
VMICPCI-7715 Product Manual Smbus Multiplexer The VMICPCI-7715 has an on-board Smbus. This Smbus is available through the CompactPCI J1 or J5 connector via a Phillips PCA9540 Smbus multiplexer. At power up this multiplexer is disabled. The Smbus multiplexer can be enabled and directed toward either the CompactPCI J1 or J5 connector by writing to the PCA9540 control register.
8. Quality of cables and I/O connections If products must be returned, obtain a RMA (Return Material Authorization) by contacting VMIC Customer Service. This RMA must be obtained prior to any return. VMIC Customer Service is available at: 1-800-240-7782. Or E-mail us at customer.service@vmic.com Maintenance Prints User level repairs are not recommended.
PMC J6 Connector Pinout..........81 Introduction The VMICPCI-7715 PC/AT-Compatible CompactPCI Controller has all I/O distributed through CompactPCI J2, J4 and J5 connectors.
J1 Connector Pinout J1 Connector Pinout The VMICPCI-7715 utilizes a high-density 110-pin, low inductance, and controlled impedance connector. This connector meets the IEC-1076 international standard for CompactPCI connectors. An additional external metal shield is required. The large number of ground pins ensures adequate shielding and grounding for low ground bounce and reliable operation in noisy environments.
VMICPCI-7715 Product Manual J2 Connector Pinout The VMICPCI-7715 J2 connector is a 2mm “Hard Metric” CompactPCI connector, with five rows of 22 pins each. J2 is required for system slot CPUs. An additional external metal shield is also used, labeled row F. This connector’s controlled impedance minimizes unwanted signal reflections.
J4 Connector Pinout J4 Connector Pinout The VMICPCI-7715 J4 connector is a 2mm “Hard Metric” CompactPCI connector, with five rows of 25 pins each. An additional external metal shield is also used. This connector’s controlled impedance minimizes unwanted signal reflections. Figure A-4 illustrates the J4 connector and the connector pinout.
VMICPCI-7715 Product Manual J5 Connector Pinout The VMICPCI-7715 J5 connector is a 2mm “Hard Metric” CompactPCI connector, with 5 rows of 22 pins each. An additional external metal shield is also used, labeled row F. This connector’s controlled impedance minimizes unwanted signal reflections.
PMC J7 Connector Pinout PMC J7 Connector Pinout The PCI Mezzanine Card (PMC) carries the same signals as the PCI standard; however, the PMC standard uses a completely different form factor. Tables A-1 through A-3 are the pinouts for the PMC connectors (J6, J7and J8). Table A-1 PMC J7 Connector Pinout PMC Connector (J7) PMC Connector (J7)
VMICPCI-7715 Product Manual PMC J8 Connector Pinout Table A-2 PMC J8 Connector Pinout PMC Connector (J8) PMC Connector (J8) Left Side Right Side Left Side Right Side Name Name Name Name +12 V +5 V TRDY +3.3 V +5 V...
PMC J6 Connector Pinout PMC J6 Connector Pinout Table A-3 PMC J6 Connector Pinout PMC Connector (J6) PMC Connector (J6) Left Side Right Side Left Side Right Side Name Name Name Name PMC_I/O_1 PMC_I/O_2 PMC_I/O_33 PMC_I/O_34 PMC_I/O_3 PMC_I/O_4 PMC_I/O_35 PMC_I/O_36 PMC_I/O_5 PMC_I/O_6 PMC_I/O_37...
Driver Software Installation In order to properly use the Video and LAN adapters of the VMICPCI-7715, the user must install the driver software located on the distribution diskettes provided with the unit. Detailed instructions for installation of the drivers during installation of Windows 2000 or Windows NT (Versions 4.0) operating systems are described in the...
6. Select Next to continue. 7. Ensure Search For Suitable Driver For My Device is selected then Click Next. 8. Click in the box next to Floppy Disk Drives and ensure VMIC’s disk 320-500076-003 is inserted in the floppy drive, then click Next.
Page 85
Windows 2000 9. The Drivers File Search Results window should identify GD82559ER PCI Adapter as the driver it found. Select Next to continue. 10. The Digital Signature Not Found box indicates this is not a Microsoft driver. Select Yes to continue 11.
VMICPCI-7715 Product Manual Windows NT (Version 4.0) Windows NT 4.0 includes drivers for the on-board LAN, and video adapters. The following steps are required to configure the LAN for operation. 1. Follow the normal Windows NT 4.0 installation until you reach the Windows NT Workstation Setup window which states that Windows NT Needs To Know How This Computer Should Participate On A Network.
Page 87
Windows NT (Version 4.0) 20. Select the Settings tab in the Display Properties window, then click the Display Type button. 21. In the Display Type window, click Change. 22. In the Change Display window, click Have Disk. 23. Insert disk 320-500076-002 into drive A. 24.
Exit Menu ............101 Introduction The VMICPCI-7715 utilizes the BIOS (Basic Input/Output System) in the same manner as other PC/AT compatible computers. This appendix describes the menus and options associated with the VMICPCI-7715 BIOS.
VMICPCI-7715 Product Manual Main Menu The Main menu allows the user to select QuickBoot, set the system clock and calendar, record disk drive parameters, and set selected functions for the keyboard. QurvÃTrÃVvyv H6DI 6qhprq Qr 7 @v DrÃTrpvsvpÃCry Rvpx7ÃHqr) b@hiyrqd TrÃUvr)
The VMICPCI-7715 does not support a second floppy drive. The default is Disabled. Primary Master/Slave The VMICPCI-7715 is capable of utilizing one IDE hard disk drive on the Primary Master bus. The default setting is Auto. The Primary Slave is assigned to the CD-ROM (if installed).
VMICPCI-7715 Product Manual Secondary Master The Secondary Master is the resident Flash Disk (if installed). The default setting is None. Keyboard Features The Keyboard Features allows the user to set several keyboard functions. QurvÃTrÃVvyv H6DI DrÃTrpvsvpÃCry Frih qÃArh r TryrpÃQr Ãhr IGpx) bPssd s ÃIGpx...
Main Menu Keyboard Auto-Repeat Delay (sec) If the Key Click is enabled this determines the delay before a character starts repeating when a key is held down. The options are: 1/4, 1/2, 3/4, or 1 second. The default is 1/2. Keyboard Test This feature will test the keyboard during boot-up.
VMICPCI-7715 Product Manual Com Port Address If enabled, it will allow remote access through the serial port. The options are: Disabled, Motherboard Com A and Motherboard Com B. The default is Disabled. Baud Rate Selects a baud rate for the serial port. The options are: 600, 1200, 2400, 4800, 9600, 19.2, 38.4 and 115.2.
Advanced Menu Large Disk Access Mode The options for the Large Disk Access Mode are UNIX Novell Netware or Other. If you are installing new software and the drive fails, change this selection and try again. Different operating systems require different representations of drive geometries.
VMICPCI-7715 Product Manual Enable Memory Gap If enabled, turn system RAM off to free address space for use with an option card. Either a 128kB conventional memory gap, starting at 512kB, or an extended memory gap, starting at 15MB, will be created in system RAM.
Power Power This screen, selected from the Main screen, allows the user to configure power saving options on the VMICPCI-7715. QurvÃTrÃVvyv Hhv 6qhprq QPX@S 7 @v DrÃTrpvsvpÃCry Qr ÃThvt) b9vhiyrqd HhvÃQr Ãhvt HhhyÃ8QVÃ8ypxÃUu yvtÃÈ) b9vhiyrqd pr rÃurÃt rhr 8QVÃUu yvtÃqÃu ruyq) b9vhiyrqd hÃsÃrÃr HhvÃQr s hpr ThqiÃUvr) bPssd pr rÃr Ãi...
VMICPCI-7715 Product Manual Boot Menu The Boot priority is determined by the stack order, with the top having the highest priority and the bottom the least. The order can be modified by highlighting a device and, using the <+> or <-> keys, moving it to the desired order in the stack. A device can be boot disabled by highlighting the particular device and pressing <Shift 1>.
Exit Menu Exit Menu The Exit menu allows the user to exit the BIOS program, while either saving or discarding any changes. This menu also allows the user to restore the BIOS defaults if desired. QurvÃTrÃVvyv @v Hhv 6qhprq Qr 7...
BIOS Features Setup ..........106 Introduction The VMICPCI-7715 includes a LANWorks option which allows the VMICPCI-7715 to be booted from a network. This appendix describes the procedures to enable this...
First Boot menu. Selecting “Managed PC Boot Agent (MBA)” to boot from the LAN in this screen applies to the current boot only, at the next reboot the VMICPCI-7715 will revert back to the setting in the Boot menu.
VMICPCI-7715 Product Manual BIOS Features Setup After the Managed PC Boot Agent has been enabled there are several boot options available to the user. These options are RPL (default), TCP/IP, Netware, and PXE. The screens below show the defaults for each boot method.
This appendix provides the information needed to develop custom applications for the VMICPCI-7715. The CPU board on the VMICPCI-7715 is unique in that the BIOS cannot be removed; it must be used in the initial boot cycle. A custom application, like a revised operating system for example, can only begin to operate after the BIOS has finished initializing the CPU.
BIOS and reconfigure the system, or it may accept what the BIOS initialized. BIOS Control Overview There are two areas on the VMICPCI-7715 in which the user must be familiar in order to override the initial BIOS configuration. These areas include the device addresses and the device interrupts.
EIDE Philips PCA9540 Hard COM Port 1 Drive DiskOnChip COM Port 2 Socket Optional SUPER 16 Bit Timers with 82C54 Flash BIOS Watchdog Timer Floppy Drive DS1384 FDC37C67X Non Volatile SRAM PS/2 Keyboard / Mouse Figure E-1 VMICPCI-7715 Block Diagram...
VMICPCI-7715 Product Manual Data Book References 1. Pentium III Processor Developer’s Manual Order Number 241428 Intel Corporation 2200 Mission College Blvd. P.O. Box 58119 Santa Clara, CA 95052-8119 (408) 765-8080 www.intel.com 2. Intel 440BX PCISet 82443BX Host Bridge/Controller Intel Corporation 2200 Mission College Blvd.
Page 113
BIOS Operations 8. ISA & EISA, Theory and Operation Solari, Edward Annabooks 15010 Avenue of Science, Suite 101 San Diego, CA 92128 USA ISBN 0-929392 -15-9 9. DS 1384 Watchdog Timekeeping Controller Dallas Semiconductor 4461 South Beltwood Pwky. Dallas, TX 75244-3292 10.
64 Kbyte. ISA Devices The ISA devices on the VMICPCI-7715 are configured by the BIOS at boot-up and adhere to the standard PC/AT architecture. They are mapped in I/O address space within standard addresses and their interrupts are mapped to standard interrupt control registers.
Device Address Definition PCI Devices PCI devices are fully configured under I/O and/or Memory address space. Table E-2 describes the on-board PCI bus devices and each device’s configuration spectrum. The PCI bus includes three physical address spaces. As with ISA bus, PCI bus supports Memory and I/O address space, but PCI bus includes an additional Configuration address space.
ISA Device Interrupt Map The VMICPCI-7715 BIOS maps the IRQx lines to the appropriate device per the standard ISA architecture. Reference Figure E-2 on page 117. This initialization operation cannot be changed; however, a custom application could reroute the...
VMICPCI-7715 Product Manual PCI Device Interrupt Map The PCI bus-based external devices include the two PCI expansion sites, the PCI-to-PCIbus bridge and the SVGA reserved connection. The default BIOS maps these external devices to the PCI Interrupt Request (PIRQx) lines of the PIIX4E. This mapping is illustrated in Figure E-2 on page 117 and is defined in Table E-3.
Introduction This appendix provides listings of a library of sample code that the programmer may utilize to build applications. These files are provided to the VMICPCI-7715 user on disk 320-500076-007, Sample Application C Code for the VMICPCI-7715, included in the distribution disk set.
VMICPCI-7715 Product Manual Directory CPU The code under the CPU directory sets up the universe chip with one PCI-TO-VME window and enables universe registers to be accessed from VME to allow mailbox access. CPU.C /****************************************************************************/ FILE: CPU.C Setup the universe chip with one PCI-TO-VME window and enable universe registers to be accessed from VME to allow mailbox access.
Page 121
Directory CPU unsigned long mb3_msg; unsigned long int_status; void far interrupt (* old_vect)(void); unsigned char int_line; char user[80]; FPTR un_regs; void main( void ) unsigned char pci_devices; int test_int, to_cnt; unsigned long temp_dword; unsigned char bus, dev_func; printf(“\n\n”); /* try to locate the UNIVERSE device on the PCI bus */ test_int = find_pci_device(UNIVERSE_DID, UNIVERSE_VID, 0, &bus, &dev_func);...
Page 123
Directory CPU restore_orig_int( ); a20( 0 ); exit( xcode ); } /* end do_exit */ /*******************************************************************/ init_int() purpose: Using the interrupt assigned, the original vector is saved and the vector to the new ISR is installed. The */ programmable-interrupt-controller (PIC) is enabled. /*******************************************************************/ parameters: none /*******************************************************************/...
VMICPCI-7715 Product Manual ** FILE: CPU.H typedef unsigned char Byte; typedef unsigned short Word; typedef unsigned long Long; /* universe Device ID and Vendor ID */ #define UNIVERSE_VID 0x10E3 #define UNIVERSE_DID 0x0000 /* CPU specific bits located at I/O 0x400 */...
Directory CPU ** FILE: FLAT.C flat.c Access flat memory space (up to 4GB) in real mode. #include <stdio.h> #include <dos.h> #include “flat.h” Keyboard controller defines #define RAMPORT 0x70 #define KB_PORT 0x64 #define PCNMIPORT 0xA0 #define INBA20 0x60 #define INBA20ON 0xDF #define INBA20OFF 0xDD...
Page 130
VMICPCI-7715 Product Manual void far * linear_to_seg( FPTR lin ) void far *p; FP_SEG(p) = (unsigned int)( lin >> 4 ); FP_OFF(p) = (unsigned int)( lin & 0xF ); return p; Adjust the GS register’s limit to 4GB Note: interrupts are enabled by this call.
Page 131
Directory CPU push bx,address lgdt FWORD ptr [bx] eax,cr0 al,0x01 cr0,eax short nxt nxt: asm { .386P bx,8 gs,bx es,bx al,0xfe cr0,eax int fr_byte( FPTR adr ) int d; asm { .386P ax,ax /* zero gs */ gs,ax eax, adr al,byte ptr gs:[eax] d,ax return d;...
Page 132
VMICPCI-7715 Product Manual long fr_long( FPTR adr ) long asm { .386P ax,ax /* zero gs */ gs,ax eax,adr eax,dword ptr gs:[eax] d,eax return d; void fw_byte( FPTR a, int d ) asm { .386P ax,ax /* zero gs */...
Page 133
Directory CPU dword ptr gs:[eax],ebx /* flat move long */ void fml_string( FPTR d, FPTR s, long n ) asm { .386P /* have to use ES for string move */ push es /* save es */ ax,ax /* zero gs */ gs,ax es,ax edi,d...
Page 134
VMICPCI-7715 Product Manual edi,d /* This is the destination pointer */ esi,s /* This is the source pointer */ ecx,n /* This is the number of bytes */ rep movs byte ptr es:[edi],byte ptr gs:[esi] pop es /* give back es */...
Directory CPU ** FILE: UNIVERSE.H file: universe.h header file for the universe II chip register definitions typedef volatile struct universe_regs { unsigned long pci_id; /* PCI device ID vendor ID unsigned long pci_csr; /* PCI config control/status reg unsigned long pci_class; /* PCI config class reg unsigned long pci_misc0;...
Page 142
VMICPCI-7715 Product Manual unsigned long scyc_addr; /* PCI special cycle PCI address reg unsigned long scyc_en; /* PCI special cycle swap/compare enable reg unsigned long scyc_cmp; /* PCI special cycle compare data reg unsigned long scyc_swp; /* PCI special cycle swap data reg unsigned long lmisc;...
Page 143
Directory CPU unsigned long vint_en; /* VME interrupt enable unsigned long vint_stat; /* VME interrupt status unsigned long vint_map0; /* VME interrupt map0 unsigned long vint_map1; /* VME interrupt map1 unsigned long statid; /* VME interrupt status/ID out unsigned long v1_statid; /* VME interrupt status/ID in IRQ1 unsigned long v2_statid;...
Page 144
VMICPCI-7715 Product Manual unsigned long vsi3_to; /* VMEbus slave image 3 translation offset unsigned long urI[0x06]; /* reserved unsigned long lm_ctl; /* Location Monitor Control unsigned long lm_bs; /* Location Monitor Base Address unsigned long urJ; /* reserved unsigned long vrai_ctl;...
Page 154
VMICPCI-7715 Product Manual #define LINT_MAP0_VIRQ7_1 0x10000000 /* R/W PCI int LINT#1 for VME IRQ7 #define LINT_MAP0_VIRQ7_2 0x20000000 /* R/W PCI int LINT#2 for VME IRQ7 #define LINT_MAP0_VIRQ7_3 0x30000000 /* R/W PCI int LINT#3 for VME IRQ7 #define LINT_MAP0_VIRQ7_4 0x40000000 /* R/W PCI int LINT#4 for VME IRQ7...
Page 155
Directory CPU #define LINT_MAP0_VIRQ2_5 0x00000500 /* R/W PCI int LINT#5 for VME IRQ2 #define LINT_MAP0_VIRQ2_6 0x00000600 /* R/W PCI int LINT#6 for VME IRQ2 #define LINT_MAP0_VIRQ2_7 0x00000700 /* R/W PCI int LINT#7 for VME IRQ2 #define LINT_MAP0_VIRQ1_0 0x00000000 /* R/W PCI int LINT#0 for VME IRQ1 #define LINT_MAP0_VIRQ1_1 0x00000010 /* R/W PCI int LINT#1 for VME IRQ1 #define...
Page 156
VMICPCI-7715 Product Manual #define LINT_MAP1_SW_IACK_0 0x00000000 /* R/W PCI int LINT#0 for SW_IACK #define LINT_MAP1_SW_IACK_1 0x00010000 /* R/W PCI int LINT#1 for SW_IACK #define LINT_MAP1_SW_IACK_2 0x00020000 /* R/W PCI int LINT#2 for SW_IACK #define LINT_MAP1_SW_IACK_3 0x00030000 /* R/W PCI int LINT#3 for SW_IACK...
Page 157
Directory CPU #define VINT_EN_SW_IACK 0x00001000 /* R/W enable VMEbus int SW_IACK #define VINT_EN_VERR 0x00000400 /* R/W enable PCIbus int VERR #define VINT_EN_LERR 0x00000200 /* R/W enable PCIbus int LERR #define VINT_EN_DMA 0x00000100 /* R/W enable PCIbus int DMA #define VINT_EN_LINT7 0x00000080 /* R/W enable PCIbus int LINT7 #define VINT_EN_LINT6...
Page 158
VMICPCI-7715 Product Manual #define VINT_MAP0_LINT7_7 0x70000000 /* R/W VME int 7 for LINT7 #define VINT_MAP0_LINT6_D 0x00000000 /* R/W VME int disable for LINT6 #define VINT_MAP0_LINT6_1 0x01000000 /* R/W VME int 1 for LINT6 #define VINT_MAP0_LINT6_2 0x02000000 /* R/W VME int 2 for LINT6...
Page 159
Directory CPU #define VINT_MAP0_LINT1_3 0x00000030 /* R/W VME int 3 for LINT1 #define VINT_MAP0_LINT1_4 0x00000040 /* R/W VME int 4 for LINT1 #define VINT_MAP0_LINT1_5 0x00000050 /* R/W VME int 5 for LINT1 #define VINT_MAP0_LINT1_6 0x00000060 /* R/W VME int 6 for LINT1 #define VINT_MAP0_LINT1_7 0x00000070 /* R/W VME int 7 for LINT1 #define...
Page 160
VMICPCI-7715 Product Manual #define VINT_MAP1_DMA_6 0x00000006 /* R/W VME int 6 for DMA #define VINT_MAP1_DMA_7 0x00000007 /* R/W VME int 7 for DMA /* statid - interrupt STATUS/ID OUT 0x00XXXXXX */ #define STATID 0xFF000000 /* R/W interrupt status/ID out MASK...
Page 161
Directory CPU #define LINT_MAP2_LM0_6 0x00060000 /* R/W PCI int LINT#6 for LOC_MON0 */ #define LINT_MAP2_LM0_7 0x00070000 /* R/W PCI int LINT#7 for LOC_MON0 */ #define LINT_MAP2_MB3_0 0x00000000 /* R/W PCI int LINT#0 for MAILBOX3 */ #define LINT_MAP2_MB3_1 0x00001000 /* R/W PCI int LINT#1 for MAILBOX3 */ #define LINT_MAP2_MB3_2 0x00002000 /* R/W PCI int LINT#2 for MAILBOX3 */...
Page 162
VMICPCI-7715 Product Manual #define VINT_MAP2_MB2_3 0x00000300 /* R/W VME int VIRQ#3 for MAILBOX2 */ #define VINT_MAP2_MB2_4 0x00000400 /* R/W VME int VIRQ#4 for MAILBOX2 */ #define VINT_MAP2_MB2_5 0x00000500 /* R/W VME int VIRQ#5 for MAILBOX2 */ #define VINT_MAP2_MB2_6 0x00000600 /* R/W VME int VIRQ#6 for MAILBOX2 */...
Page 163
Directory CPU #define MAST_CTL_VREL_R 0x00100000 /* R/W VMEbus request mode ROR #define MAST_CTL_VREL_D 0x00000000 /* R/W VMEbus request mode RWD #define MAST_CTL_VOWN_R 0x00000000 /* W VMEbus ownership release #define MAST_CTL_VOWN_H 0x00080000 /* W VMEbus ownership hold #define MAST_CTL_VOWN_ACK 0x00040000 /* R VMEbus ownership due to hold #define MAST_CTL_PABS_32 0x00000000...
Page 164
VMICPCI-7715 Product Manual #define VSI_CTL_PWEN 0x40000000 /* R/W posted write enable #define VSI_CTL_PREN 0x20000000 /* R/W prefetch read enable #define VSI_CTL_AM_D 0x00400000 /* R/W AM code - data #define VSI_CTL_AM_P 0x00800000 /* R/W AM code - program #define VSI_CTL_AM_DP 0x00C00000 /* R/W AM code - both data &...
Page 165
Directory CPU #define LM_CTL_AM_SU 0x00300000 /* R/W location monitor AM = BOTH #define LM_CTL_AM_16 0x00000000 /* R/W location monitor AM = A16 #define LM_CTL_AM_24 0x00010000 /* R/W location monitor AM = A24 #define LM_CTL_AM_32 0x00020000 /* R/W location monitor AM = A32 /* vrai_ctl - VMEbus register access image control register */ #define VRAI_CTL_EN...
Directory SRAM Directory SRAM **File: T_SRAM.C /****************************************************************************/ /* FILE: T_SRAM.C /* Test battery backed SRAM with patterns and data=address. /****************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <dos.h> unsigned char far * b_ptr; unsigned int far * w_ptr; unsigned long far * l_ptr; unsigned int far * buf_ptr;...
Page 171
Directory SRAM printf("FAILED\nLONG DATA @ ADDR: %Fp WR: %.8X RD: %.8X\n", --l_ptr, ldat, lrd ); exit( 1 ); ldat = ~ldat; /* fill and test buf with DATA = ADD LONG */ for( x = 0; x < 4; x++ ) { l_ptr = (unsigned long far *) MK_FP( 0xD800, 0x18 );...
This directory contains sample code useful in the creation of applications involving the VMICPCI-7715’s three software controlled 16-bit timers. The code is written for the control of a single timer, but can be utilized in generating code for any timer configuration.
Page 173
Directory Timers #define CW_RB_CNT 0x00 /* W Read back count #define CW_RB_STAT 0x00 /* W Read back status #define CW_RB_C0 0x02 /* W Read back counter 0 #define CW_RB_C1 0x04 /* W Read back counter 1 #define CW_RB_C2 0x08 /* W Read back counter 2...
Directory Timers **File: T_Timers.C *****************************************************************************/ FILE: T_TIMERS.C Test Timers (TIC is jumper selectable for 500 ns or 1 us) /****************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <conio.h> #include <ctype.h> #include <dos.h> #include "pci.h" #include "cpu.h" /* TT.C function prototypes */ void do_exit( int );...
Page 180
VMICPCI-7715 Product Manual /* try to locate the power management device on the PCI bus */ test_int = find_pci_device(DID_PWR_MGM, VID_PWR_MGM, 0, &bus, &dev_func); if(test_int != SUCCESSFUL) printf("\nUnable to locate power management device on PCI bus\n"); do_exit( 1 ); /* get base address from config area */ test_int = read_configuration_area(READ_CONFIG_DWORD, bus, dev_func, 0x40, &temp_dword);...
Page 182
VMICPCI-7715 Product Manual outp( gpo_base, ( gpo_org & GPO_CLR ) ); /* set all three GPO outputs to 1 to allow int status registers to function */ outp( gpo_base, ( gpo_org | GPO_T1 | GPO_T2 | GPO_T3 ) ); if( t1 && t2 && t3 ) printf("PASSED\n");...
VMICPCI-7715 Product Manual Directory WATCHDOG This directory contains sample code useful in the creation of applications involving the VMICPCI-7715’s watchdog timer function as described in Chapter 4. **File: Watchdog.H ** DS1384 REGISTER OFFSETS /* 7 #define CLK_MSEC 0x00 /* 00-99...
Index 100BaseTx 10BaseT 82C54 address space features port map address map installation auxiliary I/O mapping Intels 21143 internal timer/counter BIOS interrupt line assignment BIOS setup screens interrupt vector table block diagram ISA bus ISA device interrupt mapping CMOS configuration ISA devices Configuring the DiskOnChip Control Word Register LPT1 Parallel I/O...
Page 192
VMICPCI-7715 Product Manual PCI IDE controller PCI ISA bridge PCI Mezzanine Card (PMC) PIIX4 82371EB Power-on Self Test programmable timer protected mode Read-Back Command real mode real-time clock refresh rates resister locations Return Material Authorization (RMA) number screen resolutions Select Timer Serial I/O (COM1,2,3 &...
Need help?
Do you have a question about the VMICPCI-7715 and is the answer not in the manual?
Questions and answers