Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MarsTechHAN opened this issue May 6, 2019 · 2 comments
Open

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

MarsTechHAN opened this issue May 6, 2019 · 2 comments

Comments

@MarsTechHAN
Copy link

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
Copy link
Author

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
Copy link
Owner

rgwan commented May 8, 2019

Debugging, please wait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants