home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / sysutils / dmode / install.doc < prev    next >
Encoding:
Text File  |  1991-12-20  |  6.5 KB  |  164 lines

  1.                                       1/1/92
  2.       DigiBoard Non-Intelligent board OS/2 Device Driver    Version 1.4.1
  3.                         Installation Guide
  4.  
  5.  
  6. Files
  7.    There are 2 files on the distribution diskette that you will need to
  8.    install the PC/X driver:
  9.  
  10.         DGX.SYS            - The executable device driver.
  11.         INSTALL.DOC    - this file.
  12.  
  13.    Additionally, a utility program to assist in establishing communications
  14.    settings on the additional serial ports is included.
  15.  
  16.            DMODE.EXE    - a 'MODE' work-alike utility 
  17.         DMODE.DOC    - related documentation for above program.
  18.  
  19.  
  20.    Note that if the driver file (DGX.SYS) is not placed in the root 
  21.    directory, its full path must be given on the line in the CONFIG.SYS 
  22.    file.
  23.  
  24.    In order to have the driver load, the following line must be included 
  25.    in you 'CONFIG.SYS' file.
  26.  
  27.            driver=dgx.sys
  28.  
  29.    Without any arguments thus the driver comes up with the following defaults:
  30.    [ Port addresses in Hexadecimal ]
  31.        1 8-channel PC/8 board 
  32.        Status Port = 140
  33.     Channel I/O port addresses 100, 108, 110, 118, 120, 128, 130, 138
  34.     Device names are assigned to COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10
  35.  
  36.    The default modes for each of the channels follow the MS OS/2 standards of:
  37.  
  38.        1200 Baud, 7 data, 1 stop, Even Parity, RTS control-mode.
  39.  
  40.  
  41.     GLOBAL Command line arguments:
  42.  
  43.     /n:device_names        sets up the naming algorithm to be used to
  44.                 generate device names.  Consists of an 
  45.                 optional new stem followed by the starting 
  46.                 device number. Without the new stem, 'COM' 
  47.                 will be used; without a number 3 will be used.
  48.                 Numbering of channels will continue contiguously
  49.                 from one board to the next in the order that 
  50.                 the boards are specified on the command line.
  51.  
  52.         /n:"digi"0    DIGI0,DIGI1,DIGI2,....DIGI7
  53.         /n:4        COM4,COM5,COM6,....COM11
  54.  
  55.          /b:baud_rate        OS/2 by default sets up all serial devices
  56.                 at 1200 baud at initialization-time.  Use this
  57.                 option to override that value.  Valid values
  58.                 are:   300,1200,2400,4800,9600
  59.  
  60.         /b:9600        [ all channels initialize to 9600 baud ]
  61.  
  62.          /d:data_type        OS/2 by default sets up all serial devices
  63.                 to Even Parity, 7 data bits, 1 stop bit at 
  64.                 initialization-time.  Use this option to 
  65.                 override those value.   Syntax is 
  66.                 ParityDataStop
  67.                 [E|O|N] [8|7|6|5|] [1|2]
  68.                 All three values MUST be provided.
  69.  
  70.         /d:N81        [ all channels initialize to No parity, ]
  71.                 [       8 data bits, 1 stop bit         ]
  72.                   
  73.                   
  74.     PER-CARD arguments to the driver MUST be in complete sets indentifying
  75.     Port address range and IRQ number. It is HIGHLY reccomended to
  76.     fully specify ALL boards in your system right on the command line
  77.     to ensure that current settings are plainly visible.
  78.  
  79. ----------------
  80. PC/16 Exception:
  81. ----------------
  82.     Since the I/O port settings for the PC/16 are set at the factory and
  83.     are NOT configureable by the user, any PC/16 MUST !! be specified
  84.     with the following set of arguments:
  85.         device=dgx.sys /p:140 /c:16 /i:[interrupt_line]
  86.     The '/p:140' and '/c:16' arguments are very important as they tell
  87.     the driver that this is a 16-channel board!!
  88.  
  89.  
  90.     If any of the below arguments ar given, ALL cards in the system must 
  91.     be thus fully described.  In other words, if you are running ANY 
  92.     other configuration except the default (see above 'Default 
  93.     Configuration'), then the each card in your system MUST BE FULLY 
  94.     DESCRIBED by these arguments.
  95.  
  96.  
  97.          /p:io_port_address    set the I/O port address range ceiling.
  98.                 This argument specifies the top of the 
  99.                 [Hexadecimal] 40-port range of I/O port 
  100.                 addresses that will be used by the PC/X.  
  101.                 This address should correspond to the 
  102.                 dip-switch setting of the Status Port.  
  103.                 Individual channel port addresses should then
  104.                 begin [hex] 40 BELOW this address, occupying
  105.                 a congiguous block, each channel a [hex] 8 
  106.                 step from the previous.
  107.  
  108.         /p:280        [ set card to Status port address 280 (hex)]
  109.                 [ IO Port for Channel 1 = 240 (hex)        ]
  110.                 [ IO Port for Channel 2 = 248 (hex)        ]
  111.                 [ IO Port for Channel 3 = 250 (hex)        ]
  112.                 [ IO Port for Channel 4 = 258 (hex)        ]
  113.                 [              ....  etc.   .......        ]
  114.  
  115.          /i:IRQ_num        set the IRQ line number from among the legal
  116.                 options for the PC/X.
  117.  
  118.         /i:12        [ set card to IRQ 12 (decimal)           ]
  119.  
  120.     /c:channels        set the number of channels (4, 8 or 16)
  121.                 This is required for each card that does NOT
  122.                 have 8 channels on it.
  123.  
  124.         /c:4        [ assume only 4 channels on card       ]
  125.                 [ NOTE: The driver may crash the System    ]
  126.                 [       if you only have a 4-port PC/X    ]
  127.                 [       and you do not specify this option ]
  128.  
  129. Trouble-shooting:
  130.      If the driver comes up with a problem message please check that your
  131.      configuration matches the switch settings on the card.  If it still
  132.      fails, try actually powering down the system and then back up.  If it
  133.      STILL fails, give DigiBoard Technical Support a call and talk it thru.
  134.  
  135.      The switches for default configuration are as follows:
  136.  
  137.              1    2    3    4    5    6    7    8    9   10    address
  138.      DS1        OFF       OFF                               0x140 (status)
  139.      DS2        OFF                                         0x100 (COM3)
  140.      DS3        OFF                      OFF                0x108 (COM4)
  141.      DS4        OFF                 OFF                     0x110 (COM5)
  142.      DS5        OFF                 OFF  OFF                0x118 (COM6)
  143.      DS6        OFF            OFF                          0x120 (COM7)
  144.      DS7        OFF            OFF       OFF                0x128 (COM8)
  145.      DS8        OFF            OFF  OFF                     0x130 (COM9)
  146.      DS9        OFF            OFF  OFF  OFF                0x138 (COM10)
  147.  
  148.      J1 thru J8 should be strapping 1-2 (top)
  149.      J9 and J10 should be strapping 2,3 (bottom)
  150.      IRQ jumper should be on J86 (for IRQ5)
  151.  
  152.      In general, a good way to test the basic functionality of the driver is
  153.      to hook up a terminal to one of the ports; (say, for example, COM3)
  154.      and set it up for the correct Baud rate, Handshake, and Data type
  155.      characteristics; and simply try to re-direct output to it from the
  156.      command prompt.
  157.  
  158.          C:\>dir > com3
  159.  
  160.      If the terminal is set up correctly (typically the above defaults) you
  161.      should get the directory listing comming out on it.  If there is no
  162.      output, or if the above commands hangs,  then you may need some technical
  163.      support.  It is possible that the board is not functioning properly.
  164.