STMicroelectronics AN3310 Application Note: Updating Firmware in STM32L1xx Microcontrollers via USART IAP

This document provides guidelines for updating firmware in STM32L1xx microcontrollers through in-application programming using the USART.


STMicroelectronics AN3310 Application Note: Updating Firmware in STM32L1xx Microcontrollers via USART IAP - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
19
File format
PDF
File size
351 KB
Published
06 August, 2012
Updated
29 September, 2023
MD5 checksum
85B4B34ABFB46C44BD0CC458EC3DEBF0

About this manual

The document describes how to implement In-Application Programming (IAP) on STM32L1xx microcontrollers, specifically targeting ultra-low power medium-density, medium-density plus, and high-density devices. It details the use of an IAP driver programmed into Flash memory via JTAG/SWD to facilitate firmware updates.

What's inside

  • IAP Overview
  • Running the IAP Driver
  • HyperTerminal Configuration
  • Downloading an Image
  • Uploading an Image
  • Executing the New Program
  • Memory Write Protection
  • Dual Bank Feature

Specifications

Supported Microcontroller SeriesSTM32L1xx (medium-density, medium-density plus, high-density)
Baud Rate Example115200 bps

Frequently asked questions

How is the IAP driver programmed into memory?

The IAP driver should be programmed to the Flash memory base address via the JTAG/SWD interface using a development toolchain or factory-embedded bootloader.

How does the user switch to IAP mode?

The user can press a push-button connected to a specific pin at reset; not pressing it switches to the user application.

Download PDF (351 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →