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

Does not support Ardulink as a programmer "miniblink -c /dev/ttyACM0" #15

Open
zoobab opened this issue Dec 28, 2023 · 5 comments
Open

Comments

@zoobab
Copy link

zoobab commented Dec 28, 2023

Hi,

I am succesfully using Ardulink as a programmer (with a 1K resistor) to flash the ch32v003:

https://gitlab.com/BlueSyncLine/arduino-ch32v003-swio

Could you add this programmer as a option, I just needed to add "-c /dev/ttyACM0" as an option to make it work.

@zoobab
Copy link
Author

zoobab commented Dec 28, 2023

When I try to add the option -c /dev/ttyACM0 in the platform.txt (maybe not the best place), I have the impression that minichlink 1.0.0 is too old and does not support Ardulink. When I try with the most recent git version of minichlink it works fine. How do you define this version 1.0.0?

@AlexanderMandera
Copy link
Owner

Hi,
the minichlink binaries are distributed through another GitHub Repo (https://github.com/AlexanderMandera/minichlink-binaries).
It is like that because ch32v003fun only provides Windows x64 binaries and other platforms need to build from source.

The last release build was in June, I haven't updated to the newest version yet
and haven't got any automation yet that supports all platforms at once.

I will update the minichlink builds soon and add more programmer options in the menu.
In the mean time, you can replace the binary in packages/alexandermandera/tools/minichlink/1.0.0 which should fix your issue.

@zoobab
Copy link
Author

zoobab commented Apr 12, 2024

"haven't got any automation yet that supports all platforms at once."

I could try to work on that.

If you want I can try to build more recent binaries as well.

@zoobab
Copy link
Author

zoobab commented Apr 12, 2024 via email

@AlexanderMandera
Copy link
Owner

I will look what I can do.

First priority will be to update everything to the newest ch32v003fun and minichlink,
especially with the V10x/V20x/V30x support I have built into it :)

But running a VM to build everything for ARM sounds like a good idea.

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

2 participants