📄 rom5.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:05:52">
<title>9.2.2 Running and debugging the LKU </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="rom4.htm"><img src="images/navprev.gif" width="80" height="23"
border="0" alt="PREV"> </a></td>
<td><a href="rom6.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>
<h3>
<a name="1204497"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">9.2.2 Running and debugging the LKU</font>
</h3>
<p>
<a name="1204498"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The linked unit is loaded onto the target, run and debugged using <strong>st20run</strong>:</font>
</p>
<a name="1204499"> </a><font size=2 face=Courier><strong>st20run -i example.cfg -t keen example.lku -d<br></strong></font>
<p>
<a name="1204500"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The target <font size=2 face=Courier><strong>keen</strong></font> (identified in the command line by <font size=2 face=Courier><strong>t爇een</strong></font> and defined within <font size=2 face=Courier><strong>example.cfg</strong></font>) has a connect procedure which resets the board (<font size=2 face=Courier><strong>reset</strong></font>), tells the debugger about the hardware, initializes the system memory and configures the External Memory Interface (EMI).</font>
</p>
<p>
<a name="1204501"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The debugger is activated by the <strong>st20run</strong> command line option <font size=2 face=Courier><strong>d</strong></font>. On startup the debugger sets a breakpoint on <font size=2 face=Courier><strong>main</strong></font> and executes a <font size=2 face=Courier><strong>go</strong></font> command so that the GUI appears with the program "waiting" at the breakpoint on main.</font>
</p>
<p>
<a name="1204502"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">By default, the system sets software breakpoints (that is, instructions poked into the code).</font>
</p>
</blockquote>
<hr>
<table width="331" border="0" align="left" 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="rom4.htm"><img src="images/navprev.gif" width="80" height="23"
border="0" alt="PREV"> </a></td>
<td><a href="rom6.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>
<font size=1 face="Verdana, Arial, Helvetica, sans-serif"> © 2001, 2002, 2003 STMicroelectronics. All Rights Reserved.<br>
ADCS 7250966F</font>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -