Chapter 2
Setup
©
National Instruments Corporation
2-3
system. This creates the files
vxWorks
and
vxWorks.sym
, which are
required to run the operating system. Refer to your Tornado manuals
for more details on how to use these tools. The VXIpc BSP also works
in Tornado 1.0.1 compatibility mode.
4.
Configure the boot parameters as appropriate for your location. At the
VxWorks boot prompt, enter the location of your copy of the VxWorks
operating system image, your host computer’s IP address, and other
applicable parameters.
Depending on your preference, you can have the VxWorks image
loaded from the network or from the VXIpc hard drive. Power on your
VXIpc to configure this and other options. After the controller does its
normal self-tests, it displays a countdown timer. To change the boot
parameters for the controller, abort this timer and enter
c
.
The parameters you most likely will change are:
•
boot device
ata=0,0
for internal IDE or
esmc
(VXIpc-850/860/74
x
),
esyf
(VXIpc-870), or
fxp
(VXIpc-770/870B series) for Ethernet
•
host
host computer’s name on the network
•
file name
the location of your VxWorks image
•
inet address
site-specific
•
host inet
site-specific
When you finish your changes, the new settings are written to
nonvolatile RAM on your controller. This may take a few seconds.
To permanently change the default values for these options, you can
remake the
bootrom.sys
file by following the steps outlined in the
BSP section of the
Intel x86
appendix of your
VxWorks Programmer’s
Guide
.
For certain applications, you may want to reconfigure parts of the
VXIpc BSP. In general, the default settings are taken from the Wind
River series of
x
86 BSPs and should be appropriate for your
application. VXIpc-specific peripherals configured in the BSP include
the network adapter, SCSI controller, and VXI and GPIB interface
hardware. Each of these is configured automatically based on the
model of VXIpc you specify in Tornado. To change which model is
used, navigate to
hardware»BSP configuration variants»VXIpc
model selection
in the VxWorks tab of the Tornado graphical project
manager and change the selected model (or define the appropriate
INCLUDE_VXIPC_
… macro in the Makefile if you are not using the
graphical interface).