Because FTDI history: Why is the atmega chip reset three times during programming? – Arduino Stack Exchange
Posted by jpluimers on 2019/06/18
For historic reference: [WayBack] Why is the atmega chip reset three times during programming? – Arduino Stack Exchange.
TL;DR:
It is to ensure the device is being reset, no matter which driver you use and how odd that driver behaves.
So what you are seeing there is
- first a brief toggle of DTR by the IDE to force a reset,
- then
avrdudeopening the port and DTR going low,- then finally the IDE toggling DTR again one last time to force a final reset.
–jeroen






Leave a comment