Wipe flash throw readout protection script (#325)

This commit is contained in:
あく 2021-02-05 02:47:59 +03:00 committed by GitHub
parent 4341da90dc
commit 3b24f7ff96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
flash_wipe.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -x -e
STM32_Programmer_CLI -c port=swd -ob RDP=0xBB
STM32_Programmer_CLI -c port=swd -ob displ
STM32_Programmer_CLI -c port=swd --readunprotect
STM32_Programmer_CLI -c port=swd -ob displ