B&B Electronics SPP-100 User Manual

SPP-100
Enhanced Parallel Port
Type II PCMCIA Card
for PCMCIA Card Standard compatible machines
User's Manual
INTERFACE CARDS FOR IBM PC/AT AND PS/2
QUATECH, INC. TEL: (330) 655-9000 5675 Hudson Industrial Parkway FAX: (330) 655-9010 Hudson, Ohio 44236 http:\\www.quatech.com
Quatech Inc. warrants the SPP-100 to be free of defects for one (1) year from
the date of purchase. Quatech Inc. will repair or replace any adapter that fails to perform under normal operating conditions and in accordance with the procedures outlined in this document during the warranty period. Any damage that results from improper installation, operation, or general misuse voids all warranty rights.
The authors have taken due care in the preparation of this document and any associated software program(s). In no event will Quatech Inc. be liable for damages of any kind, incidental or consequential, in regard to or arising out of the performance or form of the materials presented herein and in the program(s) accompanying this document. No representation is made regarding the suitability of this product for any particular purpose.
Quatech Inc. reserves the right to edit or append to this document or the product(s) to which it refers at any time and without notice.
Please complete the following information and retain for your records. Have this information available when requesting warranty service.
Date of purchase:
Model Number: SPP-100
Product Description: Type II PCMCIA Enhanced Parallel Port
Serial Number:
SPP-100 User's Manual i
Declaration of Conformity
Manufacturer's Name: Quatech Inc.
Manufacturer's Address: 5675 Hudson Industrial Pkwy.
Hudson, OH 44236 (USA)
Application of Council Directive: 89/336/EEC
Standards to which Conformity is Declared: * EN50081-1
(EN55022) * EN50082-1 (IEC 801-2, IEC 801-3, & IEC 801-4)
Type of Equipment: Information Technology Equipment
Equipment Class: Commercial, Residential, & Light
Industrial
Product Name: PCMCIA Card
Model Number : SPP-100
ii Quatech Inc.
Table of Contents
1 . Introduction
................................... .......
2 . DOS / Windows 3.x Installation
3 . Windows 95/98/ME Installation
4 . Windows NT Installation
...................... .......
5 . Windows 2000/XP Installation
6 . Windows CE Installation
....................... .......
................ .......
................ .......
.................. .......
1-1 2-1
2-22.1 SPP-100 Client Driver for DOS .................... .......
2-32.1.1 Client Driver Installation .................... .......
2-42.1.2 Command Line Options ..................... .......
2-72.1.3 Common Problems ......................... .......
2-82.2 SPP-100 Enabler for DOS ........................ .......
2-92.2.1 Command Line Options ..................... .......
2-122.2.2 Common Problems ......................... ......
3-1
3-13.1 Installing an SPP-100 in Windows 95/98/ME ....... .......
3-33.2 SPP-100 Resource Settings in Windows 95/98/ME ... .......
3-73.3 Common Problems ............................. .......
4-1 5-1
5-15.1 Installing an SPP-100 in Windows 2000/XP ......... .......
5-35.2 SPP-100 Resource Settings in Windows 2000/XP ..... .......
5-75.3 Common Problems ............................. .......
6-1
6-16.1 Installing an SPP-100 in Windows CE .............. .......
7 . OS/2 Installation
8 . Programming the SPP-100
9 . External Connections
............................... .......
...................... .......
.......................... .......
Appendix A: Parallel Port Terminology
........... ......
7-1
7-17.1 Installation of the OS/2 SPP-100 Client Driver ....... .......
7-27.2 Configurations ................................. .......
7-27.2.1 Configuration Notes ........................ .......
7-37.3 Interrupts for the SPP-100 Under OS/2 ............. .......
7-37.4 EPP Mode Under OS/2 .......................... .......
7-37.5 Monitoring The Status Of PCMCIA Cards .......... .......
8-1
8-18.1 Program Registers .............................. .......
8-28.2 Program Register description ..................... .......
8-28.2.1 Data Register ............................. .......
8-38.2.2 Device Status Register ...................... .......
8-48.2.3 Device Control Register ..................... .......
8-48.2.4 EPP Address Register ...................... .......
8-58.2.5 EPP Data Registers 0-3 ..................... .......
8-58.2.6 Extended Control Register .................. .......
9-1
A-1
SPP-100 User's Manual iii
List of Figures
A-1A.1 Explanation of parallel port terminology ........... .......
1-1Figure 1. SPP-100 System Configuration. ..................... ..
2-1Figure 2. Client Driver versus Enabler for DOS/Windows 3.x. ... ..
3-1Figure 3. SPP-100 Driver Installation in Windows 95/98/ME .... ..
3-3Figure 4. Windows 95/98/ME Device Manager ................ ..
3-4Figure 5. SPP-100 Resource Allocations in Windows 95/98/ME .. ..
3-4Figure 6a. Windows 95/98/ME Basic Configurations Table (Rev. E) .. 3-5Figure 6b. Windows 95/98/ME Basic Configurations Table (Rev. E2) ..
3-6Figure 7. Windows 95/98/ME Edit Resources Window ......... ..
4-1Figure 8. Windows NT Explorer ............................ ..
4-2Figure 9. Windows NT Device Manager Icon on Desktop ........ ..
5-1Figure 10. SPP-100 Driver Installation in Windows 2000/XP ..... ..
5-3Figure 11. Windows 2000/XP Device Manager ................ ..
5-4Figure 12. SPP-100 Resource Allocations in Windows 2000/XP ... ..
5-4Figure 13a. Windows 2000 Basic Configurations Table (Rev. E) ..... ..
5-5Figure 13b. Windows 2000 Basic Configurations Table (Rev. E2) .... ..
5-5Figure 13c. Windows XP Basic Configurations Table (Rev. E2) ...... ..
5-6Figure 14. Windows 2000/XP Edit Resources Window .......... ..
8-1Figure 15. SPP-100 Program Registers Table ................... ..
8-2Figure 16. Data Register Table .............................. ..
8-3Figure 17. Device Status Register Table ....................... ..
8-4Figure 18. Data Control Register Table ....................... ..
8-5Figure 19. Extended Control Register Table ................... ..
8-5Figure 20. Parallel Port Modes Table ......................... ..
9-1Figure 15. Connector Signal Assignment ...................... ..
iv Quatech Inc.
1. Introduction
The SPP-100 is an Enhanced Parallel Port (EPP) adapter for systems equipped with PCMCIA Type II and/or Type III expansion sockets. The SPP-100 is a PCMCIA Type II (5 mm) card and is PCMCIA PC Card Standard Specification 2.1 compliant.
The figure below illustrates a complete SPP-100 system. The system includes the CP-SPP cable assembly which converts the SPP-100’s 0.8mm I/O connector into a standard D-25 female connector.
Figure 1. SPP-100 System Configuration.
Starting with the original PC, IBM defined the standard parallel printer port. The original standard parallel printer port only supported data output. The IBM PS/2 series added bi-directional support to the parallel port. This was done by using one more bit in the control out register to control tristating of the data out port. The next generation of parallel ports is the EPP parallel port, which is defined by the IEEE P1284 standard. The IEEE standard defines a signaling method for asynchronous, fully interlocked, bi-directional parallel communications between hosts and printers or other peripheral devices.
The SPP-100 provides a single IEEE P1284 compliant EPP parallel port which is also backward compatible with the standard PC-compatible parallel port and the PS/2 type bi-directional parallel port.
SPP-100 User's Manual 1-1
(This page intentionally left blank.)
1-2 Quatech Inc.
2. DOS / Windows 3.x Installation
Two configuration software programs are provided with the SPP-100: a Client Driver, SPP100CL.SYS, and a card Enabler, SPP100EN.EXE. Both of these programs are executed from DOS (before entering Windows) and allow operation of the SPP-100 in both the DOS and Windows 3.x environments. For optimal operation, however, the Client Driver is the preferred method of installation and configuration. The table below highlights the differences between these programs.
Enabler (not recommended)Client Driver (recommended)
File name: SPP100EN.EXEFile name: SPP100CL.SYS
Interfaces to PCMCIA Card and Socket Services software (PCMCIA host adapter independent)
Allows automatic configuration of SPP-100 adapters upon insertion (Hot Swapping)
Requires PCMCIA Card and Socket Services software
Interfaces directly to Intel 82365SL and other PCIC compatible PCMCIA host adapters
Does not support automatic configuration of SPP-100 adapters upon insertion (Hot Swapping)
Does not require PCMCIA Card and Socket Services software
Figure 2. Client Driver versus Enabler for DOS/Windows 3.x.
Card and Socket Services software is commercially available from several vendors for most desktop and laptop PCs. If you are unsure whether Card and Socket Services software is currently installed on your system, install the SPP-100 Client Driver as discussed in following section. When loaded, the Client Driver will display an error message if Card and Socket Services software is not detected.
SPP-100 User's Manual 2-1
2.1 SPP-100 Client Driver for DOS
In order to use the SPP-100 Client Driver, the system must be configured with Card and Socket Services software. Card and Socket Services software is not provided with the SPP-100 but is available from Quatech.
IMPORTANT:
Some versions of Card and Socket Services dated before 1993 do not support general purpose I/O cards. If after careful installation of the Client Driver the SPP-100 does not configure or operate properly, an updated version of Card and Socket Services may be required.
2-2 Quatech Inc.
2.1.1 Client Driver Installation
The following procedure is used to install the SPP-100 Client Driver:
1. Copy the file SPP100CL.SYS from the SPP-100 distribution diskette onto the system's hard drive.
2. Using an ASCII text editor, open the system's CONFIG.SYS file located in the root directory of the boot drive.
3. Locate the line(s) in the CONFIG.SYS file where the Card and Socket Services software is installed.
4. AFTER the line(s) installing the Card and Socket Services software, add the following line to the CONFIG.SYS file:
DEVICE = drive:\path\SPP100CL.SYS options
where options are the SPP-100 Client Driver command line options discussed on the following pages.
5. Save the CONFIG.SYS file and exit the text editor.
6. Insert the SPP-100 into one of the system's PCMCIA slots. NOTE: Since the SPP-100 Client Driver supports "Hot Swapping",
it is not necessary to have the SPP-100 installed when booting the system. By inserting the card before booting, however, the Client Driver will report the adapter configuration during the boot process thereby verifying the changes made to the CONFIG.SYS.
7. Reboot the system and note the message displayed when the SPP-100 Client Driver is loaded. If the Client Driver reports an "invalid command line option", correct the entry in the CONFIG.SYS file and reboot the system again. If the Client Driver reports "Card and Socket Services not found", a version of Card and Socket Services must be installed on the system or the SPP-100 Enabler program must be used to configure the adapter. If the Client Driver reports the desired adapter configuration, the installation process is complete and the SPP-100 may be removed and / or inserted from the system as desired. On each insertion into the PCMCIA socket, the SPP-100 will be automatically reconfigured according to the command line options.
SPP-100 User's Manual 2-3
2.1.2 Command Line Options
The SPP-100 Client Driver accepts up to eight command line arguments from the user to determine the configuration of the SPP-100. If any arguments are provided, the Client Driver will attempt to configure any SPP-100s with the options specified in the order they are entered on the command line. Each argument must be enclosed in parenthesis and must be separated from other arguments by a space on the command line. Within each argument, any or all of the following parameters may be specified using a comma (no spaces) to separate each parameter:
Baddress specifies the base I/O address of the SPP-100 in hexadecimal.
This address must reside on an even 8-byte boundary. If this option is omitted, a base address will be assigned by Card and Socket Services.
Iirq specifies the interrupt level (IRQ) of the SPP-100 in decimal.
irq must be one of the following values: 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, or 0 if no IRQ is desired. If this option is omitted, an interrupt level will be assigned by Card and Socket Services.
Ssocket specifies which PCMCIA socket the SPP-100 must be inserted
into for this configuration argument to be used. socket must be in the range 0 - 15. If this option is omitted, the configuration argument will apply to SPP-100s inserted into any socket.
Emode specifies EPP mode operation for the SPP-100 (This overrides
the mode selection bit in the Extended Control Register.). If this option is omitted, the SPP-100 defaults to standard printer port mode operation.
Llist specifies that the client driver update the BIOS equipment list
on card insertion and removal. If this option is omitted, the BIOS equipment list is not updated.
2.1.2.1 Example 1
DEVICE = C:\SPP-100\SPP100CL.SYS
In example 1, no command line arguments are specified. The Client Driver will configure an SPP-100 inserted into any socket with a base address and IRQ assigned by Card and Socket Services. The SPP-100 will
2-4 Quatech Inc.
operate as a standard printer port, and the BIOS equipment list will not be updated.
2.1.2.2 Example 2
DEVICE = C:\SPP-100\SPP100CL.SYS (b278)
In example 2, a single command line argument is provided. The Client Driver will attempt to configure an SPP-100 inserted into any socket at base address 278H with an IRQ assigned by Card and Socket Services. If address 278H is unavailable, the SPP-100 will not be configured. If successfully configured, the SPP-100 will operate as a standard printer port and the BIOS equipment list will not be updated.
2.1.2.3 Example 3
DEVICE = C:\SPP-100\SPP100CL.SYS (s0,b378,i7)
In example 3, a single command line argument is provided. The Client Driver will attempt to configure an SPP-100 inserted into socket 0 with a base address of 378H and IRQ 7. If address 378H or IRQ 7 is unavailable, the SPP-100 will not be configured. In addition, if an SPP-100 is inserted into any other socket, it will not be configured. If successfully configured, the SPP-100 will operate as a standard printer port and the BIOS equipment list will not be updated.
2.1.2.4 Example 4
DEVICE = C:\SPP-100\SPP100CL.SYS (i5,e,l,b220)
In example 4, a single command line argument is provided. Because the parameter order is not significant, the Client Driver will attempt to configure an SPP-100 inserted into any socket with a base address of 220H and IRQ 5. If address 220H or IRQ 5 is unavailable, the SPP-100 will not be configured. If successfully configured, the SPP-100 will operate in EPP compatible printer port mode and the BIOS equipment list will be updated by the client driver during card insertion and removal events.
2.1.2.5 Example 5
DEVICE = C:\SPP-100\SPP100CL.SYS (b3BC,i5) (i10) ( )
SPP-100 User's Manual 2-5
In example 5, three command line arguments are provided. The Client Driver will first attempt to configure an SPP-100 inserted into any socket with a base address of 3BCH and IRQ 5. If address 3BCH or IRQ 5 is unavailable, the Client Driver will proceed to the second command line argument and attempt to configure the card with a base address assigned by Card and Socket Services and IRQ 10. If IRQ 10 is also unavailable, the Client Driver will proceed to the third command line argument and configure the SPP-100 with a base address and an IRQ assigned by Card and Socket Services. If successfully configured, the SPP-100 will operate as a standard printer port and the BIOS equipment list will not be updated.
2.1.2.6 Example 6
DEVICE = C:\SPP-100\SPP100CL.SYS (b3BC,i5) ( ) (i10)
In example 6, the three command line arguments of example 5 have been rearranged. The Client Driver will first attempt to configure a SPP-100 inserted into any socket with a base address of 3BCH and IRQ 5. If address 3BCH or IRQ 5 is unavailable, the Client Driver will proceed to the second command line argument and attempt to configure the card with a base address and IRQ assigned by Card and Socket Services. Since the second command line argument includes all available address and all available IRQ resources, the third command line argument will never be reached by the Client Driver. It is the user's responsibility to place the command line arguments in a logical order.
2.1.2.7 Example 7
DEVICE = C:\SPP-100\SPP100CL.SYS (s0,b378,i7) (s1,b278,i5)
The type of configuration shown in example 7 may be desirable in systems where more than one SPP-100 is to be installed. In this example, the Client Driver will attempt to configure an SPP-100 inserted into socket 0 with a base address of 378H and IRQ 7. If the SPP-100 is inserted into socket 1, the Client Driver will attempt to configure it with base address 278H and IRQ 5. This allows the user to force the SPP-100's address and IRQ settings to be socket specific which may simplify cable connections and software development. As in the previous examples, however, if the requested address or interrupt resources are not available, the SPP-100 will not be configured.
2-6 Quatech Inc.
2.1.3 Common Problems
Generic Client Drivers:
Many Card and Socket Services packages include a generic client driver (or SuperClient) which configures standard I/O devices. If one of these generic client drivers is installed, it may configure the SPP-100 causing the SPP-100 client driver to fail installation. In these cases, the user should do one of the following:
1. modify the operation of the generic client driver to disable the configuration of parallel port cards. Consult the Card and Socket Services documentation for availability and details of this feature.
2. place the SPP-100 client driver before the generic client driver in the CONFIG.SYS.
Available Resources:
One function of the Card and Socket Services software is to track which system resources (memory addresses, I/O addresses, IRQs, etc.) are available for assignment to inserted PCMCIA cards. Sometimes, however, the Card Services software assumes or incorrectly determines that a particular resource is used when it is actually available. Most Card and Socket Services generate a resource table in a file (typically in the form of an .INI file) which the user can modify to adjust the available system resources. Consult the Card and Socket Services documentation for availability and details of this feature.
Multiple Configuration Attempts:
Some Card and Socket Services have a setting which aborts the configuration process after a single configuration failure (such as a request for an unavailable resource). The user should change this setting to allow for multiple configuration attempts. Consult the Card and Socket Services documentation for availability and details of this feature.
Older Versions of Card and Socket Services:
Some versions of Card and Socket Services dated before 1993 do not support general purpose I/O cards. If after careful installation of the Client Driver the SPP-100 does not configure or operate properly, an updated version of Card and Socket Services may be required. Card and Socket Services software is available from Quatech.
SPP-100 User's Manual 2-7
2.2 SPP-100 Enabler for DOS
with the device(s) it controls.
exclude this memory region.
For systems that are not operating PCMCIA Card and Socket Services software, the SPP-100 DOS Enabler may be used to enable and configure the adapter. This Enabler, SPP100EN.EXE, will operate on any DOS system using an Intel 82365SL or PCIC compatible PCMCIA host adapter including the Cirrus Logic CL-PD6710 / 6720, the VLSI VL82C146, and the Vadem VG-365 among others.
IMPORTANT:
In order to use the SPP-100 Enabler for DOS, the system MUST NOT be configured with Card and Socket Services software. If a Card and Socket Services software is installed, the SPP-100 Enabler may interfere with its operation and
The SPP-100 Enabler does not support automatic configuration of adapters upon insertion, more commonly referred to as "Hot Swapping". This means the adapter must be installed in one of the system's PCMCIA sockets before executing SPP100EN.EXE. If more than one adapter is installed in a system, the Enabler must be executed separately for each adapter. Furthermore, SPP100EN.EXE should be executed to release the resources used by the adapter before it is removed from the PCMCIA socket. Since PCMCIA adapters do not retain their configuration after removal, any adapter that is removed from the system must be reconfigured with the Enabler after re-inserting it into a PCMCIA socket.
IMPORTANT:
The Enabler requires a region of high DOS memory when configuring a SPP-100. This region is 1000H bytes (4KB) long and by default begins at address D0000H (the default address may be changed using the "W" option). If a memory manager such as EMM386, QEMM, or 386Max is installed on the system, this region of DOS memory must be excluded from the memory manager's control. Consult the documentation provided with the memory manager software for instructions on how to
2-8 Quatech Inc.
2.2.1 Command Line Options
To configure a SPP-100 in the system, the Enabler requires one command line argument from the user to determine the configuration of the card. This argument must be enclosed in parenthesis and within the argument, any or all of the following parameters may be specified using a comma (no spaces) to separate each parameter:
Ssocket specifies which PCMCIA socket the SPP-100 must be inserted
into for this configuration argument to be used. socket must be in the range 0 - 15. This option is always required.
Baddress specifies the base I/O address of the SPP-100 in hexadecimal
and must reside on an even 8-byte boundary. This option is required if the 'R' option is not used.
Iirq specifies the interrupt level (IRQ) of the SPP-100 in decimal.
irq must be one of the following values: 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, or 0 if no IRQ is desired. This option is required if the 'R' option is not used.
Waddress specifies the base address of the memory window required to
configure the SPP-100. Set address = D0 for a memory window at segment D000, address = D8 for a memory window at segment D800, etc. Valid settings for address are C8, CC, D0, D4, D8, and DC. If this option is omitted, a memory window at segment D000 will be used.
Emode specifies EPP mode operation for the SPP-100 (This overrides
the mode selection bit in the Extended Control Register.). If this option is omitted, the SPP-100 defaults to standard printer port mode operation.
Llist specifies that the enabler update the BIOS equipment when the
enabler is executed. The enabler, however, can not remove the SPP-100 from the BIOS equipment when the card is removed or when the enabler is executed with the 'R' option. If this option is omitted, the BIOS equipment list is not updated.
SPP-100 User's Manual 2-9
Before removing an SPP-100 from its PCMCIA socket, the Enabler should be executed to free the system resources allocated when the card was installed. For this operation the Enabler provides on additional command line option:
R instructs the enabler to release the resources previously
allocated to the SPP-100. When the 'R' option is used, any settings specified by the 'B', 'I', 'E', and 'L' options are ignored.
2.2.1.1 Example 1
SPP100EN.EXE
In example 1, no command line argument is specified. The Enabler will report an error and display the proper usage of the command.
2.2.1.2 Example 2
SPP100EN.EXE (s0,b378,i7)
In example 2, the Enabler will configure the SPP-100 in socket 0 with a base address of 378H and IRQ 7 using a configuration memory window at segment D000. The SPP-100 will operate as a standard printer port, and the BIOS equipment list will not be updated.
2.2.1.3 Example 3
SPP100EN.EXE (i10,l,e,b340,s1)
In example 3, because the parameter order is not significant, the Enabler will configure the SPP-100 in socket 1 with a base address of 340H and IRQ 10 using a configuration memory window at segment D000. The SPP-100 will operate in EPP compatible printer port mode and the BIOS equipment list will be updated.
2-10 Quatech Inc.
Loading...
+ 41 hidden pages