STMicroelectronics STR7xx In-Application Programming Application Note AN2078

This document provides an overview and running guide for STR7 in-application programming using UART.


STMicroelectronics STR7xx In-Application Programming Application Note AN2078 - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
13
File format
PDF
File size
150 KB
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
64A775A5272A40813035243BE528B8DE

About this manual

The document describes the principle and implementation of In-Application Programming (IAP) for STR7xx microcontrollers. It details how the IAP driver loads a binary file from a HyperTerminal application via the UART protocol into the MCU's internal Flash memory.

The guide provides specific instructions on configuring the HyperTerminal, triggering the execution of the IAP driver using push buttons or active levels, and navigating the IAP menu to download new images. It also includes implementation summaries for different STR7xx series (STR71x, STR73x, STR75x) regarding memory addresses and pin configurations.

What's inside

  • IAP Overview
  • Principle
  • Running the IAP driver
  • HyperTerminal configuration
  • Triggering execution of the IAP driver
  • IAP driver Menu
  • Download image to internal Flash
  • Execute the new program
  • STR7xx IAP implementation Summary
  • User program conditions

Specifications

IAP driver code size (STR71x)7.2 Kbytes
IAP driver code size (STR73x)8.3 Kbytes
IAP driver code size (STR75x)5.8 Kbytes
UART Baud rate example115200 bps

Frequently asked questions

How is the IAP driver triggered?

The user can keep a push button pressed at reset to run the IAP driver, or enter signals on specific pins corresponding to their active levels.

Which protocol is used for data transfer?

The YMODEM protocol is used to receive all data from the HyperTerminal application.

Where must the IAP driver be programmed?

The IAP driver must be programmed at the Flash base address (sector 0 base address).

Download PDF (150 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →