
GD32F403xx User Manual
39
2.
Flash memory controller (FMC)
2.1.
Introduction
The f lash memory controller, FMC, provides all the necessary functions for the on-chip flash
memory. There is no waiting time while CPU executes instructions stored in the f irst 256K
bytes of the f lash. It also provides page erase, mass erase, and word/half-word/bit program
operations for flash memory.
2.2.
Main features
◼
Up to 3072KB of on-chip flash memory for instruction and data;
◼
No waiting time within f irst 256K bytes when CPU executes instructions. A long delay
when CPU f etches the instructions out of the range;
◼
2 banks adopted f or GD32F403xx with f lash more than 512KB. Bank0 is used f or the
f irst 512KB and bank1 is for the rest capacity;
◼
The f lash page size is 2KB for bank0, 4KB for bank1;
◼
Word/half-word/bit programming, page erase and mass erase operation;
◼
16B option bytes block for user application requirements;
◼
Option bytes are uploaded to the option byte control registers on every system reset;
◼
Flash security protection to prevent illegal code/data access;
◼
Page erase/program protection to prevent unexpected operation.
2.3.
Function description
2.3.1.
Flash memory architecture
For GD32F403xx with f lash no more than 512KB, the page size is 2KB. For GD32F403xx
with f lash more than 512KB, bank0 is used f or the f irst 512KB where the page size is 2KB.
Bank1 is used f or the rest capacity where the page size is 4KB. Each page can be erased
individually.
Table 2-1. GD32F403xx base address and size for flash memory
shows the details of
f lash organization.
Table 2-1. GD32F403xx base address and size for flash memory
Block
Name
Address Range
size
(bytes)
Main Flash Block
Page 0
0x0800 0000 - 0x0800 07FF
2KB
Page 1
0x0800 0800 - 0x0800 0FFF
2KB
Page 2
0x0800 1000 - 0x0800 17FF
2KB
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...