-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is possible to use CH375DLL.dll to prevent change driver on Windows. #54
Comments
Ok, as my first try on Rust, I can confirm rust can use CH375DLL64.dll to access bootloader.
and I got output from CH552.
Let's see if I can merge the code into WCHISP and get it working without changing driver. |
Yes, it's possible. It's implemented in https://github.com/ch32-rs/wlink as a dual-driver backend. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: