Przeglądaj źródła

Wipe flash throw readout protection script (#325)

あく 5 lat temu
rodzic
commit
3b24f7ff96
1 zmienionych plików z 11 dodań i 0 usunięć
  1. 11 0
      flash_wipe.sh

+ 11 - 0
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