avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [patch #9004] DTR auto-reset does not work with Arduino Pr


From: Michal Suchanek
Subject: [avrdude-dev] [patch #9004] DTR auto-reset does not work with Arduino Pro Mini
Date: Mon, 16 May 2016 00:22:05 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.nongnu.org/patch/?9004>

                 Summary: DTR auto-reset does not work with Arduino Pro Mini
                 Project: AVR Downloader/UploaDEr
            Submitted by: hramrach1
            Submitted on: Mon 16 May 2016 12:22:03 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The DTR line is held the whole time programming an Arduino is attempted.

As pointed out on the mailing list the onboard USB-TTL on Uno is connected to
the AtMega reset pin through a capacitor so this can work for Uno.

On Pro Mini there is only a reset pin that you can connect to an external
USB-TTL and normally there is no capacitor so DTR has to be released before
programming is attempted. Otherwise the Pro Mini stays in reset the whole time
and programming fails.


This also fixes bug #46005

For compatibility the old behavior is used on every other communication
attempt but this may be superfluous.

Tested with Chinese Uno and Pro Mini



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 16 May 2016 12:22:03 AM GMT  Name: invert_dtr.patch.txt  Size: 3kB  
By: hramrach1

<http://savannah.nongnu.org/patch/download.php?file_id=37171>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9004>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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