-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add CH343 USB to serial adapter #1640
Conversation
Hmm I also have created the configuration in the meantime:
Updated the
Update: After removing the build, adding the definition to the src and rebuilding result is the same :-) |
@cederom Sorry, It's a bit too early for me. What I meant was |
No worries @MCUdude its 8AM and you probably did not sleep yet or are already running since 4AM just like me :-) :-)
It seems CD340 and CH343 are serial adapters only not programmers. I have ordered CH341 board it will arrive next friday so I will be able to test. Can I test anything more at this point? :-) ps/2: Please add datasheet reference to the configuration too (see my example above) :-) |
My 4-year-old daughter woke me up at 06:00, which is way earlier than what I'm used to. And Norway is also so dark in the winter, so that contributes as well! Can you try This should list all available serial ports without starting a programming session |
Btw I have found AtTiny104-Xplained-Nano is it supported already? :-) |
Excellent! This means that Avrdude/libserialport can detect the CH343 VID/PID and correctly identify it. Thank you!
Correct! Use |
I need to refresh my AVR setup :D I also found BusPirate and I have FT2232H (ktlink) that seems supported.. just how to connect them to AVR? |
|
Yes, Avrdude has gotten a ton of new features lately, including a bund of new and exciting hardware. I have an FT2232 board that can be used as a JTAG programmer, and it's fairly easy to get working:
This is to be expected. The |
Thanks! Cool new addition
Agreed!
|
This PR should be good to be merged. |
The CH343 is WCH's latest generation of USB to serial chips and should work with "standard" USB drivers.
Chip details:
#1639 (reply in thread)
https://www.cnx-software.com/2022/04/19/wch-ch343-usb-to-serial-chips-support-1-8v-to-5v-io-voltage-6-mbps-baud-rate-custom-vid-pi
https://www.lcsc.com/search?q=ch343
Can you give this a try @cederom. You need to build with libserialport installed, and test with
-P ch343
.