Enable RDP after UART dfu
Hi,
we are experiencing an issue with the STM32G0B0 when RDP level 1 is enabled, following the steps below:
- Flash the device using J-Link
- Start the device and let the application set RDP = 1
- Enter the STM32 ROM bootloader (via UART)
- Disable RDP protection (perform mass erase)
- Program new firmware with bootloader
- Reboot the device and set RDP = 1 again
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.
