solo2-cli
solo2-cli copied to clipboard
Firmware update fails due to timeout
I tried updating five regular Solo2 keys with the cli tool today. I managed to update three of them, but the other two keep failing due to a timeout:
[michael@toolbox ~]$ /var/home/michael/.cargo/bin/solo2 update
Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 2:20220822.0 (2.964.0)
LPC55 Bootloader detected. The LED should be off.
Writing new firmware...
thread 'main' panicked at 'success: HidApi(HidApiError { message: "Connection timed out" })', /var/home/michael/.cargo/registry/src/github.com-1ecc6299db9ec823/lpc55-0.1.2/src/bootloader.rs:296:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
What happens is that the progress bar for the firmware update first starts advancing, but at some point it freezes and shortly afterwards I get the error message above. The same issue happened with at least one of the three keys that I successfully updated, but simply replugging it into the laptop and running the update again solved the issue. I don't understand why it doesn't work for the last two keys.