GD32W51x User Manual
84
2.5.
Register definition
FMC secure base address: 0x5002 2000
FMC non-secure base address: 0x4002 2000
2.5.1.
Unlock key register (FMC_KEY)
Address offset: 0x04
Reset value: 0x0000 0000
This register is non-secure. Protected against non-provileged access when FMC_PRIV = 1.
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
KEY[31:16]
w
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
KEY[15:0]
w
Bits
Fields
Descriptions
31:0
KEY[31:0]
FMC_CTL unlock register
These bits are only be w ritten by softw are.
Write KEY [31:0] w ith keys to unlock FMC_CTL register.
2.5.2.
Option byte unlock key register (FMC_OBKEY)
Address offset: 0x08
Reset value: 0x0000 0000
This register is non-secure. Protected against non-provileged access when FMC_PRIV =1.
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
OBKEY[31:16]
w
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
OBKEY[15:0]
w
Bits
Fields
Descriptions
31:0
OBKEY[31:0]
These bits are only be w ritten by softw are.
Write OBKEY [31:0] w ith keys to unlock OBWEN bit in FMC_CTL register.