📄 download.html
字号:
mso-pagination:widow-orphan;
font-size:7.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:black;}
p.postdetails, li.postdetails, div.postdetails
{mso-style-name:postdetails;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:6.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:black;}
p.postbody, li.postbody, div.postbody
{mso-style-name:postbody;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
line-height:15.05pt;
mso-pagination:widow-orphan;
font-size:7.5pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
p.code, li.code, div.code
{mso-style-name:code;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
background:#FAFAFA;
border:none;
mso-border-alt:solid #D1D7DC .75pt;
padding:0cm;
mso-padding-alt:0cm 0cm 0cm 0cm;
font-size:7.0pt;
font-family:Courier;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:#006600;}
p.quote, li.quote, div.quote
{mso-style-name:quote;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
line-height:125%;
mso-pagination:widow-orphan;
background:#FAFAFA;
border:none;
mso-border-alt:solid #D1D7DC .75pt;
padding:0cm;
mso-padding-alt:0cm 0cm 0cm 0cm;
font-size:7.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:#444444;}
p.copyright, li.copyright, div.copyright
{mso-style-name:copyright;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:6.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:#444444;
letter-spacing:-.85pt;}
p.helpline, li.helpline, div.helpline
{mso-style-name:helpline;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
background:#DEE3E7;
font-size:12.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
p.style1, li.style1, div.style1
{mso-style-name:style1;
margin-right:0cm;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
span.style11
{mso-style-name:style11;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:73280149;
mso-list-type:hybrid;
mso-list-template-ids:-445604140 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-start-at:2;
mso-level-text:"%1\)";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1
{mso-list-id:1643999998;
mso-list-type:hybrid;
mso-list-template-ids:-1143722126 -1734603276 -1745863280 280400032 -1221431936 1227267480 1094366432 1871729956 -1651723328 1363340138;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="#e5e5e5" lang=EN-GB link="#006699" vlink="#006699"
style='tab-interval:36.0pt'>
<div class=Section1>
<table border=1 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
mso-cellspacing:0cm;border:none;mso-padding-alt:0cm 0cm 0cm 0cm' height="100%">
<tr>
<td style='border:solid #98AAB1 .75pt;background:white;padding:0cm 0cm 0cm 0cm'>
<table border=0 cellspacing=0 cellpadding=0 width="100%" bgcolor=white
style='width:100.0%;mso-cellspacing:0cm;background:white;border:solid #006699 1.5pt;
mso-padding-alt:0cm 0cm 0cm 0cm'>
<tr>
<td style='border:inset .75pt;padding:0cm 0cm 0cm 0cm'>
<h3>IAR 4.31A Download Project <span style='font-family:"Trebuchet MS"'><o:p></o:p></span></h3>
</td>
</tr>
</table>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:Verdana;
color:black'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<table border=0 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
1.5pt;border:outset .75pt;mso-padding-alt:0cm 0cm 0cm 0cm'>
<tr style='height:245.25pt'>
<td style='border:inset .75pt;padding:.75pt .75pt .75pt .75pt;height:245.25pt'>
<h2><span style='font-size:10.0pt;font-family:Verdana'>Introduction<u1:p></u1:p><o:p></o:p></span></h2>
<p class=style1>The goal of this project is to download a project build
under the IAR tools using Flash methods to IAR Flash Tools<u3:p></u3:p></p>
<h2><span style='font-size:10.0pt;font-family:Verdana'>Use the IAR 4.31A
Flash feature <u1:p></u1:p><o:p></o:p></span></h2>
<p class=style1>The IAR Embedded Workbench IDE features a Tools Flash
utility.</p>
<p class=style1>This method can write in flash a IAR file format (*.sim)
(output format generated using option simple-code)</p>
<p class=style1>The IAR Flash download option to use a flash loader to download
your application to flash memory. If a flash loader is available for the
selected chip, it will be used as default. A flash loader can be described
as being an agent that is downloaded to the target. It fetches the actual
application from the C-SPY debugger and programs it into flash memory. </p>
<p class=style1>The flash loader uses the file I/O mechanism to read the
application program from the host. When the Flash download option is
enabled, the following steps will be performed when the debug session
starts:</p>
<p class=style1>1 C-SPY downloads the flash loader into target RAM.</p>
<p class=style1>2 C-SPY starts execution of the flash loader.</p>
<p class=style1>3 The flash loader opens the file holding the application
code.</p>
<p class=style1>4 The flash loader reads the application code and programs
it into flash memory.</p>
<p class=style1>5 The flash loader terminates.</p>
<p class=style1>6 C-SPY switches context to the user application.</p>
<p class=style1>A set of flash loaders for various micro controllers is
provided with the ARM IAR Embedded Workbench. In addition to these, other
flash loaders are provided by chip manufacturers and third-party vendors. </p>
<p class=style1>Two output files must be generated. The first is the usual
UBROF file (d79) that provides the debugger with debug and symbol
information. The second file is an IAR file (*.sim) that will be opened and
read by the flash loader when downloading the application to flash memory.</p>
<p class=style1><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=style1>To create the extra output file, choose Project->Options
and select the linker category. Select the Allow C-SPY-specific extra
output file option. In the Extra Output dialog, select the Generate extra
output file option. Choose intel-extended output format and format variant
None. Do not override the default output file. </p>
<p class=style1>Any errors during the download will be logged to a log
file. The log file will have the same path and name as the output files but
with the tail and filename extension _flash.log.</p>
<h2><span style='font-size:10.0pt;font-family:Verdana'>Process<o:p></o:p></span></h2>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;mso-list:l1 level1 lfo3;tab-stops:list 36.0pt'><span
class=style11><span style='font-size:10.0pt;font-family:Verdana'>Compile
the Flash Debug workspace application to generate the IAR file named
basicIAR.sim and the debug file named basic.d79<o:p></o:p></span></span></li>
</ul>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:18.0pt'><span class=style11><span style='font-size:10.0pt;
font-family:Verdana'>1)<span style='mso-tab-count:1'> </span>Download
this application using a JTAG ICE interface with the "Debug"
command<o:p></o:p></span></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo5;
tab-stops:list 36.0pt'><![if !supportLists]><span class=style11><span
style='font-size:10.0pt;font-family:Verdana'>2)<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><span class=style11><span style='font-size:
10.0pt;font-family:Verdana'>Open the “Debug Log” window <o:p></o:p></span></span></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><span
style='font-family:Verdana'><o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:Verdana;
color:black'><o:p></o:p></span></p>
</td>
</tr>
<tr style='height:10.5pt'>
<td style='border:solid #98AAB1 .75pt;background:white;padding:0cm 0cm 0cm 0cm;
height:10.5pt'>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:Verdana;
color:black'> <o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -