English
Language : 

AN4045 Datasheet, PDF (1/16 Pages) STMicroelectronics – STM32F3 series in-application programming
AN4045
Application note
STM32F3 series in-application programming (IAP)
using the USART
Introduction
An important requirement for most Flash-memory-based systems is the ability to update the
firmware when installed in the end product. This ability is referred to as in-application
programming (IAP). The purpose of this application note is to provide general guidelines for
creating an IAP application.
The microcontrollers of the STM32F3 series can run user-specific firmware to perform the
IAP of the microcontroller-embedded Flash memory. This feature allows the use of any type
of communication protocol for the reprogramming process. The USART is the example used
in this application note. This application note also presents two methods to calculate CRC
(software and hardware). This possibility is new in the microcontrollers of the STM32F3
series.
Table 1 presents the list of products to which this application note applies.
Type
Software
Microcontrollers
Table 1. Applicable product and software
Applicable product
STSW-STM32111
STM32F3 series
January 2015
DocID022782 Rev 2
1/16
www.st.com
1