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

Failed to flash firmware of CH55x #15

Open
Kashouryo opened this issue Mar 31, 2021 · 3 comments
Open

Failed to flash firmware of CH55x #15

Kashouryo opened this issue Mar 31, 2021 · 3 comments

Comments

@Kashouryo
Copy link

Kashouryo commented Mar 31, 2021

I can not flash my CH554 with this tool

python -m ch55xtool -f C:\Users\Gigabyte\Documents\Keil\CH554EXAM\USB\U_DISK\EXAM1\EXAM1.bin -r
Found CH554.
BTVER: V2.31.
Failed to flash firmware of CH55x.

Do you need any other information? I am using a converted version of U_DISK example bin from their official example pack.

I am using Windows, with Zadig and libusb-win32 properly installed, I can see an unknown device that manufactured by WinChipHead.

@MarsTechHAN
Copy link
Owner

The error is caused by ch55x does not respond correctly during writing flash.
Can you flash it with the official WCH tool?

@Kashouryo
Copy link
Author

Yes, I can flash it with the official tool

@Pe3ucTop
Copy link
Contributor

Pe3ucTop commented Mar 17, 2022

I think this problem relay on wrong erase command, which erase only firs 8kb.
Because of that verification after flashing could definitely fail for big programs.
Problem was reported in #17 , there is first fix but probably not final.

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

3 participants