rgwan / librech551

Open-source CH55x flashing tool, SDK....
147 stars 35 forks source link

File size not detected nor updated when using new protocol. #5

Open MarsTechHAN opened 5 years ago

MarsTechHAN commented 5 years ago
if require_protocol_v2

The program will not detect the target chip type, so on Line 306,

fprintf(stderr, "File size exceeded device's capacity!\n");

Will be triggered for all time.


Also, README should be updated with new IC support.

MarsTechHAN commented 5 years ago

Download still failed :(

sudo wchisptool -n  -f ~/Downloads/usb_device_cdc.bin
Binary length 3746
Now performing erase...
Erase done
Writing Flash
Write done
Verifying Flash
Write failed!
rgwan commented 5 years ago

Debugging, please wait.