소스 검색

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