GD32F10x User Manual
41
Selected boot source
Boot mode selection pins
Boot1
Boot0
Boot loader
0
1
On-chip SRAM
1
1
Note:
When the boot source is hoped to be set as
“Main Flash Memory”, the Boot0 pin has
to be connected with GND definitely and can not be floating.
After power-on sequence or a system reset, the Arm
®
Cortex
®
-M3 processor fetches the top-
of-stack value from address 0x0000 0000 and the base address of boot code from 0x0000
0004 in sequence. Then, it starts executing code from the base address of boot code.
Due to the selected boot source, either the main flash memory (original memory space
beginning at 0x0800 0000) or the system memory (MD series original memory space
beginning at 0x1FFF FF00, please refer to
Table 2-2. GD32F10x_CL and GD32F10x_HD,
for other series addresses) is aliased in the boot memory space which begins
at the address 0x0000 0000. When the on-chip SRAM whose memory space is beginning at
0x2000 0000 is selected as the boot source, in the application initialization code, you have to
relocate the vector table in SRAM using the NVIC exception table and offset register.
The embedded boot loader is located in the System memory, which is used to reprogram the
Flash memory. In GD32F10x devices, the boot loader can be activated through the USART0
interface.
1.5.
Device electronic signature
The device electronic signature contains memory size information and the 96-bit unique
device ID. It is stored in the information block of the Flash memory. The 96-bit unique device
ID is unique for any device. It can be used as serial numbers, or part of security keys, etc.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...