From 3b24f7ff9610135919e7e1d6c333fb02d1a58a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8F?= Date: Fri, 5 Feb 2021 02:47:59 +0300 Subject: [PATCH] Wipe flash throw readout protection script (#325) --- flash_wipe.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 flash_wipe.sh diff --git a/flash_wipe.sh b/flash_wipe.sh new file mode 100755 index 00000000..6eb67c87 --- /dev/null +++ b/flash_wipe.sh @@ -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