Thank for the explanation, Joerg. Can you also suggest where reset code (open, set baud rate 1200, close) is located? I can't find it, but it works for Leonardo/Micro somehow..
2013/9/23 Joerg Wunsch <[email protected]> > As Anton Smirnov wrote: > > > Can anybody explain me why Leonardo/Micro that uses avr109 are reset > using > > the next code ("butterfly.c"): > > > > char mk_reset_cmd[6] = {"#aR@S\r"}; > > unsigned char mk_timeout = 0; > > The respective log entry is: > > r991 | joerg_wunsch | 2011-08-26 22:50:32 +0200 (Fri, 26 Aug 2011) | 11 > lines > > Submitted by Juergen Weigert: > patch #7056: adding support for mikrokopter bootloader to butterfly > * butterfly.c: Add some specific logic to handle the > mikrokopter.de butterfly bootloader. > * butterfly.h: Add one related function declaration. > * config_gram.y: Add butterfly_mk keyword. > * lexer.l: (Ditto.) > * avrdude.conf.in: Add entry for butterfly_mk. > > So the submitter of the patch is probably the person to ask. The idea > is probably that only the Mikrokopter responds to this, while it > doesn't harm for anything else. > -- > 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
