English
Language : 

AN2146 Datasheet, PDF (1/6 Pages) STMicroelectronics – STR71xF Embedded Flash Programming with ADS
AN2146
®
APPLICATION NOTE
STR71xF Embedded Flash Programming with ADS
INTRODUCTION
The purpose of this application note is to provide ARM Developer Suite (ADS) users with information to
help them program binary files to Flash memory using the software’s Flash downloader utility. This document
provides step-by-step instructions for converting an application in ELF format to simple binary format and
then downloading the resulting binary to the internal Flash memory of the STR71xF microcontroller on a
target application board.
Necessary software and hardware tools
● ARM Developer Suite version 1.2, a complete software development solution for creating
applications for ARM core-based microcontrollers that includes the AXD debugger.
● Flash downloader (flash.li) for STR71xF, the modified version of the default Flash downloader,
included with this application note, which allows the identification and programming of STR71xF
devices.
Note: The default integrator version of the Flash downloader that is used to program other standard CFI-
type Flash devices is furnished in binary format in the directory: install_directory\ADS\bin\flash.li.
You may want to keep a copy of the default version of flash.li in another directory or with another
name if you work with devices other than the STR71xF.
● STR710 Evaluation Board (STR710-EVAL) or other evaluation/application board featuring an
STR71xF microcontroller.
● ARM MULTI-ICE server and interface unit (JTAG standard interface)
Note:
It is also possible to use ARM Angel Debug Monitor (running from RAM) and a serial or parallel
connection to the host PC. For more information about Angel, refer to the ARM Software
Development Toolkit User Guide.
1 Overview of Flash programming with ADS
When you invoke the Flash downloader utility (flash.li) from the AXD debugger, the debugger downloads this
utility into RAM on the target board. The microcontroller then executes the Flash programming routine,
retrieving the binary file from the host PC and then programming it to Flash memory.
The Flash downloader utility (flash.li) provided with this application note has been adapted by ST
Microelectronics to allow programming of STR71xF microcontrollers. This modified version must be used
when programming your STR71xF device, instead of the default integrator version of the Flash downloader
that is provided with ADS.
May 2005
REV. 1
1/6