Use reenumerate.js instead of jump-to-bootloader.js and make left/blhost-unix.sh handle argument related errors.

This commit is contained in:
László Monda
2017-10-23 16:52:15 +02:00
parent ab807cd0c8
commit c46dcad490
3 changed files with 23 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ if [ ! -f $usb_binding ]; then
exit 1
fi
$usb_dir/jump-to-bootloader.js
$usb_dir/reenumerate.js bootloader
$blhost flash-security-disable 0403020108070605
$blhost flash-erase-region 0xc000 475136
$blhost flash-image $firmware_image