ch32-rs / wchisp

WCH ISP Tool in Rust
https://ch32-rs.github.io/wchisp/
GNU General Public License v2.0
166 stars 28 forks source link

Windows CH583 Error: Operation not supported or unimplemented on this platform #20

Open sabas1080 opened 1 year ago

sabas1080 commented 1 year ago

Hi

I have the next error with CH583 and Windows

Error: Operation not supported or unimplemented on this platform

andelf commented 1 year ago

You might need to install libusb/winusb driver on Windows. See-also: https://zadig.akeo.ie/

rgoulter commented 10 months ago

I've been trying this tool with the CH552 (bootloader version 02.50), on Linux and on Windows.

It works as expected on Linux.

On Windows, my experience has been much flakier.

Sometimes, the bootloader device is able to connect (& firmware can be flashed onto it); most of the time, the device does not connect/start.

The problems are unrelated to this codebase.

With the driver libusb-win32, I did see "Error: Input/Output Error" when trying wchisp probe.

With the WinUSB or libusbK drivers (installed using Zadig), ~95% of the time, there was some problem when trying to connect to the bootloader. (In device manager, the bootloader device has a yellow warning icon, and has the status "This device cannot start. (Code 10)"). Of course, if the device does not successfully connected, then there will be an error for wchisp probe.

The times where the bootloader was able to connect, I was able to use wchisp's probe, info, and flash just fine.

I'm not sure why it works better on Linux than on Windows.