option bytes programming
Hi,
I want clarification on STM32 option byte programming.
When we write new values to FLASH_OPTR and other option registers:
Where are these FLASH option registers physically located?
Are they inside the FLASH peripheral (0x4002xxxx region) and not in the option byte Flash area (0x1FFF8000)?
When OPTSTRT is set, does the CPU erase/program the option byte pages, or does the FLASH controller hardware automatically erase the option byte Flash area and program it using the values in the FLASH option registers?
I want to clearly understand the internal flow between:
Option byte Flash memory
FLASH option registers
FLASH controller hardware
Thank you.
