Просмотр исходного кода

Wipe flash throw readout protection script (#325)

あく 5 лет назад
Родитель
Сommit
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