GD32W51x User Manual
271
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
NSM0_LEN[14:0]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
NSM0_SADD[13:0]
rw
Bits
Fields
Descriptions
31
Reserved
Must be kept at reset value
30:16
NSM0_LEN[14:0]
Length of the non-secure area (multiple of 8 Kbytes) of TZBMPC0
Note
: If NSM0_LEN + NSM0_SADD is over 16384, the value
will set to
0x4000
–
NSM0_SADD.
15:14
Reserved
Must be kept at reset value
13:0
NSM0_SADD[13:0]
The non-secure area (multiple of 8 Kbytes) start address of TZBMPC0.
Note
: After reset, if TZEN=1, the memory is marked to secure, if TZEN=0, the
memory is marked to non-secure.
9.4.9.
TZSPC
external
memory
x
non-secure
mark
register
1
(TZPCU_TZSPC_TZMMPCx_NSM1)
Address offset: 0x034 + 0x010 * x, (x = 0 to 1)
Reset value: 0x0000 0000
If TZEN = 1, the given reset value is valid.
If TZEN = 0, the reset value is 0x4000 0000.
Secure access only.
NOTE
: When NSM NSM1_LEN is over the maximum size of the memory,
NSM1_LEN will set a constrained maximum.
Every TZPCU_
TZMMPCx_NSMy(y=0~3) register can define a non-secure area of the
memory, the whole non-secure area of the memory is the union of these areas.
If NSM0_LEN = 16384 and TZPCU_NSM0_SADD = 0, the whole 128-Mbyte memory space
is non-secure (independent of TZPCU_TZMMPCx_NSM1, TZPCU_TZMMPCx_NSM2 and
TZPCU_
TZMMPCx_NSM3 value).
If NSM0_LEN = 0x001 and NSM0_SADD = 0x3FF, only one 8-Kbyte block is defined as non-
secure (at address offset = 0x7FF E000, ending at 0x07FF FFFF).
This register has to be accessed by word (32-bit).