STMicroelectronics AN2146 STR71xF Embedded Flash Programming with ADS

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.


STMicroelectronics AN2146 STR71xF Embedded Flash Programming with ADS - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
6
File format
PDF
File size
195 KB
Published
06 August, 2012
Updated
29 September, 2023
Model
STR71XF
MD5 checksum
86D27CC70E364CB295CDBEA20994EDA1

About this manual

This application note guides users on how to program binary files to the Flash memory of STR71xF microcontrollers using the ARM Developer Suite (ADS) software. It details the necessary hardware and software tools, including the STR710-EVAL board and the specific flash.li utility adapted by STMicroelectronics.

The document outlines the procedure for converting Executable Linkable Format (ELF) files to plain binary format using the fromELF utility. It further explains how to configure the target board's boot mode via switches and provides step-by-step instructions for connecting the hardware via Multi-ICE and executing the Flash download from the AXD debugger.

What's inside

  • Introduction
  • Necessary software and hardware tools
  • Overview of Flash programming with ADS
  • Converting ELF image file into plain binary format
  • Configuring and connecting to hardware
  • Using the Flash downloader from AXD
  • Revision History

Frequently asked questions

Which Flash downloader utility should be used for STR71xF devices?

The modified version of the Flash downloader (flash.li) provided with this application note must be used instead of the default integrator version.

How do you convert an ELF file to binary format?

Invoke the fromELF utility using the command line: fromelf -bin -o outfile.bin infile.axf.

What boot mode configuration is required before invoking the Flash downloader?

The target board should be configured to boot from RAM to ensure the memory where the Flash programming routine is downloaded is mapped to RAM.

Download PDF (195 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →