EasyManua.ls Logo

ARTERY AT32F421C8T7 - Flash CRC Control Register (FLASH_CRC_CTRL); Flash CRC Check Result Register (FLASH_CRC_CHKR); Security Library Password Setting Register (SLIB_SET_PWD); Security Library Address Setting Register (SLIB_SET_RANGE)

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 79 Rev 2.02
5.8.14 Flash CRC control register (FLASH_CRC_CTRL)
For main Flash memory and its extension area only.
Bit
Register
Reset value
Type
Description
Bit 31:17
Reserved
0x0000
resd
Kept at its default value.
Bit 16
CRC_STRT
0x0
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
CRC_ADDR+CRC_SN*1
Bit 15: 0
CRC_SN
0x0000
wo
CRC sector number
This bit defines the sectors to be CRC checked.
5.8.15 Flash CRC check result register (FLASH_CRC_CHKR)
For Flash memory and its extension area only.
Bit
Register
Reset value
Type
Description
Bit 31: 0
CRC_CHKR
0x0000 0000
ro
CRC check result
Note: All these bits are write-only, and return no response when being read.
5.8.16 Security library password setting register
(SLIB_SET_PWD)
For Flash security library password setting only.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SLIB_PSET_VAL
0x0000 0000
ro
sLib password setting value
Note: This register can be written only after sLib is
unlocked. It is used to set a password of sLib. Writing
0xFFFF_FFFF or 0x0000_0000 has no effect.
Note: All these bits are write-only, and return 0 when being read.
5.8.17 Security library address setting register
(SLIB_SET_RANGE)
For Flash security library address setting only.
Bit
Register
Reset value
Type
Description
Bit 31: 22
SLIB_ES_SET
0x000
wo
Security library end sector setting
Theses bits are used to set the security library end sector.
0000000000: Sector 0
0000000001: Sector 1
0000000010: Sector 2
0000001111: Sector 15 (the last sector of 16KB main
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_ISS_SET
0x000
wo
Security library instruction start sector setting
These bits are used to set the security library instruction
start sector.
00000000000: Sector 0
00000000001: Sector 1
00000000010: Sector 2

Table of Contents

Related product manuals