patchAVR Downloader/UploaDEr - Patches: patch #9004, DTR auto-reset does not work with...

 
 

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

patch #9004: DTR auto-reset does not work with Arduino Pro Mini

Submitter:  Michal Suchanek <hramrach1>
Submitted:  Mon 16 May 2016 12:22:03 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Mon 16 May 2016 12:22:03 AM UTC, original submission:  

The DTR line is held the whole time programming an Arduino is attempted.

As pointed out on the mailing list the onboard USB-TTL on Uno is connected to the AtMega reset pin through a capacitor so this can work for Uno.

On Pro Mini there is only a reset pin that you can connect to an external USB-TTL and normally there is no capacitor so DTR has to be released before programming is attempted. Otherwise the Pro Mini stays in reset the whole time and programming fails.


This also fixes bug #46005

For compatibility the old behavior is used on every other communication attempt but this may be superfluous.

Tested with Chinese Uno and Pro Mini

Michal Suchanek <hramrach1>

 

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

Attached Files
file #37171:  invert_dtr.patch.txt added by hramrach1 (3KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hramrach1 (Submitted the item)
  •  

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-16 hramrach1 Attached File- Added invert_dtr.patch.txt, #37171

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code