2.3. Driver Startup

The driver must be started before any applications attempt to connect to it, specifically before the DR_ApInitIPC function is called by a client. The driver must be started after support processes such as the Cascade NameServer (nserve) and Cascade QueueServer (qserve), if applicable, are started. The driver may be started before or after the Cascade DataHub is started.

The Cascade CIF Driver can be started at a shell, using the command drcif_ad and specifying any of its command options. For example:

    [sh]$ drcif_ad -d dh3 -f ./c2.cfg -n CifDriver02

2.3.1. Default Configuration

The Hilscher CIF interface cards should be configured with the following system parameters:

In addition, for most applications we recommend that the card I/O exchange mode be set to:

2.3.2. Common Configuration Commands

The following list provides a quick summary of the most necessary and commonly used configuration commands (see the sample.cfg file):

If using the point data model:

If using the Cascade DataHub:

2.3.3. Hardware Notes

The ISA CIF cards use a bank of jumpers to set the card address and interrupt. Each address bit is set as follows:

The jumpers allow the shared memory block of the card to be placed anywhere in the lower 1M of memory, on boundaries determined by the size of the memory block. Hence, the 2K cards provide jumpers for address bits A11-A19 (the lower 11 bits, A0-A10, address the 2K within the block and are treated as zero for the base address), and the 8K cards provide jumpers for address bits A13-A19 (the lower 13 bits, A0-A12, address the 8K within the block).

The following provides some examples for some possible base address locations. As above, an X denotes that a jumper is installed, ':' denotes that the jumper is left open. A '0' indicates the base address bit is zero.

2K Card:

8K Card:

The remaining jumpers are used to select the interrupt, if any is to be used. Only one interrupt jumper may be used at one time! Selection of an interrupt will not effect operation of the administrator if polled mode is selected.

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.