📄 c-start9.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> Setup and Startup </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-start.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-start8.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-editor.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="85814">2.9 Troubleshooting</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85816"> </a>If you encountered problems booting or exercising VxWorks, there are many possible causes. This section discusses the most common sources of error and how to narrow the possibilities. Please read <a href="c-start9.html#85821"><i class="title">2.9.1 Things to Check</i></a> before contacting Wind River customer support. Often, you can locate the problem just by re-checking the installation steps, your hardware configuration, and so forth.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="85821">2.9.1 Things to Check</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85822"> </a>Most often, a problem with running VxWorks can be traced to configuration errors in hardware or software. Consult the following checklist to locate a problem.</p></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/caution.gif"></td><td><hr><div class="CalloutCell"><a name="92736"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION: </font></b></a>Booting systems with complex network configurations is beyond the scope of this chapter. See <i class="title">VxWorks Network Programmer's Guide</i>.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85825">Hardware Configuration</a></i></h4></font><dl class="margin"><dl class="margin"><dl class="margin"><b class="BulletHead"><li><a name="85826"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Limit the number of variables.</font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85827"> </a>Start with a minimal configuration of a single target CPU board and possibly an Ethernet board.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85828"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Be sure your backplane is properly powered and bussed.</font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85829"> </a>For targets on a VMEbus backplane, most configurations require that the P2 B row is bussed and that there is power supplied to both the P1 and P2 connectors.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85830"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">If you are using a VMEbus, be sure boards are in adjacent slots. </font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85831"> </a>The only exception to this is if the backplane is jumpered to propagate the BUS GRANT and INT ACK daisy chains.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85832"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Check that the RS-232 cables are correctly constructed. </font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85833"> </a>In most cases, the documentation accompanying your hardware describes its cabling requirements. One common problem: make sure your serial cable is a null-modem cable, if that is what your target requires.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85835"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Check the boot ROMs for correct insertion. </font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85836"> </a>If the CPU board seems completely dead when applying power (some have front panel LEDs) or shows some error condition (for example, red lights), the boot ROMs may be inserted incorrectly. You can also validate the checksum printed on the boot ROM labels to check for defects in the ROM itself.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85837"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Press the RESET button if required. </font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85838"> </a>Some system controller boards do not reset the backplane on power-on; you must reset it manually.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85839"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Make sure all boards are jumpered properly. </font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85840"> </a>Refer to the target-information reference for your BSP to determine the correct jumper settings for your target and Ethernet boards.</div><br></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85843">Booting Problems</a></i></h4></font><dl class="margin"><dl class="margin"><dl class="margin"><b class="BulletHead"><li><a name="85844"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Check the Ethernet transceiver site. </font></li></b></dl><dl class="margin"><dd><div class="Indent"><a name="85845"> </a>For example, connect a known working system to the transceiver and check whether the network functions.</div><br></dl><dl class="margin"><b class="BulletHead"><li><a name="85846"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Verify Internet addresses. </font></li></b></dl>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -