avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] Autoreset for Arduino Micro (Butterfly)


From: Anton Smirnov
Subject: Re: [avrdude-dev] Autoreset for Arduino Micro (Butterfly)
Date: Tue, 10 Sep 2013 19:28:37 +0600

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] = {"address@hidden"};
      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 <address@hidden>

> 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.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]