📄 c-upload4.html
字号:
</td><td><hr><div class="CalloutCell"><a name="88743"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">NOTE: </font></b></a>Be sure that the address range you choose for your preserved memory is aligned according to the requirements of your board.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><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="88752"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">WARNING: </font></b></a>If you reconfigure your system memory to <i class="term">reserve</i> a memory partition for your post-mortem buffer, you must rebuild your VxWorks image and your boot ROM, reboot your target, and reset the WindView configuration by clicking <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Reset</font></b> in the<b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans"> Collection Configuration</font></b> dialog box. See <a href="c-xfer2.html#83954"><i class="title">Post-Mortem Mode</i></a>.</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"><p><ol class="List"><li value="2."><a name="86041"> </a>Once you have identified a preserved memory region, you can select post-mortem mode by clicking on the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Post-Mortem</font></b> radio button. When you do this, the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Buffer Configuration</font></b> section changes to allow the post-mortem area to be specified. (If you have reset the configuration, the lower and upper address of the preserved area are preset to correspond to the values returned by <b class="routine"><i class="routine">sysMemTop</i></b><b>( )</b> and <b class="routine"><i class="routine">sysPhysMemTop</i></b><b>( )</b>.</li></ol></p><dl class="margin"><dd><div class="Indent"><a name="87282"> </a>If you have rebuilt the VxWorks image and target boot ROMs, these values automatically represent the post-mortem region you have reserved. However, you can modify these values if you wish to reduce the region used for the event buffer, though you must stay within the reserved region.</div><br><dd><div class="Indent"><a name="87285"> </a>If you have provided a preserved region by some other means, enter the lower and upper address of this region in the buffer configuration boxes. No checks are performed to confirm that the values entered are actually preserved or that they actually exist.</div><br><dd><div class="Indent"><a name="87288"> </a>The region specified is used to hold an rBuff whose configuration is automatically determined by WindView (see <a href="c-xfer2.html#83954"><i class="title">Post-Mortem Mode</i></a>).</div><br><dd><div class="Indent"><a name="87294"> </a>After clicking <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">OK</font></b>, confirm that the level of instrumentation and other parameters are still correctly configured following the configuration reset. </div><br></dl></dl><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="88839"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">WARNING: </font></b></a>The automatic configuration of the post-mortem region following reconfiguration of the boot ROM relies upon the values returned by <b class="routine"><i class="routine">sysMemTop</i></b><b>( )</b> and <b class="routine"><i class="routine">sysPhysMemTop</i></b><b>( )</b>. Care should be taken to ensure that these values are valid for the specific target board you are using, as boards sharing the same BSP are often supplied with varying amounts of onboard memory.</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"><p><ol class="List"><li value="3."><a name="86056"> </a>You are now ready to collect a post-mortem event log. Note that you must still start WindView logging by using either the <img class="figure" border="0" src="images/c-upload7.gif"> button or triggering.</li></ol></p><p><ol class="List"><li value="4."><a name="86060"> </a>Perform those actions necessary to reproduce the sequence resulting in the application failure. </li></ol></p><p><ol class="List"><li value="5."><a name="86064"> </a>Once the failure has occurred, click on the <img class="figure" border="0" src="images/c-upload8.gif"> button in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Control</font></b> window and wait for the target to reboot. This may require pressing the button on the front panel of the target or some equivalent action. However, do not remove power from the board as doing so clears all memory on most target boards.</li></ol></p><p><ol class="List"><li value="6."><a name="86065"> </a>After reboot the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Control</font></b> window does not indicate the presence of an event buffer. To upload the post-mortem buffer you must first cause WindView to find it. Do this by opening the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Collection Configuration</font></b> dialog box and clicking <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Properties</font></b> followed by <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">OK</font></b>. A message box appears indicating that a post-mortem event buffer has been found. Click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">OK</font></b> and return to the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Control</font></b> window. The post-mortem event log is now represented in the summary and is available for upload in exactly the same manner as other logs.</li></ol></p></dl><dl class="margin"><dd><p class="Body"><a name="86066"> </a>Subsequent analysis of the log should now reveal those events leading up to the demise of the application. </p><dd><p class="Body"><a name="83719"> </a></p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-upload.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-upload.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-upload3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-display.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -