ST STM32G4 Series Reference Manual page 4

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

Contents
3.7.18
3.7.19
4
for category 2 devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
4.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
4.2
FLASH main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
4.3
FLASH functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.4
FLASH option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
4.4.1
4.4.2
4.5
FLASH memory protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.6
FLASH interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
4.7
FLASH registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
4.7.1
4.7.2
4.7.3
4.7.4
4.7.5
4.7.6
4.7.7
4.7.8
4.7.9
4/2083
FLASH register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Flash memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Error code correction (ECC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Read access latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Flash program and erase operations . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Flash main memory erase sequences . . . . . . . . . . . . . . . . . . . . . . . . . 152
Flash main memory programming sequences . . . . . . . . . . . . . . . . . . . 153
Option bytes description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Option bytes programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Read protection (RDP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Proprietary code readout protection (PCROP) . . . . . . . . . . . . . . . . . . 166
Write protection (WRP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Securable memory area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Disabling core debug access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Forcing boot from Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Flash access control register (FLASH_ACR) . . . . . . . . . . . . . . . . . . . 171
Flash Power-down key register (FLASH_PDKEYR) . . . . . . . . . . . . . . 172
Flash key register (FLASH_KEYR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Flash option key register (FLASH_OPTKEYR) . . . . . . . . . . . . . . . . . . 173
Flash status register (FLASH_SR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Flash control register (FLASH_CR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Flash ECC register (FLASH_ECCR) . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Flash option register (FLASH_OPTR) . . . . . . . . . . . . . . . . . . . . . . . . . 178
RM0440 Rev 1
RM0440

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF