element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Problem uploading to ADAFRUIT Feather 32u4 using Arduino 2.1
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 14 replies
  • Subscribers 387 subscribers
  • Views 2692 views
  • Users 0 members are here
  • board
  • problem
  • adafruit feather
  • uploading
  • upload
  • feather
  • adafruit
  • connecting
Related

Problem uploading to ADAFRUIT Feather 32u4 using Arduino 2.1

Alexander28
Alexander28 over 2 years ago

Hi all,

Long time fan of the technology, first time user of the forum.

Currently using a Windows 10 box, with Arduino 2.1 and the following board, from RS Components:

ADAFRUIT Feather 32u4 Development Board 2829

image

Long story short, I used to be able to upload to the board, and now it just hangs at the upload screen, then after 4-5 mins, gives me the below error.

I have used different USB Cables, USB ports and even computers, same issue. I am wondering if i am doing something silly...

This is what i am getting:

"Sketch uses 10934 bytes (38%) of program storage space. Maximum is 28672 bytes.

Global variables use 885 bytes of dynamic memory.

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

avrdude: butterfly_recv(): programmer is not responding"

Had a read of this too:

https://stackoverflow.com/questions/49283074/arduino-leonardo-avrdude-butterfly-recv-programmer-is-not-responding

have tried the 'reset button' before programming, getting the red pulsing light indicating it is resetting, and then tried the upload, still nothing...

Anyone know where i am going wrong?

Really appreciate any help, thank you all!

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 2 years ago in reply to Alexander28 +1
    The first reset just resets the MCU, the second reset puts the MCU into booloader mode via the USB port. It only stays in bootloader mode for a few seconds, so the double reset sequence needs to be performed…
  • ralphjy
    ralphjy over 2 years ago +1
    Did you follow the instructions in the stackoverflow link precisely? It says to press and hold reset and then start the upload - wait until compiling is complete and you see the “Uploading” message in…
  • Alexander28
    Alexander28 over 2 years ago +1
    Thank you to everyone who gave suggestions, most were right! I had to press the reset button twice during compile time and then it would load. New to me, thanks, got me right out of a pickle! Thanks everyone…
  • shabaz
    shabaz over 2 years ago

    You mention you press Reset and then the red LED pulses; do you then also see the device appear in your Windows Device Manager? Does it come up in the Device Manager correctly, or does it come up in the Device Manager as an unknown device?

    I think that's a key step in your troubleshooting, because then you can make a decision if it could be a fault with the USB cables or the software drivers installation or a fault with the board itself. It is also a good idea to have another board (could be a cheaper one provided it is using the same ATmega chip) just for troubleshooting purposes.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 2 years ago

    Some of my 32U4 modules require the reset button to be pushed twice and the timing of the pushes needs to be right for it to work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Alexander28
    Alexander28 over 2 years ago in reply to shabaz

    Comes up with the correct name in device manager and appears to install drivers properly etc.

    Have tried 4 boards which we have on site, all with same issue. can order more boards to try a fresh one?

    Thanks for the advice.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Alexander28
    Alexander28 over 2 years ago in reply to dougw

    Thanks sir, can you elaborate as to how you do it?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 2 years ago in reply to Alexander28

    Could be a PC issue. If it hangs for 4-5 minutes then the bootloader may time out during that time, which would explain why the output is "programmer is not responding" afterwards.

    I don't know if the bootloader times out after 10 seconds or so. You may need to complete the entire exercise within the 10 seconds after reset.

    It may be hanging for 4-5 minutes due to a permissions issue perhaps. I don't use Windows 10 any more so I can't comment much here. You really ought to have more than one board so you can narrow down problems quicker. 

    Also, make sure that no other hardware is connected, i.e. no additional wiring to your board when you're programming it, just in case there is something unusual going on there.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 2 years ago in reply to Alexander28

    The first reset just resets the MCU, the second reset puts the MCU into booloader mode via the USB port. It only stays in bootloader mode for a few seconds, so the double reset sequence needs to be performed just before the IDE starts looking for a target to upload to. But there must be time for the USB to be enumerated by the PC before the IDE starts its upload. So 2 reset pushes about 0.4 seconds apart, leaving just enough time for the USB to be enumerated before the IDE starts its program dump. Generally the resets need to be performed well after the compile has started. You may need to experiment to get a feel for the timing.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • ralphjy
    ralphjy over 2 years ago

    Did you follow the instructions in the stackoverflow link precisely?

    It says to press and hold reset and then start the upload - wait until compiling is complete and you see the “Uploading” message in the status window before releasing the reset button.

    Seems clunky, but I’ve had to do that before.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 2 years ago in reply to ralphjy

    That sounds like the best way to do it (or a reset timed closer to the point where the transfer is about to occur, as Doug mentions). Because the Arduino IDE does its compilation and then transfers, and that may be taking the time that Alexander is referring to, and it is likely timing out of the bootloader by that time!

    It's all a mess because in the effort to simplify, Arduino made it actually more complicated. If the boards simply had a separate boot button, none of these problems would occur. Example is Pi Pico with its separate boot button (although then they went and got rid of the reset button but that's another story).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Alexander28
    Alexander28 over 2 years ago in reply to shabaz

    Thanks guys, seems thats where I might be going wrong, will give it another go.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Alexander28
    Alexander28 over 2 years ago in reply to dougw

    Thank you, will give it a crack later...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube