The logic for resetting the Leonardo or Micro before upload is in the Arduino IDE: https://github.com/arduino/Arduino/blob/master/app/src/processing/app/debug/AvrdudeUploader.java
On Sun, Sep 22, 2013 at 11:56 PM, Anton Smirnov <[email protected]>wrote: > Probably you're right as i was not able to find it. > But Micro and Leonardo are reset somehow in order to jump into bootloader > and it does not relate to avr109 imho. > > > 2013/9/23 Joerg Wunsch <[email protected]> > > > As Anton Smirnov wrote: > > > > > Can you also suggest where reset code (open, set baud rate 1200, > > > close) is located? > > > > I don't think anything like that is present in the code. > > > > -- > > cheers, Joerg .-.-. --... ...-- -.. . DL8DTL > > > > http://www.sax.de/~joerg/ > > Never trust an operating system you don't have sources for. ;-) > > > > _______________________________________________ > > avrdude-dev mailing list > > [email protected] > > https://lists.nongnu.org/mailman/listinfo/avrdude-dev > > > _______________________________________________ > avrdude-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/avrdude-dev > _______________________________________________ avrdude-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avrdude-dev
