STM32F105xx, STM32F107xx
Memory mapping
4
Memory mapping
The memory map is shown in Figure 5.
Figure 5. Memory map
Reserved
0x5000 0400 - 0x5FFF FFFF
0x5000 0000 - 0x5003 FFFF
0x4003 0000 - 0x4FFF FFFF
0x4002 8000 - 0x4002 9FFF
0x4002 3400 - 0x4002 7FFF
0x4002 3000 - 0x4002 33FF
0x4002 2400 - 0x4002 2FFF
0x4002 2000 - 0x4002 23FF
USB OTG FS
Reserved
Ethernet
Reserved
CRC
Reserved
AHB
Flash interface
Reserved
RCC
Reserved
0x4002 1400 - 0x4002 1FFF
0x4002 1000 - 0x4002 13FF
0x4002 0800 - 0x4002 0FFF
0x4002 0400 - 0x4002 07FF
0x4002 0000 - 0x4002 03FF
DMA2
DMA1
Reserved
0x4001 3C00 - 0x4001 FFFF
0x4001 3800 - 0x4001 3BFF
0x4001 3400 - 0x4001 37FF
0x4001 3000 - 0x4001 33FF
0x4001 2C00 - 0x4001 2FFF
0x4001 2800 - 0x4001 2BFF
0x4001 2400 - 0x4001 27FF
0x4001 1C00 - 0x4001 23FF
0x4001 1800 - 0x4001 1BFF
0x4001 1400 - 0x4001 17FF
0x4001 1000 - 0x4001 13FF
USART1
Reserved
SPI1
0xFFFF FFFF
512-Mbyte
block 7
TIM1
ADC2
ADC1
Reserved
Port E
Port D
Port C
Cortex-M3's
internal
peripherals
0xE000 0000
0xDFFF FFFF
APB2
512-Mbyte
block 6
Not used
Port B
Port A
0x4001 0C00 - 0x4001 0FFF
0x4001 0800 - 0x4001 0BFF
0x4001 0400 - 0x4001 07FF
0x4001 0000 - 0x4001 3FFF
0x4000 7800 - 0x4000 FFFF
0x4000 7400 - 0x4000 77FF
EXTI
AFIO
Reserved
0xC000 0000
0xBFFF FFFF
512-Mbyte
block 5
Not used
DAC
PWR
0x4000 7000 - 0x4000 73FF
0x4000 6C00 - 0x4000 6FFF
0x4000 6800 - 0x4000 6BFF
0x4000 6400 - 0x4000 67FF
0x4000 5C00 - 0x4000 63FF
0x4000 5800 - 0x4000 5BFF
0x4000 5400 - 0x4000 57FF
0x4000 5000 - 0x4000 53FF
0x4000 4C00 - 0x4000 4FFF
0x4000 4800 - 0x4000 4BFF
0x4000 4400 - 0x4000 47FF
0x4000 4000 - 0x4000 43FF
0x4000 3C00 - 0x4000 3FFF
0x4000 3800 - 0x4000 3BFF
0x4000 3400 - 0x4000 37FF
0x4000 3000 - 0x4000 33FF
0x4000 2C00 - 0x4000 2FFF
BKP
0xB000 0000
0xAFFF FFFF
bxCAN2
512-Mbyte
block 4
Not used
bxCAN1
Reserved
I2C2
I2C1
0x8000 0000
UART5
UART4
0x7FFF FFFF
APB1
512-Mbyte
block 3
Not used
USART3
USART2
Reserved
0x6000 0000
0x5FFF FFFF
SPI3/I2S3
SPI2/I2S2
Reserved
IWDG
512-Mbyte
block 2
Peripherals
WWDG
RTC
0x4000 0000
0x3FFF FFFF
0x4000 2800 - 0x4000 2BFF
0x4000 1800 - 0x4000 27FF
0x4000 1400 - 0x4000 17FF
512-Mbyte
block 1
Reserved
TIM7
SRAM
0x4000 1000 - 0x4000 13FF
0x4000 0C00 - 0x4000 0FFF
0x4000 0800 - 0x4000 0BFF
0x4000 0400 - 0x4000 07FF
0x4000 0000 - 0x4000 03FF
TIM6
TIM5
0x2000 0000
0x1FFF FFFF
TIM4
512-Mbyte
block 0
Code
TIM3
TIM2
0x0000 0000
0x3FFF FFFF
Reserved
0x2001 0000
0x2000 FFFF
SRAM (aliased
by bit-banding)
0x2000 0000
Option bytes
0x1FFF F800 - 0x1FFF FFFF
System memory
0x1FFF B000 - 0x1FFF F7FF
0x1FFF AFFF
0x0804 0000
0x0803 FFFF
0x0800 0000
0x07FF FFFF
0x0004 0000
Reserved
Flash
Reserved
Aliased to Flash or system 0x0003 FFFF
memory depending on
BOOT pins
0x0000 0000
ai15412b
Doc ID 15274 Rev 6
31/104