AT32F421
Series Reference Manual
2022.11.11
Page 35
Rev 2.02
2.2 Flash memory
AT32F421 series provide up to 64 KB of on-chip Flash memory, supporting a single-cycle 32-bit read
operation.
Refer to
Chapter 5
for more details about Flash memory controller and register configuration.
Flash memory organization (64 KB)
The main memory contains only bank 1 (64 Kbytes), including 64 sectors, 1 Kbyte per sector.
Table 2-1
Flash memory organization (64 KB)
Block
Name
Address range
Main memory
Bank1
(64 KB)
Sector 0
0x0800 0000 – 0x0800 03FF
Sector 1
0x0800 0400 – 0x0800 07FF
Sector 2
0x0800 0800 – 0x0800 0BFF
…
…
Sector 63
0x0800 FC00 – 0x0800 FFFF
Information block
4K Boot loader
0x1FFF E400 – 0x1FFF F3FF
512B user system
data
0x1FFF F800 – 0x1FFF F9FF
Flash memory organization (32 KB)
The main memory contains only bank 1 (32 Kbytes), including 32 sectors, 1 Kbyte per sector.
Table 2-2
Flash memory organization (32 KB)
Block
Name
Address range
Main memory
Bank1
(32 KB)
Sector 0
0x0800 0000 – 0x0800 03FF
Sector 1
0x0800 0400 – 0x0800 07FF
Sector 2
0x0800 0800 – 0x0800 0BFF
.
…
Sector 31
0x0800 7C00 – 0x0800 7FFF
Information block
4K Boot loader
0x1FFF E400 – 0x1FFF F3FF
512B User system
data
0x1FFF F800 – 0x1FFF F9FF
Table 2-3
Flash memory organization (16 KB)
Block
Name
Address range
Main memory
Bank1
(16 KB)
Sector 0
0x0800 0000 – 0x0800 03FF
Sector 1
0x0800 0400 – 0x0800 07FF
Sector 2
0x0800 0800 – 0x0800 0BFF
…
Sector 15
0x0800 3C00 – 0x0800 3FFF
Information block
4K Boot loader
0x1FFF E400 – 0x1FFF F3FF
512B User system data
0x1FFF F800 – 0x1FFF F9FF
2.3 SRAM memory
The AT32F421 series embeds a 16-KB on-chip SRAM which starts at the address 0x2000_0000. It can
be accessed by bytes, half-words (16 bit) or words (32 bit).