GD32F10x User Manual
44
2.
Flash memory controller (FMC)
2.1.
Overview
The flash 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 first 256K
bytes of the flash. It also provides page erase, mass erase, and word/half-word program
operations for flash memory.
2.2.
Characteristics
Up to 3072KB of on-chip flash memory for instruction and data.
No waiting time within first 256K bytes when CPU executes instructions. A long delay
when CPU fetches the instructions out of the range.
2 banks adopted for GD32F10x_CL with flash more than 512KB and GD32F10x_XD.
Bank0 is used for the first 512KB and bank1 is for the rest capacity.
Only bank0 is adopted for GD32F10x_CL with flash no more than 512KB and
GD32F10x_HD.
The flash page size is 1KB for GD32F10x_MD, for other series, the page size is 2KB for
bank0, 4KB for bank1.
Word/half-word programming, page erase and mass erase operation.
16B option bytes block for user application requirements.
Flash security protection to prevent illegal code/data access.
Page erase/program protection to prevent unexpected operation.
2.3.
Function overview
2.3.1.
Flash memory architecture
For GD32F10x_MD, the page size is 1KB. For GD32F10x_CL with flash no more than 512KB
and GD32F10x_HD, the page size is 2KB. For GD32F10x_CL and GD32F10x_XD, bank0 is
used for the first 512KB where the page size is 2KB. Bank1 is used for the rest capacity where
the page size is 4KB. Each page can be erased individually.
The
Table 2-2. GD32F10x_CL and GD32F10x_HD,
shows the details of flash organization.
Table 2-1. GD32F10x_MD
Block
Name
Address Range
size
(bytes)
Main Flash Block
Page 0
0x0800 0000 - 0x0800 03FF
1KB
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...