diff --git a/packages/usb/update-right-firmware.sh b/packages/usb/update-right-firmware.sh new file mode 100755 index 00000000..f97bc11b --- /dev/null +++ b/packages/usb/update-right-firmware.sh @@ -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