ch32-rs / wchisp

Rust-based Command Line Tool for WCH MCU USB-ISP Programming
https://ch32-rs.github.io/wchisp/
GNU General Public License v2.0
176 stars 29 forks source link

Flashing speed #33

Open brain113 opened 1 year ago

brain113 commented 1 year ago

Hello! First, thank you for the useful tool!

I use CH582 my FW is about 200kB. With the WchIspStudio the FW is downloaded for few seconds. With the wchisp tool the FW is downloaded for a minute. OS: Windows. Version: 0.2.2

I wondering is there a way to increase the flashing speed?

andelf commented 1 year ago

It is caused by the libUSB timeout setting. I did some tests. macOS, Windows, and Linux handle libUSB package timeout in different ways. So the flashing speed can be optimized. I need more investigate on different Chips & OS.