Replies: 14 comments
-
From the following comments: Reference bitbang SPI code using libusb. |
Beta Was this translation helpful? Give feedback.
-
Another potential improvement is to have higher ISP clock even for the fast SPI mode. Hans mentioned in the above comment.
|
Beta Was this translation helpful? Give feedback.
-
Yet another potential improvement is to add TPI support. |
Beta Was this translation helpful? Give feedback.
-
When you got some time, please check if you can add MSVC build to this one. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Apart from the libusb/MSVC build issue this is pretty much a new and different driver, sth like |
Beta Was this translation helpful? Give feedback.
-
@maxxproff hosts an Avrdude with support for ch341a bit-banging: |
Beta Was this translation helpful? Give feedback.
-
Great find. Making them a great candidate to submit a PR :) |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
He mentioned that the bit-bang driver to be this one, which was mentioned earlier. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I have added a |
Beta Was this translation helpful? Give feedback.
-
Move this to discussion. |
Beta Was this translation helpful? Give feedback.
-
Close this for now as it is already a known limitation documented. |
Beta Was this translation helpful? Give feedback.
-
#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.
Beta Was this translation helpful? Give feedback.
All reactions