How to unbrick STM32C0
How to unbrick a C0 if user firmware reprograms SWD pins as IO? Because by default BOOT0 pin is disabled so there's no way to enter the bootloader unless it's enabled in OPTIONS bytes. I've added a failsafe 2 second delay at bootup before running any GPIO config, but I'm curious if there's any other way to unbrick. Or if RDP1 is enabled, how to change it back to RDP0 if you can't get in via SWD or into bootloader because BOOT0 isn't enabled? Or am I missing something?
BOOT0 pin by default is disabled in OPTION bytes, but you can't enable it, or erase the firmware/flash if SWD is not working...
I'm using STM32C071 but I assume it's all C0 if they don't have the BOOT0 pin enabled by default.
