Unlock the flash on STM32WL microcontrollers.
This is useful for the seeed studio STM32WL modules that have flash protection bits set.
- Install rustup
cargo install --git https://github.com/newAM/stm32wl-unlock.git
For the seeed modules you will want to hold the reset button for the entire process.
$ stm32wl-unlock
Current readout protection is level 1, memories readout protection active
Flash protection set to level 0, readout protection not active