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

It is possible to use CH375DLL.dll to prevent change driver on Windows. #54

Open DeqingSun opened 3 weeks ago

DeqingSun commented 3 weeks ago

Hi, Today I came across that the wchisp was added as the tool for upload in arduino_core_ch32 by Adafruit.

I read the readme and browsed the code (Sorry I never used rust before), it seems the transport is using libUSB only. It is actually possible to check target device on Windows with libUSB first, then fallback to CH375DLL to do communication with WCH driver.

Some of my working code can be viewed on https://github.com/DeqingSun/vnproch551/blob/master/main.cpp