PCI BUS 8255/8253 ADAPTER. OPERATION MANUAL 6. Diagnostic. 11 CHAPTERS APPENDICES

Similar documents
JTAGjet. series SIGNUM SYSTEMS CORPORATION. USB 2.0 Driver for JTAGjet and ADM51. Installation Instructions

PCAN-ISA. CAN Interface for ISA. User Manual

USB to RS-422/485 Serial Adapter (ID-SC0911-S1/SC0A11-S1) User s Manual

Resource Checking. Windows 95/98/NT Resource Checking Manual for PCI/ISA DAQ card. [For Windows 95/98/NT]

DisplayPort 2-Port KVM Switch Installation Guide

Serial ATA PCI Quick Installation Guide

1-Port R422/485 Serial PCIe Card

Installing MPU-401 Compatible Cards in Windows 95

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

Audiomedia III Installation Guide

IDE to SATA HDD Adapter Quick Installation Guide

FireWire Hi-Speed USB Combo Quick Installation Guide

PL-2303 (Chip Rev H, HX, X) USB to Serial Adapter Windows Driver Installer Manual

Chapter 2 Installation

Intel RAID Controller Troubleshooting Guide

PCMCIA 1 Port RS EDITION OCTOBER 1999

Winlead Dialer Software Users Manual Addendum 3 Installing Winlead Dialer Software on the Windows 2000 System

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

Chapter 3 Software Installation

82341C HPIB Installation and Troubleshooting Windows 95 and Windows NT CE, GC, LC and A/D ChemStation, Version A.05.0x and A.06.0x

HP USB Smartcard CCID Keyboard. User Guide

VP223 USB Type-C DFP CC Controller with Universal Battery Charging

M3 ORANGE Snap-On. User Guide. Product Model: A-SNO-ATYP-060-R00. Compatible Device: M3 ORANGE. Version 2.2 Released in March 2013

HDMI to 3G-SDI Converter Quick Installation Guide

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

MACTek Corporation. USB HART Interface. Users Manual

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

XTreme Files OS & Data Backup/Restore User Manual Please read the Instruction manual before using the XTreme Files (F Series) 1.

SATA150 TX2PLUS, TX4 QUICK START GUIDE. Version 1.2

EPSON Scan Server & EPSON TWAIN Pro Network

SATA II-150 PCI Quick Installation Guide

HOST INTERFACE CARD FOR PCI BUS COMPUTERS

USB to RS-422/485 Serial Adapter

APPLICATION. Using the PB-100 to Make Calls and Announcements From a Database. Using the PB-100 for All-Call Dialing

INSTRUCTION MANUAL T1 TO RS422 INTERFACE

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

Chapter 5 Cubix XP4 Blade Server

Handheld LPC Data Retrieval Software for Windows. Operation Manual

IEEE 1394 Card. Version 1.0

PCI230+ & PCI260+ MULTI-FUNCTION ANALOG AND DIGITAL INPUT/OUTPUT BOARDS

2-Port RS232 Serial PCI with UART Quick Installation Guide

USB Port Hub Quick Installation Guide

Duplex ID Card & License Scanner. User Guide

Quick Operation Guide DAB, DAB + und DMB USB Digital Receiver Albrecht DR 403

SOFTWARE INSTALLATION MANUAL

USB 2.0 to DVI/VGA Pro Installation Guide

SATA II-150 PCI RAID

USB 2.0 Bay Media Card Reader Quick Installation Guide

PCI/PXI ETHERNET ADAPTERS

M3 Single-Slot Cradle. User Guide. Cradle Model: A-1CR-U R00, A-1CR-U00D-040-R00, A-1CR-US R00, A-1CR-U0ED-110-R00

Promise FastTrak 100-Lite RAID Controller

RDC-7 Windows XP Installation Guide

The UltraATA 133 PCI is an ultra high-speed dual channel Ultra ATA/133 controller board for use in Pentium-class computer.

M3 ORANGE single-slot Cradle. User Guide. Product Number: A-1CR-US0D-030-R00, A-1CR-U0ED-030-R00. Compatible Device(s): M3 ORANGE

How To Use An Esata External Hard Drive Enclosure (I386) With A Usb 2.0 And Usb 2/1.1 Hard Drive (I219) On A 2.5\" Hard Drive On A Mini Hard Drive Or An Ip

SYNERGY CONFIGURATION SOFTWARE AND HARDWARE SETUP V /02

USB to Serial Quick Installation Guide

3-Port FireWire 800/400 PCI Host Card

Serial/ Parallel Combo PCi Card user manual

GPS 35 USB. installation and quick start guide

Wireless LAN g USB Adapter

SiloPatrol. SiloTrack Inventory Management Software Version 3.5 BULLETIN 343B. Interface With Multiple Sensor Technologies

Technical Manual. For use with Caller ID signaling types: Belcore 202, British Telecom, & ETSI

SB-1000 Link-All-3.0 USB Radio interface Operating Manual CG Antenna Co. Ltd.

2.5" XTreme Files OS & Data Backup/Restore User Manual Please read the Instruction manual before using the XTreme Files (X Series) 1.

SATA-to-IDE Adapter Quick Installation Guide

Config software for D2 systems USER S MANUAL

CANnes PC CAN Interface Manual

User Guide USB 2.0 LAPTOP DOCKING STATION WITH VIDEO N2953

JPD-FFB-A Vibration USB gamepad with audio USER MANUAL

SB-2000 USB Radio Interface Operating Manual CG Antenna Co. Ltd.

DUKANE Intelligent Assembly Solutions

PCI-to-SATA RAID Adapter AEC-6890M. User s Manual Version:1.0

USB 2.0 to 10/100Mbps Ethernet Adapter UE User Manual

1394 CardBus Quick Installation Guide

USB 2.0 to VGA Quick Installation Guide

ET-BASE AVR ATmega64/128

WHQL Certification Approval...2 User Interface K software FIFO 4 Universal PCI Interface...5 Ready for 64-bit System...5

Installing the Dionex PeakNet System

Installation Guide for. 10/100 to Triple-speed Port Aggregator. Model TPA-CU Doc. PUBTPACUU Rev. 1, 12/08. In-Line

USB 3.0 & 2.0 Hub with Gigabit Ethernet and 5V/ 4A Adapter Quick Installation Guide

2-Serial/1-Parallel Port PCI Adapter RC303 User Manual

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Micro HDMI to VGA with Audio Adapter. Quick Installation Guide. Introduction. Key Features and Benefits. System Requirements.

Network Installation Guide. Artisan 810 Series

USB 3.0 to Multi Monitor Video Adapter Quick Installation Guide

USB 3.0 to 2.5" SATA HDD/SSD Mini Docking Quick Installation Guide

DVD/CD-ROM MOVIE AND GAMER KIT

AVerMedia AVerKey imicro User s Manual

WHQL Certification Approval Introduction Specification Operation Environment... 5

Single channel data transceiver module WIZ2-434

PCI Sound Card Genius Sound Maker Value Series User Manual

Universal Push2TV HD Adapter PTVU1000 Installation Guide

USB 2.0 to SATA/IDE Quick Installation Guide

DCT-16 USB HD Audio Converter

2S RS232 Multi Serial PCI Card Installation Guide

CMT6104 IDE Controller and Hard Drive Carrier utilitymodule User s Manual

Targus USB Port Adapter USER S GUIDE. Making Your Mobile Life Easier. Making Your Mobile Life Easier.

IDE ATA/133 Controller

Transcription:

PCI BUS 8255/8253 ADAPTER CHAPTERS 1. Introduction.. 1 2. Unpacking Information 3 3. Hardware Installation... 5 4. Hardware Configuration 6 5. DII Device Driver.. 10 OPERATION MANUAL 6. Diagnostic. 11 APPENDICES A. Terminator Board... 14 B. Warranty Information.. 17 C. Data Sheet 20 DECISION Computer International Co., Ltd. DECISION Computer International 1 2 DECISION Computer International

CHAPTER 1 INTRODUCTION The PCI bus 8255 adapter is a 32 bits PCI bus adapter with Plug and Play (PnP) features, it is a programmable I/O interface for PC/486, Pentium or compatible computers. The PnP features let hardware configuration for IRQ and I/O address is detected by BIOS automatically, you don t need set switch and jumper. The features of the PCI bus 8255 adapter are: 32 bits PCI bus with Plug and Play (PnP) features. Programmable I/O control functions. Up to 48 I/O lines. Maximum of 10 MHZ counter rate. Support several operating modes that are programmable. Provides DII device driver for PnP features. The PCI bus 8255 adapter provides total 6 digital I/O ports, each I/O port contains 8 I/O lines, and can be set either input or output by the user s program. The 8253 on board chip provides programmable interval timer/counter functions. The signal assignments of PCI bus 8255 adapter is designed as a standard configurations, so that it can be used to connect to the 8255 terminator board for several applications. DECISION Computer International 3 4 DECISION Computer International

CHAPTER 2 UNPACKING INFORMATION Check that your PCI bus 8255 package includes the following items: PCI bus 8255 adapter. Demo Program. Data Capture Software Manual with CD. 8255 terminator board (option). Two expansion flat cables (option). DII device driver. User manual. Warranty form. CHAPTER 3 HARDWARE INSTALLATION Your PCI bus 8255 adapter is designed to be inserted in any available PCI slot in your PC/486, Pentium or compatibles. In order to gain access to the expansion slots, follow the steps listed below: 1. Turn off all power to your computer and all peripheral devices before installing your 8255 adapter. 2. Remove the cover of the computer. 3. Insert the 8255 adapter into any available PCI slot. Make sure the adapter is firmly seated in the chosen slot. 4. Replace the cover of the computer. 5. Connects the expansion cables. 6. Turn on the power of your computer, the PnP features will recognize the 8255 adapter. DECISION Computer International 5 6 DECISION Computer International

CHAPTER 4 HARDWARE CONFIGURATION 4.1 I/O Port Address Base + 0 : Port 1A input/output buffer. Base + 1 : Port 1B input/output buffer. Base + 2 : Port 1C input/output buffer. Base + 3 : Port 1 control register. Base + 4 : Port 2A input/output buffer. Base + 5 : Port 2B input/output buffer. Base + 6 : Port 2C input/output buffer. Base + 7 : Port 2 control register. Base + 8 : Counter 0 input/output buffer. Base + 9 : Counter 1 input/output buffer. Base + A : Counter 2 input/output buffer. Base + B : Counter control register. 4.2 DIP Switch The switch is used to identify card number, default setting is card 15. There are two methods to set the card number: a. PnP mode Just plug in PCI bus adapter into PCI slot, the PCI BIOS will allocate I/O address to each adapter automatically and assign card number start from 0 to each adapter. You may set any card number at PnP mode, and you need use software tools to distinguish port id. Almost all of the operating systems run at PnP mode. b. manual mode Set card number by card identifier switch, the PCI BIOS will assign pre-allocated I/O address to each adapter. Please set different card number to each adapter (do not duplicate card number setting). 1 2 3 4 Card Number OFF OFF OFF OFF 15 ON OFF OFF OFF 14 OFF ON OFF OFF 13 ON ON OFF OFF 12 OFF OFF ON OFF 11 ON OFF ON OFF 10 OFF ON ON OFF 9 ON ON ON OFF 8 OFF OFF OFF ON 7 ON OFF OFF ON 6 OFF ON OFF ON 5 ON ON OFF ON 4 OFF OFF ON ON 3 ON OFF ON ON 2 DECISION Computer International 7 8 DECISION Computer International

OFF ON ON ON ON 1 ON ON ON 0 The card number starts from 0 to 15.. DECISION Computer International 9 10 DECISION Computer International

4.3 Pin Assignments 1. Pin Assignments for CN1 Connector Pin Function Pin Function 1 GND 2 GND 3 GND 4 P1A3 5 P1A1 6 P1A2 7 CLK0 8 P1A0 9 GATE0 10 OUT0 11 OUT2 12 CLK2 13 CLK1 14 GATE2 15 OUT1 16 GATE1 17 P1A5 18 P1A4 19 P1A7 20 P1A6 21 P1C6 22 P1C7 23 P1C4 24 P1C5 25 P1C1 26 P1C0 27 P1B7 28 P1C2 29 P1B6 30 P1C3 31 P1B5 32 P1B0 33 P1B4 34 P1B1 35 P1B3 36 P1B2 37 +5V 38-5V 39 +12V 40-12V 2. Pin Assignments for CN2 Connector Pin Function Pin Function 1 GND 2 GND 3 GND 4 GND 5 GND 6 GND 7 GND 8 GND 9 GND 10 GND 11 GND 12 GND 13 P2A0 14 P2A1 15 P2A2 16 P2A3 17 P2A4 18 P2A5 19 P2A6 20 P2A7 21 P2C7 22 P2C6 23 P2C5 24 P2C4 25 P2C0 26 P2C1 27 P2C2 28 P2B7 29 P2C3 30 P2B6 31 P2B0 32 P2B5 33 P2B1 34 P2B4 35 P2B2 36 P2B3 37 +5V 38-5V 39 +12V 40-12V DECISION Computer International 11 12 DECISION Computer International

CHAPTER 5 DII DEVICE DRIVER CHAPTER 6 DIAGNOSTIC To install DII (Decision Industrial Interface) for Windows 95 and Windows NT, you may start the installation by running SETUP.EXE supplied on this distribution CD. During installation, the Setup application will install an icon into a new program group in your start menu (default name: "Decision Industrial Interface"). After DII is installed, please select Start menu, then Settings, then Control Panel, then Add New Hardware menu, then select PCI 8255 card on the Industrial I/O Devices hardware group. The DII provides DLL, OCX,... etc. components for further programming. For more details, please refer DII manual. In the following, we assume PCI BIOS allocates I/O address is 1B0. 6.1 PASCAL Programming program diagnostic(input, output); uses Crt; var a, i, test : integer; procedure subtest; begin for i := 0 to 2 do port[test+i] := a; end; begin { 8255 I/O Card Testing Program } clrscr; gotoxy(10, 10); writeln('8255 I/O CARD TESTING'); gotoxy(10, 12); writeln('two 8255 PORT A,B,C OUTPUT SQUARE WAVE'); gotoxy(10, 14); writeln('8253 COUNTER 0 DIVIDE BY 2'); gotoxy(10, 16); writeln(' COUNTER 1 DIVIDE BY 50'); gotoxy(10, 18); writeln(' COUNTER 2 DIVIDE BY 100'); { 8253 Testing } DECISION Computer International 13 14 DECISION Computer International

test := $1B0; port[test+11] := $36; port[test+11] := $76; port[test+11] := $B6; port[test+ 8] := $02; port[test+ 8] := $0; port[test+ 9] := $32; port[test+ 9] := $0; port[test+10] := $64; port[test+10] := $0; repeat test := $1B0; port[test+3] := $80; a := 0; subtest; for i := 0 to 1000 do; a := $ff; subtest; test := test + 4; port[test+3] := $80; a := 0; subtest; for i := 0 to 1000 do; a := $ff; subtest until keypressed; end. 6.2 C Programming #include <stdio.h> #include <conio.h> int test,i,a; void subtest() { for(i=0;i<=2;i++) outportb(test+i,a); } main() { clrscr(); gotoxy(10,10); puts("8255 I/O CARD TESTING"); gotoxy(10,12); puts("two 8255 PORT A,B,C OUTPUT SQUARE WAVE"); gotoxy(10,14); puts("8253 COUNTER 0 DIVIDE BY 2"); gotoxy(10,16); puts("8253 COUNTER 1 DIVIDE BY 50"); gotoxy(10,18); puts("8253 COUNTER 2 DIVIDE BY 100"); test = 0x1b0; outportb(test+11,0x36); outportb(test+11,0x76); outportb(test+11,0xb6); outportb(test+ 8,0x02); outportb(test+ 8,0x00); outportb(test+ 9,0x32); outportb(test+ 9,0x00); outportb(test+10,0x64); outportb(test+10,0x00); do { test = 0x1b0; outportb(test+3,0x80); a = 0; subtest(); for(i=0;i<=1000;i++); a = 0xff; subtest(); } while(!kbhit()); } DECISION Computer International 15 16 DECISION Computer International

APPENDIX A TERMINATOR BOARD The 8255 terminator board provides expansion signal connection for convenience purpose. When power control on the normal condition, the LED will light. To connect 8255 adapter to terminator board, please plug in CN1 connector (at 8255 adapter) to J1 (at terminator board). The similar method will be used to connect CN2 to J2. The signal assignment is shown in the follows. 1. TB1 PORT 1 PA0 PORT 1 PA1 PORT 1 PA2 PORT 1 PA3 PORT 1 PA4 PORT 1 PA5 PORT 1 PA6 PORT 1 PA7 PORT 1 PB0 PORT 1 PB1 PORT 1 PB2 PORT 1 PB3 PORT 1 PB4 PORT 1 PB5 PORT 1 PB6 PORT 1 PB7 2. TB2 PORT 1 PC0 PORT 1 PC1 PORT 1 PC2 PORT 1 PC3 PORT 1 PC4 PORT 1 PC5 PORT 1 PC6 PORT 1 PC7 PORT 2 PA0 PORT 2 PA1 PORT 2 PA2 PORT 2 PA3 PORT 2 PA4 PORT 2 PA5 PORT 2 PA6 PORT 2 PA7 3. TB3 PORT 2 PB0 PORT 2 PB1 PORT 2 PB2 PORT 2 PB3 PORT 2 PB4 PORT 2 PB5 PORT 2 PB6 PORT 2 PB7 PORT 2 PC0 PORT 2 PC1 PORT 2 PC2 PORT 2 PC3 PORT 2 PC4 PORT 2 PC5 PORT 2 PC6 PORT 2 PC7 DECISION Computer International 17 18 DECISION Computer International

4. TB4 CLK0 GATE0 OUT0 CLK1 GATE1 OUT1 CLK2 GATE2 OUT2 GND1 GND2 +5V -5V GND1 GND1 GND2 B.1 Copyright APPENDIX B WARRANTY INFORMATION Copyright 1999, 2000 DECISION COMPUTER INTERNATIONAL CO., LTD. All rights reserved. No part of PCI bus 8255 adapter software and manual may be reproduced, transmitted, transcribed, or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without the prior written permission of DECISION COMPUTER INTERNATIONAL CO., LTD. Each piece of PCI bus 8255 adapter package permits user to use PCI bus 8255 adapter only on a single computer, a registered user may use the program on a different computer, but may not use the program on more than one computer at the same time. Corporate licensing agreements allow duplication and distribution of specific number of copies within the licensed institution. Duplication of multiple copies is not allowed except through execution of a licensing agreement. Welcome call for details. DECISION Computer International 19 20 DECISION Computer International

B.2 Warranty Information DECISION warrants that for a period of one year from the date of purchase (unless otherwise specified in the warranty card) that the goods supplied will perform according to the specifications defined in the user manual. Furthermore that the PCI bus 8255 adapter product will be supplied free from defects in materials and workmanship and be fully functional under normal usage. In the event of the failure of a PCI bus 8255 adapter product within the specified warranty period, DECISION will, at its option, replace or repair the item at no additional charge. This limited warranty does not cover damage resulting from incorrect use, electrical interference, accident, or modification of the product. DECISION is not liable to the purchaser for any damages or losses of any kind, through the use of, or inability to use, the PCI bus 8255 adapter product. DECISION reserves the right to determine what constitutes warranty repair or replacement. Return Authorization: It is necessary that any returned goods are clearly marked with an RA number that has been issued by DECISION. Goods returned without this authorization will not be attended to. All goods returned for warranty repair must have the serial number intact. Goods without serial numbers attached will not be covered by the warranty. Transportation costs for goods returned must be paid by the purchaser. Repaired goods will be dispatched at the expense of PCI bus 8255 adapter. To ensure that your PCI bus 8255 adapter product is covered by the warranty provisions, it is necessary that you return the Warranty card. Under this Limited Warranty, DECISION's obligations will be limited to repair or replacement only, of goods found to be defective as specified above during the warranty period. DECISION Computer International 21 22 DECISION Computer International

APPENDIX C DATA SHEET Please put the data sheet that copy from DCI Smartlab 8255/8253 I/O card. DECISION Computer International 23