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.
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.
| Target Microcontroller | STM32F105/107 |
|---|---|
| Programming Interface | USB Host Mass Storage |
| User Code Load Address | 0x08008000 |
| IAP Driver Size Limit | Less than 32 Kbytes |
No, this is a standalone IAP where the user only needs a Flash disk to upgrade the target STM32 device.
The menu options are Upload (to read Flash memory), Download (to write a binary file), and Jump (to execute the new code).
The user selects the Jump command to reset the MCU and execute the newly loaded program from address 0x08008000.