Override option bytes in firmware to prevent being locked out
Hi, we are using an STM32G05 series processor (STM32G051K6T6).
The default setting in the Cube Programmer software sets the option byte nBOOT_SEL to high. This effectively disables the BOOT0 pin and prevents reprogramming if the option byte was not cleared before writing.
Is it possible to overwrite this in the firmware, I presume in the linker, so that even if the option byte is written as high we will not be locked out from entering programming mode.
Thanks in advance
