RM0402
3.3
Embedded Flash memory
The Flash memory has the following main features:
•
Capacity up to 1 Mbyte
•
128 bits wide data read
•
Byte, half-word, word and double word write
•
Sector and mass erase
•
Memory organization
The Flash memory is organized as follows:
–
–
–
–
•
Low-power modes (for details refer to the Power control (PWR) section of the reference
manual)
Block
Main memory
1. Not available for STM32F412xE products
A main memory block divided into 4 sectors of 16 Kbyte, plus 1 sector of 64 Kbyte
and plus 7 sector of 128 Kbyte.
System memory from which the device boots in System memory boot mode
512 OTP (one-time programmable) bytes for user data
The OTP area contains 32 additional bits used to lock the corresponding OTP
data block.
Option bytes to configure read and write protection, BOR level, watchdog
software/hardware and reset when the device is in Standby or Stop mode.
Table 5. Flash module organization
Name
Sector 0
Sector 1
Sector 2
Sector 3
Sector 4
Sector 5
Sector 6
Sector 7
Sector 8
Sector 9
Sector 10
Sector 11
System memory
OTP area
Option bytes
Block base addresses
0x0800 0000 - 0x0800 3FFF
0x0800 4000 - 0x0800 7FFF
0x0800 8000 - 0x0800 BFFF
0x0800 C000 - 0x0800 FFFF
0x0801 0000 - 0x0801 FFFF
0x0802 0000 - 0x0803 FFFF
0x0804 0000 - 0x0805 FFFF
0x0806 0000 - 0x0807 FFFF
(1)
0x0808 0000 - 0x0809 FFFF
(1)
0x080A 0000 - 0x080B FFFF
(1)
0x080C 0000 - 0x080D FFFF
(1)
0x080E 0000 - 0x080F FFFF
0x1FFF 0000 - 0x1FFF 77FF
0x1FFF 7800 - 0x1FFF 7A0F
0x1FFF C000 - 0x1FFF C00F
RM0402 Rev 6
Embedded Flash memory interface
Size
16 Kbyte
16 Kbyte
16 Kbyte
16 Kbyte
64 Kbyte
128 Kbyte
128 Kbyte
128 Kbyte
128 Kbyte
128 Kbyte
128 Kbyte
128 Kbyte
30 Kbyte
528 byte
16 byte
59/1163
81
Need help?
Do you have a question about the STM32F412 and is the answer not in the manual?
Questions and answers