This manual describes how to program the Flash memory of STM32F205/215 and STM32F207/217 microcontrollers.
This manual explains how to program the Flash memory of STM32F205/215 and STM32F207/217 microcontrollers using in-circuit programming (ICP) or in-application programming (IAP). ICP uses JTAG, SWD, or bootloader to load applications, while IAP allows reprogramming through interfaces like UART, SPI, or USB while the application runs. The Flash interface supports prefetch, cache, and read/write protections. The document covers Flash memory organization, erase/program operations, option bytes, and register configurations.
| Flash memory capacity | up to 1 Mbyte |
|---|---|
| Flash memory width | 128 bits |
| Flash memory organization | Main memory block (4x16K + 1x64K + 7x128K) + System memory + OTP area + Option bytes |
| Prefetch buffer | Yes |
In-circuit programming (ICP) using JTAG, SWD, or bootloader, and in-application programming (IAP) using interfaces like UART, SPI, or USB.
Program the number of wait states (LATENCY) in the FLASH_ACR register based on CPU clock frequency and supply voltage, then verify the configuration.
They store product configuration bits including read/write protections, BOR level, watchdog settings, and reset behavior in Standby or Stop mode.