2026-01-13 3:27 AM
Hi,
we are experiencing an issue with the STM32G0B0 when RDP level 1 is enabled, following the steps below:
After this sequence, the device remains locked.
Even if we apply multiple resets using the NRST pin, the device does not recover.
The only way to unlock the device is to completely power-cycle it (turn the power off and on again).
Is it possible to re-enable RDP protection and start the new firmware without removing power from the device?
Thank you for your support.
2026-01-13 3:44 AM
Hi @alex95,
some OB, usually those associated with lifecycle (RDP) require a POR to register (do OB loading). The usual HAL_FLASH_OB_Launch() is not enough.
There's a workaround, POR OBL is not only done on power-cycle, but also on wakeup from Standby and Shutdown low power modes. After programming OB, have the code enter and then leave the low power mode. For the wakeup, you can use for example RTC.
Then the RDP will be modified without need to power-cycle.
BR,
J
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-13 3:46 AM
Hi,
from rm
So seems you have to do a power cycle , as you already found out.