AT32F425
Series Reference Manual
2022.03.30
Page 81
Ver 2.01
5.7.11 Security library password clear register
(SLIB_PWD_CLR)
Only used in Flash security library.
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.7.12 Security library additional status register
(SLIB_MISC_STS)
For Flash security library only.
Bit
Register
Reset value
Type
Description
Bit 31:3
Reserved
0x0000000
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: When this bit is set, the hardware will no longer
agree to re-program the password clear register until the
next reset.
5.7.13 Flash CRC address register (FLASH_CRC_ARR)
For main Flash memory and its extension area.
Bit
Register
Reset value
Type
Description
Bit 31:0
CRC_ADDR
0x0000 0000 wo
CRC address
This register is used to select a start address of a page to
be CRC checked..
Note: All these bits are write-only, and return no response when being read.
5.7.14 Flash CRC control register (FLASH_CRC_CTRL)
For main Flash memory and its extension area.
Bit
Register
Reset value
Type
Description
Bit 31:17
Reserved
0x0000
wo
Kept at its default value.
Bit 16
CRC_STRT
0
W0
CRC start
This bit is used to enable CRC check for user code or
sLib code. It is automatically cleared after enabling CRC
by hardware.
Note: CRC data ranges from CRC_ADDR to
CCRC_SN*1
Bit 15: 0
CRC_SN
0x0000
wo
CRC page number
This bit defines the pages to be CRC checked.