User`s guide

12 Troubleshooting
12-4
The xpctest command performs a series of tests on your xPC Target system.
These tests range from performing a basic communication check to building
and running target applications. At the end of each test, the command returns
an
OK or failure message. If the test is inappropriate for your setup, the
command returns a
SKIPPED message. Use this command for a thorough check
of your xPC Target installation.
Communication errors might also occur in the following instances:
The target PC is running an old xPC Target boot disk that is not in sync with
the xPC Target release installed on the host PC. Create a new boot disk for
each new release of xPC Target.
If the communication between the host PC and target PC is TCP/IP, set the
host PC network interface card (NIC) card and hub to half-duplex mode. Do
not set the mode to full-duplex mode.
If you have an active firewall in your system, you might experience
communication errors. For example, The MathWorks is aware of build errors
that might occur if you try to build and download a model with a
thermocouple board (causing a slower initialization time) in a system that
contains a firewall. To work around this issue, you can add MATLAB to the
firewall exception list.
xPC Target and the Target PC BIOS
The settings of your target PC BIOS will affect your xPC Target. As a general
rule, ensure that the host and target PC BIOS have at least the following
settings:
RS-232 communication — If you are using RS-232 communications, ensure
that COM ports are enabled for both host and target PCs. Also, ensure
through the BIOS that COM1 has a base address of
3F8 and an IRQ of 4.
COM2 must have a base address of
2F8 and an IRQ of 3. These are the
default base address values. Do not change these values.
Plug-and-Play (PnP) operating system — Disable this feature to ensure that
the PCI BIOS sets up the plugged-in PCI cards properly. The xPC Target
kernel is not a PnP operating system; you must ensure that this feature is
disabled or PCI devices will not work on xPC Target.
Power Saving modes — Disable all power saving modes.