Add MCU eraser scripts.
This commit is contained in:
2
scripts/erase-mcu.bat
Normal file
2
scripts/erase-mcu.bat
Normal file
@@ -0,0 +1,2 @@
|
||||
"c:\Program Files (x86)\SEGGER\JLink_V612d\JLink.exe" -If SWD -CommandFile erase-mcu.jlink
|
||||
pause
|
||||
5
scripts/erase-mcu.jlink
Normal file
5
scripts/erase-mcu.jlink
Normal file
@@ -0,0 +1,5 @@
|
||||
speed 4000
|
||||
device MK22FN512xxx12
|
||||
connect
|
||||
erase
|
||||
exit
|
||||
3
scripts/erase-mcu.sh
Executable file
3
scripts/erase-mcu.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
JLinkExe -If SWD -CommandFile erase-mcu.jlink
|
||||
Reference in New Issue
Block a user