STMicroelectronics STM32F10xxx Flash Memory Programming Manual

This manual describes in detail the Flash memory programming methods for STM32F10xxx series MCUs, including in-circuit programming and application programming


STMicroelectronics STM32F10xxx Flash Memory Programming Manual - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
User Manual
Language
English
Pages
31
File format
PDF
File size
296 KB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
4A3E9CBBC7C70AA6D3D0C9B5CE57C53D

About this manual

This manual explains how to program the Flash memory of STM32F10xxx microcontrollers using in-circuit (ICP) or in-application (IAP) programming. It covers Flash memory organization, read/write operations, protection mechanisms, and register descriptions. The Flash interface supports prefetch buffers and implements program/erase operations over the full voltage range. The document applies to STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx, and STM32F107xx devices.

The manual includes detailed register descriptions, memory block layouts for different device densities, and procedures for unlocking, programming, and erasing Flash memory. It also covers read/write protections and option byte programming. The STM3210C-EVAL evaluation board is referenced as an applicable tool for testing and development.

What's inside

  • Overview
  • Reading/Programming the Embedded Flash Memory
  • Register Descriptions
  • Flash Module Organization
  • Protections
  • Option Byte Description
  • Revision History

Specifications

Flash Memory Sizeup to 512 Kbytes
Memory OrganizationMain memory block: 4 Kbits × 64 bits for low-density devices
Flash InterfaceRead interface with prefetch buffer (2 × 64-bit words)
Programming MethodsIn-circuit (ICP) or in-application (IAP)

Frequently asked questions

What interfaces can be used to activate the boot loader in connectivity line devices?

USART1, USART2 (remapped), CAN2 (remapped), or USB OTG FS in Device mode (DFU).

What microcontrollers does this manual cover?

It covers STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx microcontrollers.

What is the base address for the Flash memory in connectivity line devices?

The base address for the main memory is 0x0800 0000.

How many pages are in the main memory for high-density devices?

There are 256 pages of 2 Kbytes each.

Download PDF (296 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →