PM0075
Table 4.
Block
Main memory
Information block
Flash memory
interface
registers
The Flash memory is organized as 32-bit wide memory cells that can be used for storing
both code and data constants. The Flash module is located at a specific base address in the
memory map of each STM32F10xxx microcontroller type. For the base address, please
refer to the related STM32F10xxx reference manual.
The information block is divided into two parts:
●
System memory is used to boot the device in System memory boot mode. The area is
reserved for use by STMicroelectronics and contains the boot loader which is used to
reprogram the Flash memory using the USART1 serial interface. It is programmed by
ST when the device is manufactured, and protected against spurious write/erase
operations. For further details please refer to AN2606.
In connectivity line devices the boot loader can be activated through one of the
following interfaces: USART1, USART2 (remapped), CAN2 (remapped) or USB OTG
FS in Device mode (DFU: device firmware upgrade). The USART peripheral operates
with the internal 8 MHz oscillator (HSI). The CAN and USB OTG FS, however, can only
function if an external 8 MHz, 14.7456 MHz or 25 MHz clock (HSE) is present. For
further details, please refer to AN2662 ("STM32F105xx and STM32F107xx system
memory boot mode") available from www.st.com.
●
Option bytes
Write operations to the main memory block and the option bytes are managed by an
embedded Flash Program/Erase Controller (FPEC). The high voltage needed for
Program/Erase operations is internally generated.
Flash module organization (connectivity line devices)
Name
Page 0
Page 1
Page 2
Page 3
.
.
.
Page 127
System memory
Option Bytes
FLASH_ACR
FLASH_KEYR
FLASH_OPTKEYR
FLASH_SR
FLASH_CR
FLASH_AR
Reserved
FLASH_OBR
FLASH_WRPR
Doc ID 17863 Rev 1
Base addresses
0x0800 0000 - 0x0800 07FF
0x0800 0800 - 0x0800 0FFF
0x0800 1000 - 0x0800 17FF
0x0800 1800 - 0x0800 1FFF
.
.
.
0x0803 F800 - 0x0803 FFFF
0x1FFF B000 - 0x1FFF F7FF
0x1FFF F800 - 0x1FFF F80F
0x4002 2000 - 0x4002 2003
0x4002 2004 - 0x4002 2007
0x4002 2008 - 0x4002 200B
0x4002 200C - 0x4002 200F
0x4002 2010 - 0x4002 2013
0x4002 2014 - 0x4002 2017
0x4002 2018 - 0x4002 201B
0x4002 201C - 0x4002 201F
0x4002 2020 - 0x4002 2023
Overview
Size (bytes)
2 Kbytes
2 Kbytes
2 Kbytes
2 Kbytes
.
.
.
2 Kbytes
18 Kbytes
16
4
4
4
4
4
4
4
4
4
9/31
Need help?
Do you have a question about the STM32F101xx series and is the answer not in the manual?
Questions and answers