⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-start3.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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-start2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-start4.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="84409">2.3  &nbsp;&nbsp;Target Setup</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84410"> </a>This section covers bringing up VxWorks on a target with a relatively simple configuration. The <i class="title">VxWorks Programmer's Guide</i> and the <i class="title">VxWorks Network Programmer's Guide </i>elaborate on more advanced options, such as gateways, NFS, multiprocessor target systems, and so on. </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/note.gif"></td><td><hr><div class="CalloutCell"><a name="92393"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">NOTE:  </font></b></a>Before you set up your target hardware, you may find it productive to use Tornado with the integrated target simulator. See the <i class="title">Tornado Getting Started Guide </i>for a tutorial introduction. </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="H3"><i><a name="84411">2.3.1  &nbsp;&nbsp;Example Target Configurations</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84413"> </a>VxWorks is a flexible system that has been ported to many different hardware platforms. Two common examples are illustrated in this section.<div class="frame"><h4 class="EntityTitle"><a name="84488"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 2-2:&nbsp;&nbsp;A Minimal Tornado Configuration </font></a></h4><dl class="margin"><div class="Anchor"><a name="84485"> </a><img class="figure" border="0" src="images/c-starta8.gif"></div></dl></div></p><dd><p class="Body"><a name="84492"> </a><a href="c-start3.html#84488">Figure&nbsp;2-2</a> illustrates a minimal cross-development configuration: the target is a bare board, connected to the host development system by a single serial line. For a configuration of this sort, use a combination of a boot mechanism that does not require a network and an alternative Tornado communications back end. See <a href="c-start3.html#84570"><i class="title">2.3.2&nbsp;Standalone PCs and Non-Networked Targets</i></a> for more information. </p><dd><p class="Body"><a name="84502"> </a>Another target system configuration, representing a more resource-rich development environment, is shown in <a href="c-start3.html#84553">Figure&nbsp;2-3</a>. This environment corresponds to the default VxWorks run-time development configuration.<div class="frame"><h4 class="EntityTitle"><a name="84553"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 2-3:&nbsp;&nbsp;A Resource-Rich Tornado Configuration</font></a></h4><dl class="margin"><div class="Anchor"><a name="84550"> </a><img class="figure" border="0" src="images/c-starta9.gif"></div></dl></div></p><dd><p class="Body"><a name="84558"> </a>The configuration in <a href="c-start3.html#84553">Figure&nbsp;2-3</a> consists of the following:<p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93102"> </a>Chassis:</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93104"> </a>A card cage with backplane and power supply.</p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93106"> </a>Target CPU:</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93108"> </a>A single-board computer (target) where VxWorks is to run.</p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93110"> </a>Tornado PC:</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93112"> </a>A PC that runs the Tornado tools, and includes a serial connection to the target (used by the boot program for initial setup).</p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93114"> </a>File Server:</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="93116"> </a>A networked host where VxWorks binaries reside on disk; often the same workstation used as the console.</p></td><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p></p><dd><p class="Body"><a name="84564"> </a>For detailed information about your particular target Board Support Package (BSP), see <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Help</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Manuals&nbsp;Contents</font></b>&gt;<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">BSP&nbsp;Reference </font></b>in the Tornado IDE<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans"> </font></b>(<b class="file">c:\tornado\docs\BSP_Reference.html</b>). </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84570">2.3.2  &nbsp;&nbsp;Standalone PCs and Non-Networked Targets</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84571"> </a>Tornado can operate over a raw serial connection between the host and target systems, and can operate on standalone systems that have no network connection to other hosts. </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/warning.gif"></td><td><hr><div class="CalloutCell"><a name="92411"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">WARNING:  </font></b></a>Tornado tools such as the shell and debugger use the TCP/IP protocol to communicate with one another. Thus, you must have TCP/IP installed on your host even if it is not a networked system. To install TCP/IP on your PC as part of the Windows network support, following the instructions in your Windows documentation.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dl class="margin"><dd><p class="Body"><a name="84573"> </a>The following steps refer to configuration choices that are required during Windows TCP/IP installation:</p></dl><dl class="margin"><p><ol class="List"><li value="1."><a name="84574"> </a>Select a physical device for the TCP/IP binding. When there is no networking hardware, select <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Dial-up Adapter</font></b>.</li></ol></p><p><ol class="List"><li value="2."><a name="84575"> </a>TCP/IP configuration requires that you specify an IP address; you can choose any arbitrary address when you are not connecting to any other hosts. </li></ol></p><p><ol class="List"><li value="3."><a name="84576"> </a>Choose a name for your system, and enter it as the host name.</li></ol></p><p><ol class="List"><li value="4."><a name="84577"> </a>Disable Domain Name Service (DNS), because the service is not available.</li></ol></p><p><ol class="List"><li value="5."><a name="84578"> </a>Record your host name and associated IP address in the <b class="file">hosts</b> file. (On Windows 95, <b class="file">c:\windows\hosts</b>; on Windows NT, <b class="file">c:\winnt\system32\drivers\etc\hosts</b>.) </li></ol></p></dl><dl class="margin"><dd><p class="Body"><a name="84579"> </a>These steps produce a functioning TCP/IP subsystem on your host. Because your machine is not networked, the Tornado services must all run locally: make sure that the registry is running on your system (see <a href="c-start2.html#91837"><i class="title">2.2&nbsp;Host Setup: Tornado Registry</i></a>). </p><dd><p class="Body"><a name="94194"> </a>When you connect the host and target exclusively over serial lines, you must:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="94195"> </a>Configure and build a boot program for the serial connection, because the default boot configuration uses an FTP download from the host. </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="94206"> </a>Reconfigure and rebuild VxWorks with a target agent configuration for a serial connection.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="94213"> </a>Configure and start a target server for a serial connection.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="94207"> </a>See <a href="c-start4.html#90248"><i class="title">2.4.3&nbsp;Serial-Line Connections</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -