User`s guide
Advanced Troubleshooting
12-15
General I/O Troubleshooting Guidelines
If you encounter issues using the xPC Target I/O drivers,
• Ensure that you have properly configured the driver.
• Ensure that you are using the latest version of xPC Target.
• Test the hardware using the available diagnostic software included with the
I/O board from the manufacturer.
• Try a different target PC to verify the behavior.
• Report the issue to The MathWorks Support at
(
http://www.mathworks.com/support/contact_us/index.html).
xPC Target and BIOS
The settings of your host or target PC BIOS will affect your xPC Target results.
See “xPC Target and the Target PC BIOS” on page 12-4 for recommended
settings. Incorrect BIOS settings can cause questions like the following:
• Why can
getxpcpci detect PCI boards, but autosearch -l cannot?
• Why can my stand-alone application run on some target PCs, but not others?
• Why is my target PC crashing while downloading applications?
• Why is my target PC104 hanging on boot?
• Why is my boot time slow?
• Why is my software not running in real time?
Attempts to Run Any Model Cause CPU Overload Messages on Target PC
This error might occur if you have
• A model sample time that is too small (see “Dealing with Small Model
Sample Times” on page 12-15)
• Enabled Advanced Power Management, USB ports in the target PC BIOS, or
Plug and Play (PnP) (see “Target PC BIOS” on page 12-16)
Dealing with Small Model Sample Times. If the model has too small a sample time, a
CPU overload can occur. This error indicates that to run the target application,
the model sample time property requires more CPU time than the sample time
for the model (
Fixed step size property) allows.