It seems that the code below does reset (butterfly.c):

fprintf(stderr, "Connecting to programmer: ");
  if (pgm->flag & IS_BUTTERFLY_MK)
    {
      char mk_reset_cmd[6] = {"#aR@S\r"};
      unsigned char mk_timeout = 0;

      putc('.', stderr);
      butterfly_send(pgm, mk_reset_cmd, sizeof(mk_reset_cmd));
      usleep(20000);

Does anyone know  how it works (if it works) for Arduino?
I believe settings baud rate 1200, close, open, set baud rate to 57600 is
expected for Arduino Micro here.
Please correct me, if i'm wrong.

Regards, Anton.


2013/9/10 Anton Smirnov <d...@antonsmirnov.name>

> Hello.
>
> I'm porting avrdude to use libusb on android and it does not work yet.
> According to the description for Arduino Micro it is autoreset when open
> port at baud rate 1200 and close. I can't find where is it in code.
>
> PS. BTW I've seen some emails on "AVR109 not working" and related topics
> so was it working in release 5.11 (i don't want to update as i have some
> changes) or i have to update?
>
> Rgards, Anton.
>
_______________________________________________
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to