Remove readout protection via USB without system reset on STM32F205
Hi,
I need to downgrade the RDP level from Level 1 to Level 0 on an STM32F205 without triggering an automatic system reset, as I do not have access to the BOOT0 pin.
My workflow is as follows: I write the firmware to the device and then set the RDP level to 1. This works as expected. However, when I want to write new firmware to the device, I first need to reset the RDP level back to 0. This automatically triggers a system reset, which makes access to the BOOT0 pin necessary.
I have written my own frontend for the STM32CubeProgrammer API, but I have not been able to directly write to the option byte registers.
Is what I am trying to achieve possible, or is the automatic reset unavoidable when downgrading RDP from Level 1 to Level 0?
Thank you.
