STMicroelectronics STM32F205/215, STM32F207/217 Flash Programming Manual

This manual describes how to program the Flash memory of STM32F205/215 and STM32F207/217 microcontrollers.


STMicroelectronics STM32F205/215, STM32F207/217 Flash Programming Manual - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
User Manual
Language
English
Pages
29
File format
PDF
File size
376 KB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
23CC9E6C13FD9440D2AC0BD6007C1920

About this manual

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.

What's inside

  • Glossary
  • Flash memory interface
  • Flash memory
  • Read interface
  • Erase and program operations
  • Option bytes
  • One-time programmable bytes
  • Flash interface registers
  • Revision history

Specifications

Flash memory capacityup to 1 Mbyte
Flash memory width128 bits
Flash memory organizationMain memory block (4x16K + 1x64K + 7x128K) + System memory + OTP area + Option bytes
Prefetch bufferYes

Frequently asked questions

What programming methods are supported?

In-circuit programming (ICP) using JTAG, SWD, or bootloader, and in-application programming (IAP) using interfaces like UART, SPI, or USB.

How do I configure wait states for Flash access?

Program the number of wait states (LATENCY) in the FLASH_ACR register based on CPU clock frequency and supply voltage, then verify the configuration.

What is the purpose of the option bytes?

They store product configuration bits including read/write protections, BOR level, watchdog settings, and reset behavior in Standby or Stop mode.

Download PDF (376 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →