port4.htm

来自「ST20 Embedded Toolset R2.0.5用于开发基于ST20芯片」· HTM 代码 · 共 88 行

HTM
88
字号
<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:30">
<title>C.3 Configuration file changes</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="port3.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"></a></td>
    <td><a href="port5.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="1142982"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">C.3 	 Configuration file changes</font>
</h2><hr>


<p>
  <a name="1142983"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Two changes to configuration files used by <strong>st20run</strong> are required by R1.7 and R1.8 compared with earlier versions:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1142984"> </a>It is now mandatory to supply a <font size=2 face=Courier><strong>TRAPHANDLER</strong></font> memory segment. This must be of type <font size=2 face=Courier><strong>DEBUG</strong></font>, and be at least 1燢byte in size. Previously this was only required when debugging boot-from-ROM systems, but it is now always required.</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1142985"> </a>A <font size=2 face=Courier><strong>chip</strong></font> command has been introduced, which can be used to describe the chip the program is running on. As well as defining the CPU type (ST20-C1 or ST20-C2) this also defines memory segments for internal memory and peripheral registers, and tells the debugger about many of the on-chip registers, so they can be displayed with the <font size=2 face=Courier><strong>register</strong></font> command or in the register window.</font></p>
</ul>

<p>
  <a name="1142986"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For parts that have a DCU3, then the use of the <font size=2 face=Courier><strong>chip</strong></font> command is mandatory. For instance; the STi5514, STV0396 and STV3500 have a DCU3 and so require the <font size=2 face=Courier><strong>chip</strong></font> command.</font>
</p>


<p>
  <a name="1142987"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For other chips, the use of the <font size=2 face=Courier><strong>chip</strong></font> command is not mandatory (unless <font size=2 face=Courier><strong>-runtime os20</strong></font> is used), but does simplify many configuration files.</font>
</p>


<p>
  <a name="1142988"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">When switching to using the <font size=2 face=Courier><strong>chip</strong></font> command, it is usually necessary to remove existing definitions of internal memory and <font size=2 face=Courier><strong>processor</strong></font> commands.</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="port3.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"></a></td>
    <td><a href="port5.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 + =
减小字号Ctrl + -
显示快捷键?