ch552tool icon indicating copy to clipboard operation
ch552tool copied to clipboard

Failed to flash firmware of CH55x

Open Kashouryo opened this issue 4 years ago • 3 comments

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.

Kashouryo avatar Mar 31 '21 13:03 Kashouryo

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

MarsTechHAN avatar Apr 03 '21 16:04 MarsTechHAN

Yes, I can flash it with the official tool

Kashouryo avatar Apr 04 '21 03:04 Kashouryo

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.

Pe3ucTop avatar Mar 17 '22 10:03 Pe3ucTop