webusb/arduino

Failed to execute 'controlTransferOut' on win10/11

Opened this issue · 0 comments

Hello,
I'm succesfully used the demo console sketch on MacOS with an arduino MKR1010.

However, on windows 10/11 I keep getting this message :

NetworkError: Failed to execute 'controlTransferOut' on 'USBDevice': A transfer error has occurred.

I tried to replace the driver using Zadig (WinUSB or USB Serial CDC) but unable to make it work properly.

Without replacing the driver by WinUSB, I get another error :
Unable to claim Interface.

I also replaced the #define USB_VERSION 0x200 in hardware/arduino/avr/cores/arduino/USBCore.h

Is there any trick?

Thanks.
Jérémy