AT32F421
Series Reference Manual
2022.11.11
Page 78
Rev 2.02
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)
5.8.11 Security library password clear register
(SLIB_PWD_CLR)
For Flash memory security library only.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SLIB_PCLR_VAL
0x0000 0000 wo
Security library password clear value
This register is used to key in a correct sLib password in
order to unlock sLib function.
The write status of this register is indicated by bit 0 and
bit 1 of the SLIB_MISC_STS register.
5.8.12 Security library additional status register
(SLIB_MISC_STS)
For Flash memory security library only.
Bit
Register
Reset value
Type
Description
Bit 31:3
Reserved
0x0000 000
resd
Kept at its default value
Bit 2
SLIB_ULKF
0
ro
Security library unlock flag
When this bit is set, it indicates that sLib-related
setting registers can be configured.
Bit 1
SLIB_PWD_OK
0
ro
Security library password ok
This bit is set by hardware when the password is correct.
Bit 0
SLIB_PWD_ERR
0
ro
Security library password error
This bit is set by hardware when the password is incorrect
and the setting value of the password clear register is
different from 0xFFFF FFFF.
Note: After this bit is set, the hardware will no longer
agree to re-program the password clear register until the
next reset.
5.8.13 Flash CRC address register (FLASH_CRC_ARR)
For main Flash memory and its extension area only.
Bit
Register
Reset value
Type
Description
Bit 31:0
CRC_ADDR
0x0000 0000 wo
CRC address
This register is used to select the start address of a sector
to be CRC checked..
Note: All these bits are write-only, and return no response when being read.