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
Anonymous
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
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
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
Closing since no response from submitter.