URL: <http://savannah.nongnu.org/bugs/?48457>
Summary: avrdude problem with chip CH340G Project: AVR Downloader/UploaDEr Submitted by: None Submitted on: 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: slan...@usa.net Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: 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. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 10 Jul 2016 01:48:11 PM UTC Name: stk500_drain.diff Size: 538B By: None patch stk500_drain <http://savannah.nongnu.org/bugs/download.php?file_id=37792> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?48457> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev