AT32WB415
Series Reference Manual
2022.04.13
Page 76
Ver 2.00
match its inverse code in the user system data area. At this
point, this byte and its inverse code will be forced to0xFF
when being read.
5.7.8
Erase/program protection status register (FLASH_EPPS)
Bit
Register
Reset value
Type
Description
Bit 31: 0
EPPS
0xFFFF FFFF ro
Erase/Program protection status
This register reflects the erase/program protection byte
status in the loaded user system data.
5.7.9
Flash security library status register0 (SLIB_STS0)
For Flash memory security library only.
Bit
Register
Reset value
Type
Description
Bit 31: 24 Reserved
0x00
resd
Kept at its default value
Bit 23: 16 EM_SLIB_DAT_SS
0x00
ro
Extension memory sLib data start sector
0: Invalid
1: Page 1
2: Page 2
…
17: Page 17
0xFF: No data security data
Others: invalid
Bit 15: 4
Reserved
0x000
resd
Kept at its default value
Bit 3
SLIB_ENF
0
ro
SLIB_ENF: sLib enable flag
When this bit is set, it indicates that the main Flash
memory is partially or completely (depending on the setting
of SLIB_STS1) used as security library code.
Bit 2
EM_SLIB_ENF
0
ro
Extension memory sLib enable flag
When this bit is set, it indicates that the bootloader code
area is used as the Flash extension area (BTM_AP_ENF
is set), and stores security library code.
Bit 1
Reserved
0
resd
Kept at its default value
Bit 0
BTM_AP_ENF
0
ro
Boot memory store application code enabled flag
When this bit is set, it indicates that the bootloader memory
can be used as main Flash extension area to store user
application code; otherwise, it is only used for system boot
code code.
5.7.10 Flash security library status register1 (SLIB_STS1)
For Flash memory security library only.
Bit
Register
Reset value
Type
Description
Bit 31: 22 SLIB_ES
0x3FF
ro
Security library end page
0: Page 0
1: Page 1
2: Page 2
…
127: Page 127
Bit 21: 11 SLIB_DAT_SS
0x000
ro
Security library instruction start page
0: Page 0
1: Page 1
2: Page 2
…
127: Page 127
0X7FF: No security data area.
Bit 10: 0 SLIB_SS
0x000
ro
Security library start page
0: Page 0
1: Page 1
2: Page 2
…
127: Page 127