[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix
From: |
David A. Mellis |
Subject: |
[avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix |
Date: |
Mon, 18 Jul 2011 14:59:17 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1 |
Follow-up Comment #16, patch #7559 (project avrdude):
Have you checked the behavior on Windows? There, I believe that a call to
ser_set_dtr_rts(1) brings the lines low and 0 brings the line high. So patch
#7100 brought the two OS's (Windows and Posix) into alignment: i.e.
interpreting a 1 to mean "set the corresponding bit in the control register",
which, on both operating systems, sets the physical line low. But someone
should probably verify this, since it's been a while since I tested it and my
notes are a bit obscure.
If I'm right, then I believe the current behavior (in SVN) is correct: it's
consistent between operating systems, uses the OS interpretation of the
meaning of "set the line" (i.e. bringing it low), and correctly resets Arduino
boards (which is, after all, the goal).
Maybe we just need to clarify with better comments the behavior of the
ser_set_dtr_rts() function (i.e. that a logical 1 means a low level on the
physical line and vice-versa)?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7559>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, (continued)
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/16
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/16
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/16
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Bernard Johnson, 2011/07/16
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Bernard Johnson, 2011/07/16
- Message not available
- Message not available
- Message not available
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Bernard Johnson, 2011/07/16
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Bernard Johnson, 2011/07/16
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, David A. Mellis, 2011/07/17
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/17
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/17
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix,
David A. Mellis <=
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/18
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, David A. Mellis, 2011/07/18
- Message not available
- Message not available
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, David A. Mellis, 2011/07/18
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Robert Spitzenpfeil, 2011/07/19
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Bernard Johnson, 2011/07/25
- Re: [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix, Moses McKnight, 2011/07/17