GD32W51x User Manual
92
Bits
Fields
Descriptions
31:0
SECADDR[31:0]
Flash erase/program command address bits
These bits are configured by softw are.
ADDR bits are the address of Flash erase/program command.
2.5.11.
Option byte register (FMC_OBR)
Address offset: 0x40
Reset value: 0xXXXX XXXX (Register bits 0 to 31 are loaded with values from Flash memory
when OBRLD is set or system reset. The loading condition of the SRAM1_RST bit must be
power-on reset.)
This register can only be written if OBWEN bit is set. This register is non-secure. It can be
read and written by both secure and non-secure access. This register can be protected
against non-privileged access when PRIV=1 in the FMC_PRIV register.
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TZEN
Reserved
SRAM1_
RST
Reserved
SPC[7:0]
rw
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15
TZEN
Trust zone enable bit
0: Disable Trust zone function. Effective after system reset.
1: Enable Trust zone function. Effective after system reset.
Note:
If there are option bytes, this bit decides w hether to enable Trust zone or not ,
otherw ise TZEN bit in EFUSE_TZ CTL register decides.
14:13
Reserved
Must be kept at reset value.
12
SRAM1_RST
SRAM1 reset enable bit
0: no effect
1: clear SRAM1 data automatically. Effective after system reset.
11:8
Reserved
Must be kept at reset value.
7:0
SPC[7:0]
Flash security protection value. Effective after system reset.
Note:
If there are option bytes, the security protection of the Flash memory is
subject to this bits field, otherw ise it is subject to the FP[7:0] bits in the