50
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Figure 3-2 Bus address map
Bit banding
Cortex™-M4FP memory image includes two bit-band areas. These two bit-band areas map each word in the alias
memory area to a bit in the bit-band memory area. When writing a word in the alias area, it is equivalent to performing
a read-modify-write operation on the target bits of the bit segment area.
Both the peripheral registers and SRAM are mapped into a bit-band area, which allows a single bit-band area write
and read operation to be performed.
The following mapping formula shows how each byte in the alias area corresponds to the corresponding bit in the bit
Reserved
Vendor Specific 511MB
Private Peripheral
–
External 768KB
Private Peripheral
–
Internal 256KB
Extended register 1GB
Extended Device 1GB
Peripheral 0.5GB
SRAM 0.5GB
OptionBytes
Reserved
SystemMemory
Reserved
Aliased to SRAM
Reserved
Main FLASH
Reserved
Aliased to Flash/SystemMemory/SRAM
Reserved
Reserved(bit-band Alias)
SRAM Alias(bit-band Alias)
Reserved
Reserved(bit-band Region)
SRAM/Retention SRAM
(bit-band Region)
0x1FFF_F812
–
0x1FFF_FFFF
0x1FFF_F800
–
0x1FFF_F811
0x1FFF_4000
–
0x1FFF_F7FF
0x1FFF_0000
–
0x1FFF_3FFF
0x1002_0000
–
0x1FFE_FFFF
0x1000_0000
–
0x1001_FFFF
0x0808_0000
–
0x0FFF_FFFF
0x0800_0000
–
0x0807_FFFF
0x0008_0000
–
0x07FF_FFFF
0x0000_0000
–
0x0007_FFFF
0x2400_0000
–
0x3FFF_FFFF
0x2010_0000
–
0x21FF_FFFF
0x2002_4000
–
0x200F_FFFF
0x2002_0000
–
0x2002_3FFF
0x2000_0000
–
0x2001_FFFF
CODE 0.5GB
Reserved
Reserved(bit-band Alias)
Peripheral Alias(bit-band Alias)
Reserved
Reserved(bit-band Region)
AHB/APB1/APB2(bit-band Region)
0x4400_0000
–
0x5FFF_FFFF
0x4254_0000
–
0x43FF_FFFF
0x4200_0000
–
0x4253_FFFF
0x4010_0000
–
0x41FF_FFFF
0x4002_A000
–
0x400F_FFFF
0x4000_0000
–
0x4002_9FFF
Reserved
0x6000_0000
–
0x8FFF_FFFF
0x9000_0000
–
0x9FFF_FFFF
Reserved
NVIC
Reserved
FPB
DWT
ITM
0xE000_F000
–
0xE003_FFFF
0xE000_E000
–
0xE000_EFFF
0xE000_3000
–
0xE000_DFFF
0xE000_2000
–
0xE000_2FFF
0xE000_1000
–
0xE000_1FFF
0xE000_0000
–
0xE000_0FFF
Reserved
ROM Table
External PPB
Reserved
TPIU
0xE010_0000
–
0xFFFF_FFFF
0xE00F_F000
–
0xE00F_FFFF
0xE004_2000
–
0xE00F_EFFF
0xE004_1000
–
0xE004_1FFF
0xE004_0000
–
0xE004_0FFF
COMP
OPAMP
Reserved
TIM7
TIM6
TIM5
TIM4
TIM3
TIM2
0x4000_2400
–
0x4000_27FF
0x4000_2000
–
0x4000_23FF
0x4000_1800
–
0x4000_1BFF
0x4000_1400
–
0x4000_17FF
0x4000_1000
–
0x4000_13FF
0x4000_0C00
–
0x4000_0FFF
0x4000_0800
–
0x4000_0BFF
0x4000_0400
–
0x4000_07FF
0x4000_0000
–
0x4000_03FF
UART4
USART3
USART2
Reserved
SPI3/I2S3
SPI2/I2S2
Reserved
IWDG
WWDG
RTC
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
0x4000_2800
–
0x4000_2BFF
DAC
PWR
BKP
CAN2
CAN1
USB/CAN1 SRAM 512B
USB Register
I2C2
I2C1
UART5
0x4000_7400
–
0x4000_77FF
0x4000_7000
–
0x4000_73FF
0x4000_6C00
–
0x4000_6FFF
0x4000_6800
–
0x4000_6BFF
0x4000_6400
–
0x4000_67FF
0x4000_6000
–
0x4000_63FF
0x4000_5C00
–
0x4000_5FFF
0x4000_5800
–
0x4000_5BFF
0x4000_5400
–
0x4000_57FF
0x4000_5000
–
0x4000_53FF
GPIOG
GPIOF
GPIOE
GPIOD
GPIOC
GPIOB
GPIOA
EXTI
AFIO
Reserved
0x4001_2000
–
0x4001_23FF
0x4001_1C00
–
0x4001_1FFF
0x4001_1800
–
0x4001_1BFF
0x4001_1400
–
0x4001_17FF
0x4001_1000
–
0x4001_13FF
0x4001_0C00
–
0x4001_0FFF
0x4001_0800
–
0x4001_0BFF
0x4001_0400
–
0x4001_07FF
0x4001_0000
–
0x4001_03FF
0x4000_7800
–
0x4000_FFFF
UART6
DVP
I2C4
I2C3
Reserved
USART1
TIM8
SPI1
TIM1
Reserved
0x4001_5000
–
0x4001_53FF
0x4001_4C00
–
0x4001_4FFF
0x4001_4800
–
0x4001_4BFF
0x4001_4400
–
0x4001_47FF
0x4001_3C00
–
0x4001_43FF
0x4001_3800
–
0x4001_3BFF
0x4001_3400
–
0x4001_37FF
0x4001_3000
–
0x4001_33FF
0x4001_2C00
–
0x4001_2FFF
0x4001_2400
–
0x4001_2BFF
Reserved
UART7
0x4001_5800
–
0x4001_7FFF
0x4001_5400
–
0x4001_57FF
ADC4
ADC3
Reserved
RCC
ADC2
ADC1
DMA2
DMA1
Reserved
SDIO
0x4002_1C00
–
0x4002_1FFF
0x4002_1800
–
0x4002_1BFF
0x4002_1400
–
0x4002_17FF
0x4002_1000
–
0x4002_13FF
0x4002_0C00
–
0x4002_0FFF
0x4002_0800
–
0x4002_0BFF
0x4002_0400
–
0x4002_07FF
0x4002_0000
–
0x4002_03FF
0x4001_8400
–
0x4001_FFFF
0x4001_8000
–
0x4001_83FF
Reserved
ETH
MMU
Reserved
SAC SRAM 512B*2
SAC
Reserved
FLASH
0x4002_A000
–
0x5FFF_FFFF
0x4002_8000
–
0x4002_9FFF
0x4002_4C00
–
0x4002_4FFF
0x4002_4800
–
0x4002_4BFF
0x4002_4400
–
0x4002_47FF
0x4002_4000
–
0x4002_43FF
0x4002_3400
–
0x4002_3FFF
0x4002_2000
–
0x4002_23FF
CRC
Reserved
0x4002_3000
–
0x4002_33FF
0x4002_2400
–
0x4002_2FFF
APB
1
APB
2
AHB
QSPI Bank
Reserved
0xA000_0000
–
0xA000_0FFF
QSPI Register
0xA000_1000
–
0xA000_1FFF
Reserved
0xA000_2000
–
0xDFFF_FFFF
0x2248_0000
–
0x23FF_FFFF
0x2200_0000
–
0x2247_FFFF
Reserved
0x4002_5000
–
0x4002_7FFF
Reserved
0x4000_1C00
–
0x4000_1FFF