2025-05-18 11:34 PM - last edited on 2025-05-19 2:00 AM by Andrew Neil
2025-05-19 5:19 AM
Using the supported STM32CubeProgrammer is probably a better choice. Freeze the product version once you verify correct functionality.
> What are the best practices for implementing this kind of user-friendly recovery flow?
Prior to starting the flash, modify option bytes to always boot into the bootloader. After flashing and verifying new configuration, re-modify option bytes to always boot into the user code.