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 recongnize a CH552 device on UBUNTU 22.04 #26

Open
MALossov opened this issue Aug 22, 2022 · 4 comments
Open

Failed to recongnize a CH552 device on UBUNTU 22.04 #26

MALossov opened this issue Aug 22, 2022 · 4 comments

Comments

@MALossov
Copy link

MALossov commented Aug 22, 2022

$ 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?

@kossnikita
Copy link

probably duplicate #25

@gniezen
Copy link

gniezen commented Oct 5, 2022

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?

@kossnikita
Copy link

Check the file typeall.wcfg in your package. To do this:

  1. get location of package
pip3 show ch55xtool | grep Location
  1. get file list
ls -l <package location>/ch55xtool

If there is no typeall.wcfg, please reopen #25.

@gniezen
Copy link

gniezen commented Oct 6, 2022

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. 🤦 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.

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