mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
Wipe flash throw readout protection script (#325)
This commit is contained in:
parent
4341da90dc
commit
3b24f7ff96
1 changed files with 11 additions and 0 deletions
11
flash_wipe.sh
Executable file
11
flash_wipe.sh
Executable 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
|
Loading…
Reference in a new issue