Can't upload a single sketch

I have used Arduino on multiple boards before and never i had this problem !
I can't upload a single sketch. I've tried 3 different ports, 4 boards (Arduino UNO, micro, nano, Wemos D1 mini), reset all the boards. I've resintall the software to the latest 2.0.1 version no changes. Has anyone had a smilar problem ?
Below the error i'm getting :

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

bishop02, welcome t the forum. Version 2.0.3 is currently the latest, however, which operating system are you using? Could you confirm that you have installed (at least for the Uno, Nano and Micro) the AVR board library and have selected the correct board and port?

Do you get that error regardless of the board that you selected? The message is specific to the Arduiino Micro (in this case) and should not show for the other boards.

Hi BitSeeker,

I'm using windows 10.
I have installed the esp8266 library for the wemos board but for the other one i didn't installed any library. I thought AVR library was allready installed, i can select all three board (micro, mini, nano).
I do confirme i have selected each and every Time the right board with thé right board com.

Hi sterretje,

I do confirm for all boards i keep getting the same message above.

When did your problems start? Did you e.g upgrade a board package or after switching from IDE 1.8.x to 2.0.1? Something else maybe?

To get some details

Enable verbose output during compilation in file → preferences in the IDE.

  1. Compile for a Nano; the first few lines should be like
Using board 'nano' from platform in folder: C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
  1. Compile for the Micro; first few lines should be like
Using board 'micro' from platform in folder: C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Important are the board and the platform.

Disable verbose output during compilation in file → preferences in the IDE.
Enable verbose output during upload in file → preferences in the IDE.

  1. Upload for Nano; first few lines should be like
Sketch uses 1860 bytes (6%) of program storage space. Maximum is 30720 bytes.
Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v  -patmega328p -carduino "-PCOM37" -b57600 -D "-Uflash:w:C:\Users\yourUsername\AppData\Local\Temp\arduino-sketch-07DD36AA0DA5BBED7460DCF645FC5952/EchoReceiver.ino.hex:i"
  1. Upload for Micro; first few lines should be like
Sketch uses 4242 bytes (14%) of program storage space. Maximum is 28672 bytes.
Global variables use 151 bytes (5%) of dynamic memory, leaving 2409 bytes for local variables. Maximum is 2560 bytes.
Performing 1200-bps touch reset on serial port COM25
Waiting for upload port...
Upload port found on COM28
"C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v  -patmega32u4 -cavr109 "-PCOM28" -b57600 -D "-Uflash:w:C:\Users\yourUsername\AppData\Local\Temp\arduino-sketch-07DD36AA0DA5BBED7460DCF645FC5952/EchoReceiver.ino.hex:i"

The important difference is -cavr109 (Micro) vs -carduino (Nano); noe that I used a Nano with old bootloader, I'm not sure what the -carduino will be for the new bootloader.

I do not know what it should be for a Wemos D1.

I suspect a corrupt board package. The easy way to solve it is to downgrade the AVR board package and next upgrade it to the current or latest one.

For now I would uninstall the Wemos board package; that can be added later again. Which additional board url did you specify in file → preferences?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.