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

Submitted by:  Michal Suchanek <hramrach1>
Submitted on:  Mon 16 May 2016 12:22:03 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>

 

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
  • -unavailable- added by hramrach1 (Submitted the item)
  •  

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 May 2016 12:22:03 AM UTChramrach1Attached File-=>Added invert_dtr.patch.txt, #37171

    Back to the top


    Powered by Savane 3.1-cleanup1