ArduinoGeneral

Wireless GamePad V2.0 for Arduino - Connecting to programmer: .avrdude: butterfly_recv(): programmer

userHead mgruber 2019-04-01 20:40:21 3780 Views2 Replies
Hi,

Trying to upload the test code to the gamepad, getting error...

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

I've read that the trick with the Leonardo board is to reset it at some specific point during the upload to get it to accept it.

On the product page https://www.dfrobot.com/product-858.html

It states, "Includes a Turbo button used to reset the controller", but I cannot see a "turbo" button, I can see...

- Select
- Start
- Analog
- 1, 2, 3, 4
- front "1" and "2"

but no turbo, please advise.

Also at what point do I hit the reset button, just to be clear.

Here's the output from the Arduino IDE
Code: Select all
Sketch uses 6888 bytes (24%) of program storage space. Maximum is 28672 bytes.
Global variables use 411 bytes (16%) of dynamic memory, leaving 2149 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port COM11
PORTS {COM11, } / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {COM11, } => {COM11, }
Found upload port: COM11
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/bin/avrdude -CC:\Users\Admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM11 -b57600 -D -Uflash:w:C:\Users\Admin\AppData\Local\Temp\arduino_build_379339/DFGamepad_1.ino.hex:i 

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

         System wide configuration file is "C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"

         Using Port                    : COM11
         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
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
regards
Michael
2019-04-02 10:59:25 Managed to reload the bootloader on the gamepad, now visible on the device manager.

However, I still need to know where the physical reset (Turbo) button is so I can apply the upload workaround documented here -> https://www.arduino.cc/en/Guide/Arduino ... Micro#toc6
userHeadPic mgruber
2019-04-01 21:16:56 Hi,

Just tried to use the ICSP port to download a Leonardo bootloader using the Arduino IDE, now the gamepad does not appear at all in the device manager.

Any assistance how to get back to square 1 - i.e. factory default would be appreciated.

regards
Michael
userHeadPic mgruber