Can't upload code - tried with multiple boards/systems/cables

After many months, I'm returning to some basic Arduino projects and can't seem to upload my code with the Arduino IDE. I've tried two Borderless Electronics Leonardos and an clone ATMega 256 on two different Windows computers with two different USB cables and multiple USB ports. I've tried uninstalling/reinstalling the Arduino IDE.

What am I doing wrong? Here's the error output:


Sketch uses 3956 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes (5%) of dynamic memory, leaving 2411 bytes for local variables. Maximum is 2560 bytes.
An error occurred while uploading the sketch

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 = i.
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


MORE: After uninstalling, renaming C:\Users\Michael\AppData\Local\Arduino15 and reinstalling, I get these errors:


Sketch uses 16124 bytes (49%) of program storage space. Maximum is 32256 bytes.
Global variables use 1187 bytes (57%) of dynamic memory, leaving 861 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x70
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x70

  • Did you use USB cables with 4 wires? Some of them only have two wires, for charging mobile phones!
  • Does a new COM: port appear under Tools -> Port in the IDE after connecting the USB?
  • If yes, did you select it?

I didn't actually know USB cables would only come with VCC/GND. Wow.

I had included a Sparkfun mini-USB cable in the a/b testing. Turns out that one cable was also bad. So, two non-working USB cables!

The COM was appearing, selected, the proper board selected etc. Just couldn't upload. Later, that COM stopped appearing and remained grayed out.

I solved the problem by completely uninstalling/re-installing Arduino IDE and testing with a third USB cable. That solved the issues.

Boy, I hate multi-variate problems. :-/

Arduino: 1.8.13 (Mac OS X), Board: "Arduino Uno"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
/private/var/folders/nl/m372pgh57zx71qch25gysyc40000gn/T/AppTranslocation/6C6A8464-07CA-43E0-875E-3DA2F1067A7A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/private/var/folders/nl/m372pgh57zx71qch25gysyc40000gn/T/AppTranslocation/6C6A8464-07CA-43E0-875E-3DA2F1067A7A/d/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.Bluetooth-Incoming-Port -b115200 -D -Uflash:w:/var/folders/nl/m372pgh57zx71qch25gysyc40000gn/T/arduino_build_860787/sketch_nov14a.ino.hex:i

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/nl/m372pgh57zx71qch25gysyc40000gn/T/AppTranslocation/6C6A8464-07CA-43E0-875E-3DA2F1067A7A/d/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/john/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/cu.Bluetooth-Incoming-Port
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.>

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.