-
Notifications
You must be signed in to change notification settings - Fork 141
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
CH341A futher improvement -- to support lower clock AVR chips #1336
Comments
From the following comments: Reference bitbang SPI code using libusb. |
Another potential improvement is to have higher ISP clock even for the fast SPI mode. Hans mentioned in the above comment.
|
Yet another potential improvement is to add TPI support. |
When you got some time, please check if you can add MSVC build to this one. Thanks. |
Apart from the libusb/MSVC build issue this is pretty much a new and different driver, sth like |
@maxxproff hosts an Avrdude with support for ch341a bit-banging: |
Great find. Making them a great candidate to submit a PR :) |
I have split the enhancement into two issues. This issue will mainly deal with the SPI bitbang enhancement. The MSVC build issue will be tracked in #1339. |
He mentioned that the bit-bang driver to be this one, which was mentioned earlier. |
I still think this has to be driven by the community, who use the CH341A for programming, not us as maintainers. Hence, I would argue to close this and engage with a PR if and when it comes along. |
The issues in github do not need to be driven by the maintainers -- the community can help to provide the PR. Some potential contributors will first look at github to see if there are anything they can contribute. If we close issues like this, they may not know this issue at all. |
I have added a |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
#1215 has been merged which addressed major part of Issue #714.
However, #1215 only supports fast SPI mode, which means that lower clock AVR chips (including many AVR chips out of factory which will run on internal RC oscillator at around 1MHz to 1.6Mhz). It is mentioned in #714 that bitbang SPI can be used to support AVR chips with lower clock.
The other main issue with #1215 is that it only supports libusb-1.0 API. Therefore the default Windows MSVC build will not work since it uses avrdude-libusb which only supports libusb-0.1 API. This part will be tracked in a seperate issue #1339.
The text was updated successfully, but these errors were encountered: