Files
agent/packages/usb/update-right-firmware.sh
T
2017-08-30 20:54:53 +02:00

9 lines
293 B
Bash
Executable File

#!/bin/sh
set -e # fail the script if a command fails
./jump-to-bootloader.js
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