VxWorks Support
Building a VxWorks Image
CEI-100/CEI-200/CEI-
x20 User’s Manual
155
parameters may be required for certain target systems and/or
development environments. Details regarding usage of each
configuration parameter are provided within the parameter description.
6.
Open the C/C++ compiler parameter setup window. Remove the
-ansi
compiler option. Using the –D compiler option, define the constant
CEIX20_TARGET_VXWORKS.
7.
Rebuild your VxWorks kernel image and reboot the target machine
with the updated image.
8.
If you are installing a CEI-520/520A, CEI-620, CEI-820, or CEI-
820TX, open a shell to the target and invoke the function
abacoBoardShow
. This routine lists all detected Abaco Avionics
products in increasing order by device ID. If you have only a single
board installed, it is always device 0.
Now that the VxWorks image has been updated to include driver support
for your CEI-x20 board, build and download the CEI-x20 API module.
This is described in the section “Building the CEI-x20 API”.
x86 PCI BIOS Configuration
If you are installing a CEI-520/520A/620/820/820TX on an x86 target, the
above procedure assumes that the x86 BIOS configures PCI boards by
writing memory region addresses into the board’s configuration space. If
your BIOS does not do this, you need to write memory addresses into the
appropriate PCI configuration registers prior to invoking abacoInitPCI().
For more information on PCI and VxWorks, see “The Peripheral
Component Interconnect (PCI) Bus and vxWorks” WTN-49 at
‘http://www.wrs.com/csdocs/product/t2/technote/WTN49.pdf’.
ISA Memory Mapping
If you are installing a CEI-220/420/420A, on-board jumper settings
determine the base memory address. The default factory address setting is
0xd0000. If you have multiple ISA boards, they must be located at 0x4000
increments. VxWorks requires that memory regions do not overlap and
that they are on even page boundaries. The x86 page size is 0x1000, so
multiple boards should be at 0xd0000, 0xd4000, 0xd8000, and 0xdc000
when starting with the factory default. Specify the jumpered base address
for board <n> using the ‘isa_base_addr<n>’ kernel configuration
parameter.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com