AT32F421 Series Reference Manual
2022.11.11 Page 80 Rev 2.02
…
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
Security library start sector setting
These bits are used to set the security library 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)
Note:
All these bits are write-only, and return 0 when being read.
This register can be written only after security library is unlocked.
Being out of the Flash address range is an invalid setting.