GD32W51x User Manual
49
SWBOOT1
EFBOOT1
BOOT1 PA14
pin
BOOT1
0
-
0
0
0
-
1
1
1
0
-
0
1
1
-
1
Refer to
Table 1-8. Boot address modes when TrustZone is disabled (TZEN=0)
1-9. Boot modes when TrustZone is enabled (TZEN=1)
for boot address when TrustZone
is disabled and enabled respectively. When the EFBOOTLK bit in the EFUSE_CTL register
is set, the boot memory address selected according to boot1 and boot0.
Table 1-8. Boot address modes when TrustZone is disabled (TZEN=0)
EFBOOTL K
BOOT0
BOOT1
Boot address
Boot area
0
0
-
0x08000000
SIP Flash w hen
cfg_qspi is 0
QSPI Flash w hen
cfg_qspi is 1
0
1
0
0x0BF40000
Bootloader / ROM
0
1
1
0x0A000000
SRAM0
1
0
-
0x08000000
SIP Flash w hen
cfg_qspi is 0
QSPI Flash w hen
cfg_qspi is 1
1
1
-
0x0BF40000
Bootloader / ROM
When TrustZone is enabled by setting the TZEN option bit, the boot space must be in secure
area.
Table 1-9. Boot modes when TrustZone is enabled (TZEN=1)
GSSAC
MD ==
8’hc
(1)
EFBOOTL K
BOOT0
BOOT1
EFSB
Boot
address
Boot area
0
0
0
-
0
0x0C000
000
SPI Flash w hen cfg_qspi
is 0
QSPI Flash w hen
cfg_qspi is 1
0
0
0
-
1
0X0FF84
000
secure boot
0
0
1
0
-
0x0FF80
000
GSSA
0
0
1
1
-
0x0E000
000
SRAM0