AVR Downloader/UploaDEr - Bugs: bug #48457, avrdude problem with chip CH340G
You are not allowed to post comments on this tracker with your current authentication level.
bug #48457: avrdude problem with chip CH340G
Submitter: | None | ||
Submitted: | Sun 10 Jul 2016 01:48:11 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | PSL |
Originator Email: | -email is unavailable- | Open/Closed: | Open |
Release: | None | Programmer hardware: | |
Device type: |
Attached Files
file #37792: stk500_drain.diff added by None (538B - text/x-patch - patch stk500_drain)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-07-10 | None | Attached File | - | Added stk500_drain.diff, #37792 |
Powered by Savane 3.13-f8d8.
Corresponding source code
I have a clone of Arduino Nano V3 with chip CH340G and I see a protocol problem. I use my Arduino clone as ISP STK500v1, it is loaded with example ArduinoISP that is distributed with Arduino IDE.
https://www.arduino.cc/en/Tutorial/ArduinoISP
Avrdude works fine with ArduinoISP when it runs at Arduino with FTDI chip but fails with protocol error at Arduino with CH340G chip. I run it at Ubuntu Linux. Command to test:
# avrdude -c stk500v1 -P /dev/ttyUSB0 -b 19200 -p m328p -vvvv
I have found that when I add more calls "stk500_drain" to stk500.c, I remove this problem. I attach a simple patch.
BTW, man can find more reports on this problem with Google.