MarsTechHAN / ch552tool

An open sourced python tool for flashing WCH CH55x series USB microcontroller with bootloader v2.30, v2.31 & v2.40.
GNU General Public License v3.0
154 stars 24 forks source link

Support for bootloader 2.40? #10

Closed myst729 closed 3 years ago

myst729 commented 3 years ago

Looks like the process for 2.31 also works for 2.40, on L306

if ret[0] == 'V2.31' or ret[0] == 'V2.40':