Leonardo: .avrdude: butterfly_recv(): programmer is not responding

He everyone!

I started experimenting with an Uno (which worked fine) and now want to move to a Leonardo. But whatever I do, when uploading to the (brand new) Leonardo it tells me:

avrdude: butterfly_recv(): programmer is not responding

what i've tried so far:

  • on osx -> "about this mac" -> "system report" -> checked that the arduino shows up as usb device.
  • in the ide -> set the board to "Arduino Leonardo"
  • in the ide -> set the port to "/dev/cu.usbmodem14201 (Arduino Leonardo)"
  • in the ide -> get bpard info shows

BN: Arduino Leonardo
VID: 0x2341
PID: 0x8036
SN: Upload any sketch to obtain it

  • switched usb cables

  • switched usb ports

  • switched computers

  • the full output from the compiler is this:

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/private/var/folders/n5/hf0hshx506ddv9c9kbdxkxr00000gn/T/AppTranslocation/4D24FEA3-B178-44A3-A419-2981D90DF31C/d/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/wouter/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem14201
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "�ߍ��"; type = 
    Software Version = .; Hardware Version = .
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done.  Thank you.

the selected serial port 
 does not exist or your board is not connected

I've been googling a lot and seen various people mention that holding or pressing the reset button during upload should fix this, but unfortunately that doesn't do the trick for me.

Anyone got any idea what could be wrong?

Thanks!!!!
Wouter

He everyone!

No one had a similar situation? After lots of experimenting i'm starting to believe it's a faulty board. Strange that it is recognised though...

Any help would be very welcome!

Let Google be your friend.

Or the search option at the top right of this screen which will filter the google results for you.

Bob.

I have exactly the same problem. It was well working before. I updated my Mac to Catalina along with Arduino IDE and it stopped working.

Yesterday I tried it on a Windows machine and it worked. So I believe it's my system. However, as everything is up to date I don't know how to resolve this. Please help!

Also please note that my IDE is working for ESP32 but not for Leonardo.