Your message dated Sun, 27 Jun 2010 00:32:09 +0000
with message-id <[email protected]>
and subject line Bug#587280: fixed in avrdude 5.10-3
has caused the Debian Bug report #587280,
regarding Automatic reset (DTR / RTS toggling) fails for "arduino" programmer
type under Linux.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
587280: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587280
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: avrdude
Version: 5.10-2
Tags: patch
A commit needs to be cherry picked from upstream so avrdude works with
some arduinos. Arduino is now in debian testing, so this important for
that package.
This is the commit:
http://svn.savannah.gnu.org/viewvc?view=rev&root=avrdude&revision=940
--- trunk/avrdude/ser_posix.c 2010/03/05 08:28:42 939
+++ trunk/avrdude/ser_posix.c 2010/03/07 21:27:22 940
@@ -230,13 +230,13 @@
}
if (is_on) {
- /* Clear DTR and RTS */
- ctl &= ~(TIOCM_DTR | TIOCM_RTS);
- }
- else {
/* Set DTR and RTS */
ctl |= (TIOCM_DTR | TIOCM_RTS);
}
+ else {
+ /* Clear DTR and RTS */
+ ctl &= ~(TIOCM_DTR | TIOCM_RTS);
+ }
r = ioctl(fdp->ifd, TIOCMSET, &ctl);
if (r < 0) {
Bug originally reported upstream:
http://savannah.nongnu.org/bugs/?29108
"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.)"
And debugged in Ubuntu:
https://bugs.launchpad.net/arduino/+bug/529444
--- End Message ---
--- Begin Message ---
Source: avrdude
Source-Version: 5.10-3
We believe that the bug you reported is fixed in the latest version of
avrdude, which is due to be installed in the Debian FTP archive:
avrdude-doc_5.10-3_all.deb
to main/a/avrdude/avrdude-doc_5.10-3_all.deb
avrdude_5.10-3.debian.tar.gz
to main/a/avrdude/avrdude_5.10-3.debian.tar.gz
avrdude_5.10-3.dsc
to main/a/avrdude/avrdude_5.10-3.dsc
avrdude_5.10-3_i386.deb
to main/a/avrdude/avrdude_5.10-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated avrdude package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 27 Jun 2010 01:57:37 +0200
Source: avrdude
Binary: avrdude avrdude-doc
Architecture: source i386 all
Version: 5.10-3
Distribution: unstable
Urgency: low
Maintainer: Michael Biebl <[email protected]>
Changed-By: Michael Biebl <[email protected]>
Description:
avrdude - software for programming Atmel AVR microcontrollers
avrdude-doc - documentation for avrdude
Closes: 587280
Changes:
avrdude (5.10-3) unstable; urgency=low
.
* debian/patches/01-arduino-auto-reset.patch
- Fix DTR on/off to make Arduino auto-reset work. (Closes: #587280)
Patch cherry-picked from upstream.
Checksums-Sha1:
2cb7e6a13516237e8ff9eee66c4355eea6725968 1293 avrdude_5.10-3.dsc
16245cd1be7bd263f7fa9f50aec387260a65e9ea 5404 avrdude_5.10-3.debian.tar.gz
016231cede0d55830c5765890dba134e5e42d1e6 197760 avrdude_5.10-3_i386.deb
48e66eaef0f87afbbee52d1ebf28cab2961007e8 551376 avrdude-doc_5.10-3_all.deb
Checksums-Sha256:
77cbc3a9f149c3a155d51af46853dac362a635513f8ac606ce2348f304681126 1293
avrdude_5.10-3.dsc
fda8e8bd73aaae26fb152c7ff4f21fad2ec7be25521997df8ad4e96ce44001e9 5404
avrdude_5.10-3.debian.tar.gz
c48159b89c2680d15caf85d6a2e1c71ea83c9ce5cc1daf869c96e4a53f2697ba 197760
avrdude_5.10-3_i386.deb
22da4ea0158f70f33394c06604d52a33e6c0cdfe149dc5c6cd44d87c49d539f3 551376
avrdude-doc_5.10-3_all.deb
Files:
01376aef0fa1add6ebe7e8ef2dc91b86 1293 electronics extra avrdude_5.10-3.dsc
2c05ca0f2fef7ab87a3563a56812ff57 5404 electronics extra
avrdude_5.10-3.debian.tar.gz
899fcfd521f59cf84080c85f45e06f4e 197760 electronics extra
avrdude_5.10-3_i386.deb
68b56a1a2173decc1ab6fbcc0632bae3 551376 doc extra avrdude-doc_5.10-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwmmaEACgkQh7PER70FhVQEigCdFHaTSi3ZocgU9uAelRN1YliE
m6YAn2z775UocGngpj3Tf0rtY1qdX0Vf
=GjQE
-----END PGP SIGNATURE-----
--- End Message ---