[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: |
Robert Spitzenpfeil |
Subject: |
[avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix |
Date: |
Mon, 18 Jul 2011 15:43:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 |
Follow-up Comment #17, patch #7559 (project avrdude):
I have abandoned windows almost completely.
The only way I can run it is inside VirtualBox, and I don't think it is wise
to use that as reference.
Identical behaviour across platforms is a very good thing!
According to wikipedia, the RS-232 _control signals_ are not inverted.
[...]
When one of these signals is active [DTR...], the voltage on the line will be
between +3 to +15 volts. The inactive state for these signals is the opposite
voltage condition, between −3 and −15 volts. Examples of control lines
include request to send (RTS), clear to send (CTS), data terminal ready (DTR),
and data set ready (DSR).
[...]
So I would think that translating that to 0...5V would be just scaling and
shifting the voltage interval without inversion.
I would assume that ser_set_dtr_rts(1) would therefore set the line HIGH
(active), and ser_set_dtr_rts(0) to LOW.
Why the low-level register writes are inverted on linux I don't know. I'm
trying to find out why that is the case. Finding the right kernel mailing list
is a tedium.
_______________________________________________________
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, 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, 2011/07/18
- [avrdude-dev] [patch #7559] 'arduino' programmer type DTR transition fix,
Robert Spitzenpfeil <=
- [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