Datasheet
DocID15056 Rev 5 25/80
STM32F102x8, STM32F102xB Memory mapping
79
Figure 5. Memory map
1K
APB memory space
DMA
RTC
WWDG
IWDG
SPI2
USART2
USART3
ADC1
USART1
SPI1
1K
35K
1K
1K
2K
1K
1K
2K
1K
1K
1K
1K
1K
7K
1K
1K
1K
1K
3K
1K
1K
1K
1K
1K
1K
1K
1K
2K
1K
1K
1K
I2C2
EXTI
RCC
1K
1K
1K
1K
1K
1K
1K
1K
3K
1K
3K
1K
4K
0
1
2
3
4
5
6
7
Peripherals
SRAM
reserved
reserved
Option Bytes
Reserved
0x4000 0000
0x4000 0400
0x4000 0800
0x4000 0C00
0x4000 2800
0x4000 2C00
0x4000 3000
0x4000 3400
0x4000 3800
0x4000 3C00
0x4000 4400
0x4000 4800
0x4000 4C00
0x4000 5400
0x4000 5800
0x4000 5C00
0x4000 6000
0x4000 6400
0x4000 6800
0x4000 6C00
0x4000 7000
0x4000 7400
0x4001 0000
0x4001 0400
0x4001 0800
0x4001 0C00
0x4001 1000
0x4001 1400
0x4001 1800
0x4001 1C00
0x4001 2400
0x4001 2800
0x4001 2C00
0x4001 3000
0x4001 3400
0x4001 3800
0x4001 3C00
0x4002 0000
0x4002 0400
0x4002 1000
0x4002 1400
0x4002 2000
0x4002 2400
0x4002 3000
0x4002 3400
0x6000 0000
0xE010 0000
0xFFFF FFFF
reserved
reserved
reserved
CRC
reserved
reserved
Flash interface
reserved
reserved
reserved
reserved
reserved
reserved
reserved
Port D
Port C
Port B
Port A
AFIO
PWR
BKP
reserved
reserved
512 byte USB SRAM
USB registers
I2C1
reserved
reserved
reserved
reserved
TIM4
TIM3
TIM2
0xFFFF FFFF
0xE010 0000
0xE000 0000
0xC000 0000
0xA000 0000
0x8000 0000
0x6000 0000
0x4000 0000
0x2000 0000
0x0000 0000
0x1FFF FFFF
0x1FFF F80F
0x1FFF F800
0x1FFF F000
0x0801FFFF
0x0800 0000
System memory
Flash memory
Cortex-M3 internal
peripherals
ai14971c
0x2000 3FFF
0xE000 0000
Cortex-M3 internal
peripherals
0x0000 0000
Aliased to Flash or
system memory
depending on
BOOT pins
reserved