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.

Submitter:  David A. Mellis <mellis>
Submitted:  Sun 07 Mar 2010 05:54:36 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  David A. Mellis
Open/Closed:  Closed Release:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-07 mludvig StatusNone Fixed
        Open/ClosedOpen Closed
    2010-03-07 mellis Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code