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

📄 sibugs3.htm

📁 ST20 Embedded Toolset R2.0.5用于开发基于ST20芯片机顶盒软件的开发平台,2.0.5版本,国内找不到的.在国外论坛上花了N天才找到!
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.5">
<meta name="TEMPLATEBASE" content="noindex_htm">
<meta name="LASTUPDATED" content="12/04/03 16:47:34">
<title>D.2 All chips with DCU2 diagnostic controller</title>

<STYLE TYPE="text/css">
<!--
	span.Signal { text-transform: uppercase; font-family: Verdana }
-->
</STYLE>

</head>

<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC" bgcolor="#FFFFFF"
background="images/backgrnd.gif">

<p><img src="images/stlogo.gif" width="106" height="83" align="left"
alt="logo here!"> </p>

<table border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="a_delman.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"></a></td>
    <td><a href="sibugs2.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"></a></td>
    <td><a href="sibugs4.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"></a></td>
  </tr>
</table>

<p><br clear="all">
</p>

<hr align="left">

<blockquote>
<h2>
  <a name="1142946"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">D.2 	 All chips with DCU2 diagnostic controller</font>
</h2><hr>


<h3>
  <a name="1142947"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">D.2.1 	 Incorrect match on data breakpoints</font>
</h3>


<p>
  <a name="1142948"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">DCU data valued breakpoints match on all address greater than or equal to the parameter value rather than only the value given.</font>
</p>


<p>
  <a name="1142949"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Hence the command</font>
</p>


<a name="1142950"> </a><font size=2 face=Courier><strong>break var -h -d 24<br></strong></font>



<p>
  <a name="1142951"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">will match on all writes to addresses that are greater or equal to <font size=2 face=Courier><strong>var</strong></font> whose data value is 24.</font>
</p>


<h3>
  <a name="1142952"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">D.2.2 	 Incoherent view of memory when both dcache and jumptrace enabled bug INSbl05750</font>
</h3>


<p>
  <a name="1142953"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">When jump tracing is enabled all accesses to memory that are made via the DCU have the device bit set. When Dcache is enabled, the device bit means that CPU memory accesses are not cached. Consequently when both of these are enabled the DCU view of memory is not cache coherent. This has the effect that the jump trace may not contain a complete set of records.</font>
</p>


<h5>
  <a name="1142954"> </a><i><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">Work-arounds</font></i>
</h5>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1142955"> </a>Turn off the debug library using the <font size=2 face=Courier><strong>informs</strong></font> command when jump tracing.</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1142956"> </a>Avoid mixing jumptrace and viewing memory or variables.</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1142957"> </a>Do not use I/O (for example, <font size=2 face=Courier><strong>printf()</strong></font>) when jump tracing.</font></p>
</ul>

<h3>
  <a name="1142958"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">D.2.3 	 DCU bug INSbl07059</font>
</h3>


<p>
  <a name="1142959"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">There is a DCU bug whereby an access by the CPU to a DCU register may result in the wrong value being returned, depending on the memory accesses that may have preceded the DCU access. To work round this the following code should be executed prior to the DCU access:</font>
</p>


<a name="1142960"> </a><font size=2 face=Courier><strong>ldlp 0; ldnl 0; adc 0; pop ;<br></strong></font>



<p>
  <a name="1142961"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For example, to read the DCU Control register:</font>
</p>


<a name="1142962"> </a><font size=2 face=Courier><strong>ldc 0x3004 ;<br>ldlp 0; ldnl 0; adc 0; pop ;<br>ldnl 0;<br></strong></font>



<h3>
  <a name="1144465"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">D.2.4 	 DCU bug INSbl20569</font>
</h3>


<p>
  <a name="1144468"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">When trace is disabled with a '<font size=2 face=Courier><strong>break</strong></font> ... <font size=2 face=Courier><strong>-traceoff -notrap</strong></font>' command, jump trace cannot be re-enabled until the traphandler has been entered. This type of trace off action may be required when the intention is to disable and re-enable trace to trace only a chosen section of code, or to miss out tracing of, for example, a <strong>printf</strong>. To work-around this problem replace the <font size=2 face=Courier><strong>-notrap</strong></font> option with <font size=2 face=Courier><strong>-continue</strong></font>.</font>
</p>
</blockquote>

<hr>



<table border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="a_delman.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"></a></td>
    <td><a href="sibugs2.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"></a></td>
    <td><a href="sibugs4.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"></a></td>
  </tr>
</table>
<font size=1 face="Verdana, Arial, Helvetica, sans-serif">&nbsp; &copy; 2001, 2002, 2003 STMicroelectronics. All Rights Reserved.<br>
&nbsp; ADCS 7257995G</font>
</body>
</html>

⌨️ 快捷键说明

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