EasyManua.ls Logo

ARTERY AT32F421C8T7 - Flash Security Library Status Register 0 (SLIB_STS0); Flash Security Library Status Register1 (SLIB_STS1)

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT32F421 Series Reference Manual
2022.11.11 Page 77 Rev 2.02
5.8.9 Flash security library status register 0 (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_INST_SS
0x00
ro
Extension memory sLib instruction start sector
00000000: sector 0
00000001: sector 1
00000010: sector 2
00000011: sector 3
11111111: No instruction sLib
Others: invalid
Bit 15: 4
Reserved
0x000
resd
Kept at its default value
Bit 3
SLIB_ENF
0
ro
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 boot memory 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 stores application code enabled flag
When this bit is set, it indicates that the boot memory can
be used as main Flash extension area to store user
application code; otherwise, it is only used for storing
system boot code.
5.8.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 sector
0000000000: sector 0
0000000001: sector 1
0000000010: sector 2
0000001111: sector 15 (the last sector of 16KB man
Flash memory)
0000011111: sector 31 (the last sector of 32KB main
Flash memory)
0000111111: sector 63 (the last sector of 64KB main
Flash memory)
Bit 21: 11
SLIB_INST_SS
0x7FF
ro
Security library instruction start sector
00000000000: sector 0
00000000001: sector 1
00000000010: sector 2
00000001111: sector 15 (the last sector of 16KB main
Flash memory)
00000011111: sector 31 (the last sector of 32KB main
Flash memory)
00000111111: sector 63 (the last sector of 64KB main
Flash memory)
11111111111: No sLib instruction area
Bit 10: 0
SLIB_SS
0x7FF
ro
Security library start sector
00000000000: sector 0

Table of Contents

Related product manuals