diff --git a/packages/usb/uhk.js b/packages/usb/uhk.js index d958e61a..ae066019 100644 --- a/packages/usb/uhk.js +++ b/packages/usb/uhk.js @@ -178,6 +178,7 @@ async function updateDeviceFirmware(firmwareImage, extension) { config.verbose = true; await uhk.reenumerate('bootloader'); + await sleep(1000); exec(`${blhost} flash-security-disable 0403020108070605`); exec(`${blhost} flash-erase-region 0xc000 475136`); exec(`${blhost} flash-image ${firmwareImage}`);