瀏覽代碼

Wipe flash throw readout protection script (#325)

あく 5 年之前
父節點
當前提交
3b24f7ff96
共有 1 個文件被更改,包括 11 次插入0 次删除
  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