ch552tool
ch552tool copied to clipboard
Failed to flash firmware of CH55x
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.
The error is caused by ch55x does not respond correctly during writing flash. Can you flash it with the official WCH tool?
Yes, I can flash it with the official tool
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.