STMicroelectronics AN3354 STM32F105/107 IAP Application Note

This document provides guidelines for creating an in-application programming (IAP) application using the STM32F105/107 microcontroller. The microcontroller can be updated using a USB host. The document focuses on using USB host mass storage as an example. This method allows firmware upgrades without the need for a computer.


STMicroelectronics AN3354 STM32F105/107 IAP Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
10
File format
PDF
File size
97 KB
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
6662471105A3C2FBC635D5A1D8D9AFD7

About this manual

This document provides guidelines for creating an in-application programming (IAP) application for the STM32F105/107 microcontroller family. It details a standalone IAP solution where firmware can be upgraded using a USB flash drive without requiring a host computer connection. The system utilizes the USB Host Mass Storage library to download binary files to the device's internal Flash memory or upload the current firmware content.

What's inside

  • IAP overview
  • IAP driver description
  • Upload command
  • Download command
  • Jump command
  • User program condition
  • Flash memory usage
  • Revision history

Specifications

Target MicrocontrollerSTM32F105/107
Programming InterfaceUSB Host Mass Storage
User Code Load Address0x08008000
IAP Driver Size LimitLess than 32 Kbytes

Frequently asked questions

Does this IAP method require a host computer?

No, this is a standalone IAP where the user only needs a Flash disk to upgrade the target STM32 device.

What are the three main IAP menu options?

The menu options are Upload (to read Flash memory), Download (to write a binary file), and Jump (to execute the new code).

How is the new program executed after download?

The user selects the Jump command to reset the MCU and execute the newly loaded program from address 0x08008000.

Download PDF (97 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →