
AT32F413
Series Reference Manual
2022.06.27
Page 64
Rev 2.00
Table 5-3 Flash memory architecture(64 K)
Block
Name
Address range
Main
memmory
Bank 1
64 KB
Page 0
0x0800 0000 – 0x0800 03FF
Page 1
0x0800 0400 – 0x0800 07FF
Page 2
0x0800 0800 – 0x0800 0BFF
…
…
Page 63
0x0800 FC00 – 0x0800 FFFF
External
memory
16 MB
Page 0
0x0840 0000 – 0x0840 0FFF
Page 1
0x0840 1000 – 0x0840 1FFF
Page 2
0x0840 2000 – 0x0840 2FFF
…
…
Page 4095
0x093F F000 – 0x093F FFFF
Information block
16 KB boot loader
0x1FFF B000 – 0x1FFF EFFF
48 B user system data
0x1FFF F800 – 0x1FFF F82F
External memory
External Flash memory controls the external SPI Flash through SPIM transmission interface. It
supports ciphertext protection. User can decide whether or not to encrypte the data by setting the
EXT_FLASH_KEYx bit of the user system data area, and can control the range to be encrypted
with the FLASH_DA register.
AHB clock (HCLK), used as a reference clock of SPIM, provides HCLK/2 clock for external SPIM
via SPIM interface.
SPIM=External SPI Flash memory expansion (program execution/data store/program and data
encrypted)
Note: SPIM has to be accessed by word or half-word.
Figure 5-1 External memory ciphertext protection
0x0840_0000
0x093F_FFFF
0x0840_0000
+ FLASH_DA
Access to
cipher text
Access to
plain text