Flora - Programmer Not Responding

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kapparoll
 
Posts: 5
Joined: Thu Jul 12, 2018 4:29 pm

Flora - Programmer Not Responding

Post by kapparoll »

Hello!

I have a brand new flora that I am having trouble maintaining a connection with. I am trying to upload the basic blink sketch on Windows7. I have been pressing the reset button right before uploading, and get this message consistently.

Code: Select all

Arduino: 1.8.5 (Windows 7), Board: "Adafruit Flora"

Sketch uses 4128 bytes (14%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes of dynamic memory.
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, } => {}
PORTS {COM3, } / {COM3, COM6, } => {COM6, }
Found upload port: COM6
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM6 -b57600 -D -Uflash:w:C:\Users\Julia\AppData\Local\Temp\arduino_build_768464/sketch_jul30a.ino.hex:i 

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM6
         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 = D.u; 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

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have tried using multiple usb cables, in both ports on the computer. Every time i physically change the port I also change it in the program to the one that has (Adafruit Flora) next to it (either com 6 or 7 depending on the port I use). It also tells me 'programmer is not responding' a few times before telling me the board is not connected.

I am still a beginner so I am totally lost. Any suggestions?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Flora - Programmer Not Responding

Post by adafruit_support_mike »

As a sanity check, have you installed the driver?

https://learn.adafruit.com/getting-star ... dows-setup

User avatar
kapparoll
 
Posts: 5
Joined: Thu Jul 12, 2018 4:29 pm

Re: Flora - Programmer Not Responding

Post by kapparoll »

Yep! I installed it using the link on that page.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Flora - Programmer Not Responding

Post by adafruit_support_mike »

How does the Flora identify itself in the Device Manager or System Information USB pane?

User avatar
kapparoll
 
Posts: 5
Joined: Thu Jul 12, 2018 4:29 pm

Re: Flora - Programmer Not Responding

Post by kapparoll »

In devices it is 'Adafruit Flora', category 'Keyboard; Mouse'.

In the device's properties menu, it tells me which port it's in (COM 6 or 7 depending) and that the device is working properly.

I'm not sure exactly what information to look for so is there anything more specific I can tell you?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Flora - Programmer Not Responding

Post by adafruit_support_mike »

Hmm.. the "Keyboard, Mouse" part sounds a bit odd. You can program the microcontroller to act that way, and that can make it a bit harder to program again.

Try doing another upload without bothering to select a Serial port, and double-clicking the Flora's reset button when the lines beginning with 'PORTS' start to scroll past. That will force the bootloader to relaunch, and hopefully will put things back in order.

User avatar
kapparoll
 
Posts: 5
Joined: Thu Jul 12, 2018 4:29 pm

Re: Flora - Programmer Not Responding

Post by kapparoll »

I will try that! Does it matter if the microcontroller is off or on while i do this?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Flora - Programmer Not Responding

Post by adafruit_support_mike »

The microcontroller needs to be connected to the computer and powered, but it doesn't have to show up as a Serial port. Manually forcing the reboot should take care of that.

User avatar
lilaclarke91
 
Posts: 1
Joined: Mon Aug 06, 2018 10:54 pm

Re: Flora - Programmer Not Responding

Post by lilaclarke91 »

I am having the same issue, but pressing and/or double pressing the 'reset' is not helping. Did this end up working for you?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Flora - Programmer Not Responding

Post by adafruit_support_mike »

Verify your USB cable by using it to connect some other, known-working device to the computer.

There’s a plague of charge-only cables out there with USB connectors at both ends but no wires for the data signals. We see people get caught by them every day, and it’s normal for people to say they had to try three or four cables before finding one that worked.

User avatar
kapparoll
 
Posts: 5
Joined: Thu Jul 12, 2018 4:29 pm

Re: Flora - Programmer Not Responding

Post by kapparoll »

double pressing the reset didn’t work for me either. i am using a micro usb cable that works for a teensy.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Flora - Programmer Not Responding

Post by adafruit_support_mike »

Does the Flora's red LED pulse when you double-click the reset button?

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”