Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN2146 Arkusz danych(PDF) 2 Page - STMicroelectronics

Numer części AN2146
Szczegółowy opis  STR71xF Embedded Flash Programming with ADS
PDF  6 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2146 Arkusz danych(HTML) 2 Page - STMicroelectronics

  AN2146 Datasheet HTML 1Page - STMicroelectronics AN2146 Datasheet HTML 2Page - STMicroelectronics AN2146 Datasheet HTML 3Page - STMicroelectronics AN2146 Datasheet HTML 4Page - STMicroelectronics AN2146 Datasheet HTML 5Page - STMicroelectronics AN2146 Datasheet HTML 6Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 6 page
background image
STR71xF Embedded Flash Programming with ADS
2/6
2
Programming procedure
The following section takes you step by step through the process of downloading a binary file to Flash
memory.
The STR710-Eval board is used as an example to illustrate the hardware set up, however the same
fundamental procedure can be applied to other application/evaluation boards featuring ST ARM core-based
microcontrollers.
The example in this procedure also refers to ARM Multi-ICE, however it is possible to use the ARM Angel
Debug Monitor. For more information refer to the
ARM Software Development Toolkit User Guide.
2.1
Converting ELF image file into plain binary format
The file that you will program to internal Flash must be in plain binary format suitable for direct download into
Flash memory. You can convert your image files in Executable Linkable Format (ELF) to plain binary format
using the fromELF utility.
To convert an ELF file to a binary (.bin) file, invoke the fromELF utility using the command line as shown
below:
-bin: specifies the output file format
-o outfile.bin: specifies the name of the output file
infile.axf: specifies the ELF file to be translated
For a detailed explanation of the fromELF command line and options, you can refer to the
ARM Developer
Suite Linker and Utilities Guide.
2.2
Configuring and connecting to hardware
The target board should be configured to boot from RAM prior to invoking the Flash downloader utility. This
is to ensure that the memory where the Flash programming routine will be downloaded is mapped to RAM.
If you are using the STR710-Eval board, configure the boot mode as follows:
1
Configure switches SW13, SW14 and SW15 to RAM Mode (RAM mapped at 0h).
Note:
You can refer to STR710-Eval Board Datasheet for detailed descriptions of switch positions and
boot modes.
2
Connect the target board to your host PC via the Multi-ICE interface device and power on your
target board.
fromelf -bin -o outfile.bin infile.axf
Table 1: STR710-EVAL switch configuration
Switch
Description
Position
• SW13
Boot mode 1:
Execute code from internal RAM
RAM mapped at 0h
2-3
• SW14
Boot mode 0:
1-2
• SW15
Boot mode EN:
2-3



Html Pages

1 2 3 4 5 6


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com