Download Print this page

ST STM32L4+ Series Reference Manual page 3

Hide thumbs Also See for STM32L4+ Series:

Advertisement

RM0432
3.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
3.2
FLASH main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
3.3
FLASH functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.4
FLASH option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
3.4.1
3.4.2
3.5
FLASH memory protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
3.5.1
3.5.2
3.5.3
3.6
FLASH interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
3.7
FLASH registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.7.8
3.7.9
3.7.10
3.7.11
3.7.12
3.7.13
3.7.14
3.7.15
3.7.16
Flash memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Error code correction (ECC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Read access latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Adaptive real-time memory accelerator (ART Accelerator . . . . . . . . . . 122
Flash program and erase operations . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Flash main memory erase sequences . . . . . . . . . . . . . . . . . . . . . . . . . 126
Flash main memory programming sequences . . . . . . . . . . . . . . . . . . . 127
Read-while-write (RWW) available only in Dual-bank mode
(DBANK=1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Option bytes description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Option bytes programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Read protection (RDP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Proprietary code readout protection (PCROP) . . . . . . . . . . . . . . . . . . 146
Write protection (WRP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Flash access control register (FLASH_ACR) . . . . . . . . . . . . . . . . . . . 150
Flash Power-down key register (FLASH_PDKEYR) . . . . . . . . . . . . . . 151
Flash key register (FLASH_KEYR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Flash option key register (FLASH_OPTKEYR) . . . . . . . . . . . . . . . . . . 152
Flash status register (FLASH_SR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Flash control register (FLASH_CR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Flash ECC register (FLASH_ECCR) . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Flash option register (FLASH_OPTR) . . . . . . . . . . . . . . . . . . . . . . . . . 159
Flash PCROP1 Start address register (FLASH_PCROP1SR) . . . . . . 161
Flash PCROP1 End address register (FLASH_PCROP1ER) . . . . . . . 162
Flash WRP1 area A address register (FLASH_WRP1AR) . . . . . . . . . 162
Flash WRP2 area A address register (FLASH_WRP2AR) . . . . . . . . . 163
Flash PCROP2 Start address register (FLASH_PCROP2SR) . . . . . . 164
Flash PCROP2 End address register (FLASH_PCROP2ER) . . . . . . . 164
Flash WRP1 area B address register (FLASH_WRP1BR) . . . . . . . . . 165
Flash WRP2 area B address register (FLASH_WRP2BR) . . . . . . . . . 165
RM0432 Rev 6
Contents
3/2301
60

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?

Subscribe to Our Youtube Channel