EasyManua.ls Logo

ARTERY AT32F421C8T7 - Boot Memory Mode Setting Register (BTM_MODE_SET); Security Library Unlock Register (FLASH_UNLOCK)

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 81 Rev 2.02
5.8.18 Flash extension memory security library setting register
(EM_SLIB_SET)
For Flash extension area only.
Bit
Register
Reset value
Type
Description
Bit 31: 24
Reserved
0x00
resd
Kept at its default value
Bit 23: 16
EM_SLIB_ISS_SET
0x000
wo
Extension memory sLib instruction start sector
00000000: Sector 0
00000001: Sector 1
00000010: Sector 2
00000011: Sector 3
11111111: No sLib instruction area
Others: Invalid
Note: When this bit is set to 0xFF, it indicates that the
Flash memory extension area from sector 0 to sector 3 is
defined as the security library, and the entire security
library is read-only.
Bit 15: 0
EM_SLIB_SET
0x000
wo
Extension memory sLib setting
By writing 0x5AA5, the extension memory is configured
as an area to store security library code.
Note: All these bits are write-only, and return no response when being read.
5.8.19 Boot memory mode setting register (BTM_MODE_SET)
For boot memory only.
Bit
Register
Reset value
Type
Description
Bit 31: 8
Reserved
0x000000
resd
Kept at its default value.
Bit 7: 0
BTM_MODE_SET
0x00
wo
Boot memory mode setting
0XFF: Boot memory serves as a system area that stores
system boot code
Others: Boot memory serves a Flash extension area that
stores application code
Note: This register can be set only when Flash access
protection is disabled.
Note: All these bits are write-only, and return no response when being read.
5.8.20 Security library unlock register (FLASH_UNLOCK)
For security library register unlock only.
Bit
Register
Reset value
Type
Description
Bit 31: 0
SLIB_UKVAL
0x0000 0000
wo
Security library unlock key value
The fixed key value is 0xA35F_6D24, which is used for
the unlocking of security library setting register.
Note: All these bits are write-only, and return 0 when being read.

Table of Contents