RM0367 Rev 7 67/1043
RM0367 Flash program memory and data EEPROM (FLASH)
122
3.3 NVM functional description
3.3.1 NVM organization
The NVM is organized as 32-bit memory cells that can be used to store code, data, boot
code or Option bytes.
The memory array is divided into pages. A page is composed of 32 words (or 128 bytes) in
Flash program memory and System memory, and 1 single word (or 4 bytes) in data
EEPROM and Option bytes areas (user and factory). The erase/write endurance cycles are
linked to one page granularity for Flash program memory and one single word granularity for
data EEPROM.
A Flash sector is made of 32 pages (or 4 Kbytes). The sector is the granularity of the write
protection.
Table 5. NVM organization (category 3 devices)
NVM NVM addresses
Size
(bytes)
Name Description
Flash program
memory
(1)
0x0800 0000 - 0x0800 007F 128 bytes Page 0
sector 0
0x0800 0080 - 0x0800 00FF 128 bytes Page 1
---
0x0800 0F80 - 0x0800 0FFF 128 bytes Page 31
.
.
.
.
.
.
.
.
.
.
.
.
0x0800 7000 - 0x0800 707F 128 bytes Page 224
sector 7
0x0800 7080 - 0x0800 70FF 128 bytes Page 225
---
0x0800 7F80 - 0x0800 7FFF 128 bytes Page 255
.
.
.
.
.
.
.
.
.
.
.
.
0x0800 F000 - 0x0800 F07F 128 bytes Page 480
sector 15
0x0800 F080 - 0x0800 F0FF 128 bytes Page 481
---
0x0800 FF80 - 0x0800 FFFF 128 bytes Page 511
Data EEPROM 0x0808 0000 - 0x0808 07FF 2 Kbytes - Data EEPROM
Information block
0x1FF0 0000 - 0x1FF0 0FFF 4 Kbytes - System memory
0x1FF8 0020 - 0x1FF8 007F 96 bytes - Factory Options
0x1FF8 0000 - 0x1FF8 001F 32 bytes - User Option bytes
1. For 32 Kbyte category 3 devices, the Flash program memory is divided into 256 pages of 128 bytes each.