0

"programmer is not responding" when uploading to Flora
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

"programmer is not responding" when uploading to Flora

by eclipse19 on Tue Jun 08, 2021 12:46 am

I recently completed a design with an Adafruit Flora, NeoPixel, TCS34725 Color Sensor, and VS1053 Codec MIDI board but cannot get the code to upload to the Flora. This is a duplicate of a circuit I've built before, so I know the code and circuit is fine, but when I try to upload I'm getting a persistent error related to "avrdude: butterfly_recv()."

I'm on a Windows 10 machine and the Flora has a solid green light and a constant flashing red light. The yellow light blinks on for a second when it's trying to upload. I've confirmed that my USB cable is indeed a data cable. I've got both the correct serial port and the right board chosen (see photo). I have read through a bunch of similar threads for this problem, but none of them seem to have an answer. Can someone please help me?

Below is a copy of the output during the step that's throwing the errors:

Code: Select all | TOGGLE FULL SIZE
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 "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM3
         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 = "F"; type = @
    Software Version = �.t; 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
Attachments
arduino_tools_screenshot.png
arduino_tools_screenshot.png (15 KiB) Viewed 377 times

eclipse19
 
Posts: 11
Joined: Mon Nov 12, 2018 12:53 am

Re: "programmer is not responding" when uploading to Flora

by dastels on Tue Jun 08, 2021 9:12 am

The usual first thing to try is manually resetting the Flora (i.e. press the reset button) while avrdude is trying to "sync" with the board.

Dave

dastels
 
Posts: 6889
Joined: Tue Oct 20, 2015 3:22 pm

Re: "programmer is not responding" when uploading to Flora

by eclipse19 on Tue Jun 08, 2021 3:16 pm

I've tried doing this, but when I hit the reset button, the Flora disconnects from computer entirely, and I have to unplug the USB and plug it back in to get it to see the COM port again.

eclipse19
 
Posts: 11
Joined: Mon Nov 12, 2018 12:53 am

Re: "programmer is not responding" when uploading to Flora

by dastels on Tue Jun 08, 2021 3:36 pm

That seems odd. I'd expect it to re-enumerate when it came back.

Please email support@adafruit.com with a link to this thread, your order number, and request the replacement of one Flora.

Dave

dastels
 
Posts: 6889
Joined: Tue Oct 20, 2015 3:22 pm

Re: "programmer is not responding" when uploading to Flora

by eclipse19 on Wed Jun 09, 2021 12:07 am

Will do. Thank you so much!

eclipse19
 
Posts: 11
Joined: Mon Nov 12, 2018 12:53 am

Please be positive and constructive with your questions and comments.