Failed to recongnize a CH552 device on UBUNTU 22.04
$ ch55xtool -p Chip ID: 52 is not known = not supported Welcome to report this issue with a screen shot from the official CH5xx tool.
May it be my device's problem with its bootloader version?
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:
- get location of package
pip3 show ch55xtool | grep Location
- get file list
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.