avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #29108] Automatic reset (DTR / RTS toggling) fails fo


From: David A. Mellis
Subject: [avrdude-dev] [bug #29108] Automatic reset (DTR / RTS toggling) fails for "arduino" programmer type under Linux.
Date: Sun, 07 Mar 2010 17:54:37 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

URL:
  <http://savannah.nongnu.org/bugs/?29108>

                 Summary: Automatic reset (DTR / RTS toggling) fails for
"arduino" programmer type under Linux.
                 Project: AVR Downloader/UploaDEr
            Submitted by: mellis
            Submitted on: Sun 07 Mar 2010 05:54:36 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: David A. Mellis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The automatic reset that the "arduino" programmer type should perform before
uploading fails (for some boards) under Linux.  The code generates a rising
edge, rather than the falling edge needed for the reset to occur.  This is
because the ser_set_dtr_rts() function in ser_posix.c is backwards, setting
the lines when they should be cleared and vice-versa.  See patch #7100:
https://savannah.nongnu.org/patch/?7100 for a fix.

(The problem doesn't manifest in Mac OS X because the operating system
automatically lowers the lines when the serial port is opened, generating a
reset.)




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29108>

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





reply via email to

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