avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #48457] avrdude problem with chip CH340G


From: anonymous
Subject: [avrdude-dev] [bug #48457] avrdude problem with chip CH340G
Date: Sun, 10 Jul 2016 13:48:13 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/51.0.2704.79 Chrome/51.0.2704.79 Safari/537.36

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: address@hidden
             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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]