STM32 Flash Option Byte Recovery

1. Change debugger Settings

In Debugger tab, change Debug Probe to "ST-Link (OpenOCD)".

In Startup tab, uncheck Download to prevent the debugger from flashing Flash.

2. Change Settings

STM32G431

Default Flash Settings:

STM32F042

Default Option Byte Settings:

Default Flash Settings:

Last updated