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

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.