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: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: PSL
Originator Email: -unavailable-Open/Closed: Open
Release: NoneProgrammer 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
  • -unavailable- added by None (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Jul 2016 01:48:11 PM UTCNoneAttached File-=>Added stk500_drain.diff, #37792

    Back to the top

    Powered by Savane 3.1-cleanup1