bugAVR Downloader/UploaDEr - Bugs: bug #29108, Automatic reset (DTR / RTS...


You are not allowed to post comments on this tracker with your current authentication level.

bug #29108: Automatic reset (DTR / RTS toggling) fails for "arduino" programmer type under Linux.

Submitted by:  David A. Mellis <mellis>
Submitted on:  Sun 07 Mar 2010 05:54:36 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: David A. Mellis
Open/Closed: ClosedRelease: None
Programmer hardware: Device type: 

Sun 07 Mar 2010 09:29:20 PM UTC, comment #1:

It's in SVN now, thanks for the patch.

Michal Ludvig <mludvig>
Sun 07 Mar 2010 05:54:36 PM UTC, original submission:

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.)

David A. Mellis <mellis>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mludvig (Posted a comment)
  • -unavailable- added by mellis (Submitted the item)
  • -unavailable- added by mellis

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 07 Mar 2010 09:29:20 PM UTCmludvigStatusNone=>Fixed
    Sun 07 Mar 2010 05:54:36 PM UTCmellisCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1