Stallion Technologiessupport
Product documentation
online documentation
 
Documetation image, 8K

EasyConnection Driver Installation on OS/2

EasyConnection

EasyIO

EasyServer II

Contents:

Install EasyConnection Software 

Driver Initialisation


Installing EasyConnection Software 

Installation of the OS/2 driver software is acheived via the OS/2 DDINSTAL command. 

To install the OS/2 driver, perform the following:  

Step 1. 
Place the CD-ROM in the drive. The OS/2 drivers may be found in the \OS2 directory of the CD file system. 

Step 2. 
Open an OS/2 Command prompt. 

Step 3. 
Run the OS/2 Device Driver Installation program: DDINSTAL <Enter> 

Step 4. 
Check that the source drive and directory (\OS2) in the Device Driver Installation Window is correct. 

Step 5. 
Choose Install and select "Stallion Technologies Serial Device Driver". 

Step 6. 
Exit from the installation program. 

DDINSTAL adds the following entry into the CONFIG.SYS file: DEVICE=C:\OS2\EASY.SYS 

For EISA, PCI and MCA adapters, no modifications are required. 

For ISA adapters, each adapter to be placed into the machine must be specified on the "DEVICE=" entry. Using your favourite text editor, such as "E.EXE" supplied with OS/2, modify the "DEVICE=" entry in CONFIG.SYS. 
 

EC 8/64 Adapter

The following example uses default settings: 

Factory default PORT=2a0, and software default MEM=D0000 

DEVICE=C:\OS2\EASY.SYS /b type=EC8-64 
   

EC 8/32 Adapter 

The following example uses default settings: 

Factory default PORT=2a0, software default Oport=280, Irq=15 

DEVICE=C:\OS2\EASY.SYS /b type=EC8-32  

Driver Initialisation 

Each time the machine is rebooted, the Stallion OS/2 COM driver, EASY.SYS, will display messages about the adapter(s) configured. A message like the following will be displayed: 

EASY ATA V5.0.6 Copyright 1994 Stallion Technologies Board 0:Type=EC8-32 Port=2a0 Oport=280 Irq=15: 16 ports: COM3 -> COM18 
Board 1:Type=EasyIO Port=200 Irq=15: 8 ports: COM19 -> COM26 

Each adapter configured will be displayed with its configuration, number of ports, and the COM device names assigned for the ports. If an adapter is not found or has invalid parameters then a numbered error message will be displayed. See the Technical Reference section for the complete list and descriptions.  

Administration 

Serial Port Naming Convention 

As with other serial devices, Stallion ports will be given a name of the form COM#, where # is a one to four digit number. As each board is configured, the next group of COM# will be assigned. 

The numbering, by default, begins after other serial ports present. If the machine currently had 2 serial ports, the first Stallion port would be COM3. For EISA and MCA machines, adapters will be configured in slot order, slot 1 first. 

The assignment of COM# names to the ports of a single adapter occurs in a similar manner. The first panel is assigned the first group of COM# names assigned to the board. If an EC 8/64 had two 8 port panels then the naming would be: 

First Panel: port 0: COM1 -> port 7: COM8 
Second Panel: port 0: COM9 -> port 7: COM16  

Changing Port Settings 

Most applications that use COM serial ports have their own configuration method. For applications that don't, OS/2 provides a utility called MODE.EXE. Refer to OS/2's manuals or online help for a complete description of this command. OS/2's MODE.EXE command will however only operate on COM1 to COM9. In order to configure COM10 upwards Stallion provides a command, EMODE.EXE, that is compatible with MODE.EXE. 

Note: Do not replace your MODE.EXE with EMODE.EXE as EMODE.EXE does not have the non-serial abilities that MODE.EXE has. 

Default COM port settings after powerup are: 1200 baud, Even parity, 7 data bits, 1 stop bit and Output Hardware Flow control (Handshaking). 

The EMODE.EXE command take arguments of the form: 

EMODE COM#:baud,parity,databits,stopbits,, [options]

COM#: Port to be configured, such as COM3:
baud baud rate such as 9600, or 57600. 
parity o = Odd, e = Even, n = no parity. 
databits 5, 6, 7, 8 bits per character transmitted
stopbits 1, 1.5, 2 stop bits after each character transmitted. 

Note the empty position after stopbits. This is required if the [options] are to be recognised. Refer to OS/2 help on MODE.EXE, these can include flow control settings and must be separated by comma's. 

Some relevant settings are: 

RTS=[OFF | ON | HS | TOG] 
OCTS=[ON | OFF] 
TO=[ON | OFF] 
XON=[OFF | ON] 
DTR=[OFF | ON | HS] 

For Example: 

emode com3:9600,n,8,1,, RTS=HS, OCTS=ON, XON=OFF, DTR=ON 

Driver Characteristics 

1.  Ports can be configured up to 230400 Baud. 

2.  RTS, CTS and output Software Flow Control is implemented in the UART 
firmware and thus even when the machine is heavily loaded it can still flow control without loss of characters. 

3.  DCD, DSR and RTS TOGGLE flow control are not implemented. 

Note: DOS and Windows applications can not directly access Stallion serial ports. Stallion does not provide the required Virtual Device driver. 

Driver Removal 

Edit CONFIG.SYS and remove the line that loads the Stallion Driver. The line will be of the form: DEVICE=C:\OS2\EASY.SYS .... 

Delete the following files: 

C:\OS2\EASY.SYS, 
C:\OS2\EMODE.EXE, 
C:\OS2\EDIAG.EXE, 
C:\OS2\ETEST.EXE. 

 
Go to Top

Go to Top

Copyright © 2007 Lantronix. All rights reserved