Menu

#62 dfu-util on Windows 10 error detaching

none
invalid
nobody
None
2021-09-05
2018-08-02
Alan Ball
No

Hello,
I would like to reprogram a microcontroller over USB using DFU. I have been able to do this using the dfu-util-0.9-win64 binary on a windows 7 laptop. However I can't get the same program to run on my new windows 10 laptop

1 Attachments

Discussion

  • Alan Ball

    Alan Ball - 2018-08-02

    In my last post, I attached the program log from my WIN7 laptop. In this post, I've attached the log from my WIN10 laptop.

    As you will see, I need to run the program twice to get the microcontroller into the dfuIDLE state. Comparing the 2 logs, I get an "error detaching" on the WIN10 machine. I've compiled the dfu-util code in Visual Studio and found that the call to the dfu_detach function returns a -9 (LIBUSB_ERROR_PIPE), which means that a control request is not supported by the device.

    Why is the behaviour of the same program different on 2 different operating systems? As far as I can tell, the same drivers are being used in both cases.

    Thanks in advance for your inputs.

    Regards,

    Alan

     
  • Anonymous

    Anonymous - 2019-06-26

    Hi Alan,
    Did you find any solution to this issue? I have the same problem and struggling to find a way out of it from alst 2 months. I tried using the linux subsystem on windows 10 and still the same.
    Please let me know if you find a solution to it.

    Thanks,
    Amit

     
  • Tormod Volden

    Tormod Volden - 2020-10-09
    • status: open --> needsinfo
     
  • Tormod Volden

    Tormod Volden - 2020-10-09

    Did you try a different USB driver for libusb than WinUSB? Please see https://github.com/libusb/libusb/wiki/Windows#How_to_use_libusb_on_Windows

     
  • Tormod Volden

    Tormod Volden - 2020-10-25
    • summary: dfu-util on Windows 10 --> dfu-util on Windows 10 error detaching
     
  • Tormod Volden

    Tormod Volden - 2021-09-05
    • status: needsinfo --> invalid
     
  • Tormod Volden

    Tormod Volden - 2021-09-05

    Closing since no response from submitter.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB