Key facts
- Brand
- STMicroelectronics
- Model
- STM32F41x
- Category
- microcontrollers
- Documents
- 2
- Languages
- EN
- Last added
- 2012-08-07
Start here

STMicroelectronics AN3965 STM32F40x/STM32F41x In-Application Programming Using USART Application Note
The document describes how to implement In-Application Programming (IAP) on STM32F4xx devices, allowing firmware updates via a communication protocol. The specific example provided utilizes the Universal Synchronous Asynchronous Receiver Transmitter (USART) peripheral for data transfer.
An IAP driver is detailed which includes source files for USART initialization, menu management, and Flash memory operations. The driver supports downloading binary files from a PC terminal using the YMODEM protocol, uploading internal Flash content, executing new programs, and managing write protection settings.
STMicroelectronics STM32F41x specifications
| Supported Microcontrollers | STM32F40x/STM32F41x |
|---|---|
| Communication Protocol Example | USART |
| Data Transfer Protocol | YMODEM |
| Baud Rate Example | 115200 bps |
All STMicroelectronics STM32F41x documents by type
How to use the product for one specific task, with worked examples.
Questions answered in these manuals
What communication protocol is used for the IAP example?
The application note uses the USART as the example communication protocol.
Which data transfer protocol does the driver support?
The YMODEM protocol is used to receive and send data from/to the HyperTerminal application.
What is the purpose of this application note?
It describes the software solution for substituting standalone EEPROM by emulating the EEPROM mechanism using the on-chip Flash.
From: STMicroelectronics AN3969 EEPROM Emulation in STM32F40x/STM32F41x Microcontrollers Application Note
What are the requirements for the EEPROM emulation driver?
The driver must be lightweight with a simple API, have reduced footprint, and support background sector erase.
From: STMicroelectronics AN3969 EEPROM Emulation in STM32F40x/STM32F41x Microcontrollers Application Note
