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

Linux flash tools #37

Open
prosper00 opened this issue Feb 10, 2021 · 7 comments
Open

Linux flash tools #37

prosper00 opened this issue Feb 10, 2021 · 7 comments

Comments

@prosper00
Copy link

One of the utilities mentioned in the readme - LibreCH551 - appears to be abandoned, and doesn't work with current chips (or, at least, not with current bootloaders on current chips). I'd recommend removing it from the readme, as well as using a different tool in your Makefiles

I've found a handful of alternative utilities that DO work:

VNPro (patched for more CH55x chips) (https://github.com/LoveMHz/vnproch55x)
This is what's used in ch55xduino

ch55x-isptool (https://github.com/ElectronicCats/ch55x-isptool)

chflasher (https://github.com/atc1441/chflasher)

@ishiyakazuo
Copy link

I've found one more: https://github.com/MarsTechHAN/ch552tool (a Python-based one). I believe this one also works under Linux (as I seem to recall using it at one point).

@cibomahto
Copy link
Member

Good point! We're still slowly working our way though a large stockpile of the older chips, which have the reverse problem of not being compatible with the newer programmers.

@prosper00
Copy link
Author

I think VNPro supports old and new bootloader. At least, the version of VNPro that ch55xduino uses

@ishiyakazuo
Copy link

LibreCH55x seems to support the oldest bootloaders I've come across. It's the only one I've seen that supports bootloaders prior to 2.3.0, anyway.
https://github.com/rgwan/librech551/tree/master/usbisp

@prosper00
Copy link
Author

https://github.com/ole00/chprog claims to support 1.x and 2.x bootloaders

@jjmz
Copy link
Contributor

jjmz commented Apr 12, 2021

Would you know one that supports writing to the DataFlash area ?

@cibomahto
Copy link
Member

Finally got back to this project. Using my old parts with a 1.1 bootloader, I tested the following programmers:

  • chflasher (python version) detected the part and programmed it successfully
  • vnpro detected the part, but dumped out with a 'Not Supported' message.
  • ch55xtool (really nice that it's on pypi) unfortunately crashed with an 'operation timed out'
  • chprog gives useful status output, and programmed the part successfully
  • librech554 also works

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

4 participants