Add script.

This commit is contained in:
László Monda
2017-08-30 20:47:09 +02:00
parent c73ecdbde9
commit 6b2751a7c7

View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -e # fail the script if a command fails
./jump-to-bootloader.sh
blhost --usb 0x15a2,0x0073 flash-security-disable 0403020108070605
blhost --usb 0x15a2,0x0073 flash-erase-region 0xc000 475136
blhost --usb 0x15a2,0x0073 flash-image uhk-right.srec
blhost --usb 0x15a2,0x0073 reset