📄 comman12.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="book_html">
<meta name="LASTUPDATED" content="12/04/03 16:07:46">
<title>chip</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 width="331" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><a href="a_refman.htm"><img src="images/navtoc.gif" width="84" height="23"
border="0" alt="TOC"> </a></td>
<td><a href="comman11.htm"><img src="images/navprev.gif" width="80" height="23"
border="0" alt="PREV"> </a></td>
<td><a href="comman13.htm"><img src="images/navnext.gif" width="83" height="23"
border="0" alt="NEXT"> </a></td>
<td><a href="a_refmaa.htm"><img src="images/navidx.gif" width="84" height="23"
border="0" alt="INDEX"> </a></td>
</tr>
</table>
<p><br clear="all">
</p>
<hr align="left">
<blockquote>
<h2>
<a name="1204763"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">chip</font>
</h2><hr>
<p>
<a name="1266634"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">Set target chip</font>
</p>
<h3>
<a name="1204765"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">Command type</font>
</h3>
<p>
<a name="1226855"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">Hardware configuration</font>
</p>
<h3>
<a name="1204767"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">Tool environment</font>
</h3>
<p>
<a name="1227945"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif"><strong>st20run</strong>, <strong>st20cc</strong>, <strong>st20sim</strong></font>
</p>
<h3>
<a name="1204768"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">Synopsis</font>
</h3>
<a name="1204769"> </a><font size=2 face=Courier><strong>chip <font size=2 face=Courier><strong><em>variant</em></strong></font><br></strong></font>
<h3>
<a name="1204770"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">Arguments</font>
</h3>
<p>
<a name="1223479"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif"><b><font size=2 face=Courier><strong><em>variant</em></strong></font></b></font>
<br>
<dl><dl> <dl>
<dt> <a name="1223481"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The name of a chip variant.</font>
</dl>
</dl></dl>
<h3>
<a name="1204773"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">Description</font>
</h3>
<p>
<a name="1204774"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The <font size=2 face=Courier><strong>chip</strong></font> command is used to declare core and chip specific information to the toolset. The core specific information includes:</font>
</p>
<ul>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204775"> </a>the processor type (ST20C1/ST20C2),</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204776"> </a>details of the on-chip memory,</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204777"> </a>the diagnostic controller unit (DCU2 or DCU3),</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204778"> </a>the name of CPU registers.</font></p>
</ul>
<p>
<a name="1204779"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The chip specific information includes:</font>
</p>
<ul>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204780"> </a>which procedure to call to perform cache control operations (see <a href="comman10.htm#1204710"><font color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>cachecontrol</i></font></a>),</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204781"> </a>which procedure to call to perform interrupt control operations (see <a href="comman55.htm#1206447"><font color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>interrupts</i></font></a>),</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204782"> </a>the name of the downloaded trap handler,</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204783"> </a>the address and name of chip specific register groups such as MPEG.</font></p>
</ul>
<p>
<a name="1204784"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The <font size=2 face=Courier><strong>chip</strong></font> command removes the requirement for a <font size=2 face=Courier><strong>processor</strong></font> command and the definition of memory segments that are internal to the processor (for example, internal memory and on-chip peripherals). It specifically does not define any external memory mapped devices, nor does it configure any memory interfaces for RAM, SDRAM or ROM.</font>
</p>
<p>
<a name="1204785"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The <font size=2 face=Courier><strong>chip</strong></font> command declares the memory segments for the core related memory, such as memory segment INTERNAL for the on-chip SRAM. If external memory is defined using <font size=2 face=Courier><strong>memory</strong></font> commands, it is important that these do not conflict with the use of the <font size=2 face=Courier><strong>chip</strong></font> command. Be aware of the constraints placed on the use of the <font size=2 face=Courier><strong>memory</strong></font> command which are documented in this chapter for the <font size=2 face=Courier><strong>memory</strong></font> command.</font>
</p>
<p>
<a name="1204789"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif"><a href="comman12.htm#1204926"><font color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Table
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -