Open MALossov opened 2 years ago
probably duplicate https://github.com/MarsTechHAN/ch552tool/issues/25
Seeing a similar issue with CH582 on Ubuntu 20.04:
Chip ID: 82 is not known = not supported
Welcome to report this issue with a screen shot from the official CH5xx tool.
According to typeall.wcfg
CH582 should have chip ID 130, which is 0x82. Could it be an issue with hex->dec on Linux?
Check the file typeall.wcfg
in your package. To do this:
pip3 show ch55xtool | grep Location
ls -l <package location>/ch55xtool
If there is no typeall.wcfg
, please reopen #25.
I can confirm that there is a typeall.wcfg
in the package. Ran python ./ch55xtool.py
in that folder and it worked.
Just realised that I should be using python -m ch55xtool
instead of just ch55xtool
. :facepalm: Looks like that is maybe @MALossov 's problem as well?
Now getting another error:
Erasing chip flash. Done.
Failed. Address 0
Flashing chip.
but that should be handled as a separate issue I guess.
May it be my device's problem with its bootloader version?