GD32W51x User Manual
80
Access type
Fetch
Read
Write
Page erase
SPC 1
(2)
Non-secure
page or secure
page
Bus error
w rite invalid, SECWPERR flag
set
Table 2-5.
Flash non-secure operation under different protection levels when
TrustZone is active (TZEN=1)
Access type
Fetch
Read
Write
Page erase
SPC0, SPC
0.5, SPC 1
(1)
Non-secure
page
OK
no w rite
protection
pages: OK
w rite protection
pages: WI and
WPERR flag set
DMP area
(DMPxEN=1 and
DMPx_ACCDIS=
1)
Bus error
all read data is 0,
Flash illegal
access event
w rite invalid, WPERR flag set,
Flash illegal access event
Secure page
SPC 1
(2)
Non-secure
page or secure
page
Bus error
w rite invalid,
SECWPERR
flag set
Note
:
(1)Booting from Flash and no debug access. (2) Debug access is detected.
Table 2-6.
Flash operation under different protection levels when TrustZone is
disable (TZEN=0)
Access type
Fetch
Read
Write
Page erase
SPC0, SPC 0.5, SPC 1
(1)
OK
no w rite protection pages: OK
w rite protection pages: WI and
WPERR flag set
SPC 1
(2)
Bus error
w rite invalid,
WPERR flag set
Note
:
(1)Booting from Flash and no debug access. (2) Debug access is detected.