SBS OctalUart IP Module Support

Introduction

This software drives the SBS (formerly GreenSpring) OctalUart family of Industry Pack modules to communicate with a number of RS-232, RS-422, and RS-485 devices. Note that this driver is not compatible with newer IP-OctalPlus modules as they use a different chipset.

The driver uses drvIpac for configuration of the carrier board plus access routines for the SCC2698 octalUart used in the IP modules. The driver implements a standard vxWorks terminal driver making use of the vxWorks tyLib system library.

Configuration Example

The following is an example of setting up the device driver from a vxWorks or iocsh startup script:

# Initialize our drvIpac carrier
ipacAddMVME162 "A:m=0xe0000000,64 l=3,2"

# Number of tyGSOctal modules to support:
tyGSOctalDrv 1

# Init an RS232 module using IRQ #80 on carrier 0, slot 0
tyGSOctalModuleInit "RS232", 0x80, 0, 0

# Create devices
# name, module#, port#, rdBuf, wrBuf
tyGSOctalDevCreate "/tyGS0/0", 0, 0, 512, 512
tyGSOctalDevCreate "/tyGS0/2", 0, 2, 512, 512
tyGSOctalDevCreate "/tyGS0/4", 0, 4, 512, 512
tyGSOctalDevCreate "/tyGS0/6", 0, 6, 512, 512

# Configure the ports
# baud, parity(N/E/O), stop, bits, flow(N/H)
tyGSOctalConfig "/tyGS0/0", 9600, 'N', 1, 8, 'N'
tyGSOctalConfig "/tyGS0/2", 9600, 'N', 1, 8, 'N'
tyGSOctalConfig "/tyGS0/4", 9600, 'N', 1, 8, 'N'
tyGSOctalConfig "/tyGS0/6", 9600, 'N', 1, 8, 'N'