Fuses verify script

This commit is contained in:
Andrey Gusakov 2024-01-14 01:18:31 +03:00
parent b7eea35253
commit 28900e49b1
1 changed files with 13 additions and 0 deletions

13
firmware/rusEFI/fuses-verify.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# Read EOPB0 and nEOPB0
openocd -f interface/jlink.cfg -c 'transport select swd' -f ./at32f4x.cfg \
-c "init" \
-c "halt" \
-c "flash mdw 0x1FFFC010" \
-c "reset" \
-c "exit"
echo "Value at 0x1FFFC010 should be 0x00ff05fa!"
echo "Please check. If not, run fuses-default.sh!"