Perhaps this will help someone:
After an archlinux
system upgrade, multiple different klipper
boards could not be flashed anymore while reporting various dfu-util
related errors, such as:
dfu-util: can't detach
error resetting after download (LIBUSB_ERROR_NO_DEVICE)
Testing with available dfu-util
versions for the archlinux
:
https://archive.archlinux.org/packages/d/dfu-util/
Produced the the following results:
dfu-util v0.9.X
:
LPC1768
-type board: flash: works, error message: noneSTM32f4
-type board: flash: works, error message:dfu-util: can't detach
dfu-util v0.10.X
:
LPC1768
-type board: flash: FAILS, error message:error resetting after download
STM32f4
-type board: flash: works, error message:dfu-util: can't detach
dfu-util v0.11.X
:
LPC1768
type board: flash: FAILS, error message:error resetting after download
STM32f4
-type board: flash: FAILS, error message:dfu-util: can't detach
and when dfu-util
is built from source:
- AUR (en) - dfu-util-git
- at commit:
be4961218b146296661069e4658a308a6eda36b9
dfu-util v0.11-DEV
:
LPC1768
-type board: flash: FAILS, error message:error resetting after download
STM32f4
-type board: flash: works, error message:dfu-util: can't detach
Perhaps deveopers could update flash_usb.py
to reflect dfu-util
versions:
klipper/scripts/flash_usb.py