Sun Microsystems manual S16A User’s Guide Installation

Page 7

S16A User’s Guide

Installation

4.Place the diskette that came with the S16A into the diskette drive.

5.The S16A driver and related files are included on a diskette in tar format. To copy them to your hard disk, enter:

tar xvf /dev/rfd0

6.The tar program extracts a number of files. (The list of files distributed is provided in the section entitled Included Files.) The S16A diskette contains versions of the S16A driver for a variety of Sun platforms and versions of the Sun operating system. The installation program installs the correct driver based on the host platform and operating system version.

7.To install the driver, enter:

make install

The makefile provided installs and loads the S16A driver.

8.During the installation, the following question appears on the display:

Automatically load the S16A driver during each reboot? [yn] (y):

Entering y (or simply typing <Return>) causes the S16A driver to be loaded whenever you reboot your host computer. If you respond with n, you must manually reload the driver after rebooting. To do so, enter:

make load

9.During the installation, the following question appears on the display:

How many S16A devices do you want? (1):

You can install as many S16A boards in your system as you have DMA SBus slots available. Enter the number corresponding to the number of S16A boards you have installed in your system. If you simply type <Return>, one S16A device entry is installed. Note that each S16A board is appears to SunOS as one main device and four unidirectional subdevices, one input and one output each for both of the analog I/O channels.

NOTE: If you anticipate installing more than one S16A board into your system, install as many S16A device entries as you will ultimately require. The extra device entries will do no harm and will be there when you need them, saving you a step.

10.If the S16A has not been installed inside the host computer, or has been installed incorrectly, the follow- ing message appears on the display:

Can’t load this module

If you see this message, go back to the section entitled Installing the Hardware and reinstall the board. If troubles persist, contact EDT for further assistance.

To unload the S16A driver:

1.Change to the directory in which you placed the S16A files, if you are not already there.

2.Become root or superuser.

EDT, Inc. October, 1996

3

Image 7
Contents S16A EDT, Inc. October Contents Tables Overview Using SunOS Version InstallationInstalling the Hardware Installing the SoftwareS16A User’s Guide Installation Building the Sample Programs Using System V Release 4 Solaris 2.4 or LaterReadme Included FilesElements of S16A Applications Input and OutputRoutine Description DMA Library RoutinesGeneral DMA Library Routines Arguments S16abufferaddressesS16A-specific Library Routines SyntaxS16acancelcurrent S16acancelS16achecknextbuffer S16aclose Arguments S16aconfigureringbuffersS16agetdaccontrolreg S16adoneS16agetdiodirectionreg S16agetdiodataregS16aopen S16agetoutputbitsS16aserialread S16areadS16aserialwrite S16aserialstrS16asetdaccontrolreg S16asetdefaultsS16asetdiodirectionreg S16asetdiodataregS16astartbuffers S16asetoutputbitsS16awaitforbuffer S16astopbuffersS16awrite S16awaitfornextbufferFoiparityerror Error ConditionsError Codes and Conditions Electrical Interface Hardware InterfaceSignal S16A I/O Description Interface SignalsS16A Interface Signals Pin Signal Connector PinoutConnector Pinout Registers S16A ROM SBus AddressesCurrent DMA Address Registers DMA RegistersNext DMA Address Registers Control and Next Count Registers Current Count RegistersDIO Data Register Direct I/O RegistersDAC Output Control Register DIO Direction RegisterAnalog Input Module Internal Registers Analog Input Module Internal RegistersDAC Output Control Register Name DescriptionInput Clock Prescale Registers Input Configuration RegistersTrim Registers Trim Output Offset Registers Trim RegistersInput Gain High Byte Values Trim Register UseTrim Input Gain Registers Temperature RegisterAnalog Input Module Uart Registers Analog Input Module Control ProtocolRead from a Clock Prescale Register Write to an Input Configuration RegisterRead from an Input Configuration Register Write to a Clock Prescale RegisterWrite to a Trim Register Uart Command/Status RegisterRead the Temperature Register Uart Command/Status RegisterUart Data Register Xilinx Programming RegistersSpecifications References Contacting EDT 15-16 IndexConfiguration ROM