bugAVR 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

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:  -email is unavailable- Open/Closed:  Open
Release:  None Programmer hardware: 
Device type: 

Sun 10 Jul 2016 01:48:11 PM UTC, original submission:

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.


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.



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
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-10 None Attached File- => Added stk500_drain.diff, #37792

    Back to the top

    Powered by Savane 3.4