In 2017 I found bitbang mode examples in CH341DPS.ZIP (it is source code of CH341DP.EXE - programmer utility for AVR from WCH) and add it into
https://github.com/Alx2000y/avrdude_ch341a
All points of bitbang code for avrdude stored in ch341a_bitbang.c
It is for libusb driver.
Thanks.
Sure, it would a substantial improvement over the current approach. Unfortunately, now I don't have time to work on it. Again, an contributions are warmly welcomed :)
In 2017 I found bitbang mode examples in CH341DPS.ZIP (it is source code of CH341DP.EXE - programmer utility for AVR from WCH) and add it into https://github.com/Alx2000y/avrdude_ch341a All points of bitbang code for avrdude stored in ch341a_bitbang.c It is for libusb driver. Thanks.