Skip to main content
13 votes
Accepted

avrdude: Error: butterfly programmer uses avr_write_page() but does not provide a cmd() method

After much frustration in trying things, I came across this forum post which advised: sudo systemctl stop ModemManager.service If this works, disable the service from starting next boot: sudo ...
Tom Hale's user avatar
  • 431
3 votes
Accepted

How to install the application + its configuration to many devices of the same kind? (ESP32)

If you don't want to include the individual config data in the sketch for each location there are mainly two possibilities to handle that: As consumer IOT devices often do you can write your code to ...
chrisl's user avatar
  • 16.5k
3 votes
Accepted

Arduino Nano clone doesn't upload Linux

The problem is in kernel ch341 driver. Using 5.3.3 on Archlinux and 5.6 rc1. https://github.com/torvalds/linux/blob/e33eab9ded328ccc14308afa51b5be7cbe78d30b/drivers/usb/serial/ch341.c This driver ...
Jakub Janek's user avatar
2 votes
Accepted

esp8266 OTA issue

Things to check: Partition arrangement selected. You have to make sure to keep the same partition arrangement between uploads. Partition arrangement selected. You have to make sure that the partition ...
Majenko's user avatar
  • 105k
2 votes
Accepted

tty doesn't list ttyUSB0 so arduino doesn't list serial ports

Sorry, I was using the software center to get arduino IDE and that didn't work well. Downloading the official IDE from arduino.cc worked without hassle. Lesson learnt: Not all linux distros have ...
Vibhore Jain's user avatar
2 votes
Accepted

Can't upload code to Arduino board on Mac

I finally solved the problem. Although the Board has no information about being a clone (it only says "Uno" and was provided by the faculty so I think it is official), I was looking on the ...
João Sacramento's user avatar
2 votes

My Arduino don't show port but is working

The STM32F103C8 has a native USB interface. You will only ever see a CDC/ACM (USB UART emulation) interface if you actively run code that implements a CDC/ACM interface. The bootloader is separate to ...
Majenko's user avatar
  • 105k
2 votes
Accepted

I'm trying to upload a sketch to my arduino uno, but I get the Error-Message "avrdude: stk500_recv(): programmer is not responding"

The problem was an Bluetooth extension I connected to the board. I removed it, uploaded the program, reconnected it, and that worked!
G. S.'s user avatar
  • 29
2 votes

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. [upload] Error 2

I purchased a NodeMCU clone ESP32 board and encountered this error. A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. [upload]...
Raja's user avatar
  • 141
1 vote

Upload to ESP32-C3 fails

You must be in flash mode DIO and watch the "USB CDC on boot" which must be on if you use native C3 usb and off if you use an external usb-serial converter. You can upload OK in QIO mode but ...
Pepe The Frog's user avatar
1 vote

How to install the application + its configuration to many devices of the same kind? (ESP32)

I usually use BLE to set the WiFi credentials. After the WiFi connection is taken care of, I usually provision the rest of the configuration data by having a web application in the LAN that I put into ...
AndreKR's user avatar
  • 190
1 vote

Not able to upload code to NodeMCU

I'd check 3 things: If it's a specific USB port/cable problem, not related to the NodeMCU itself (your said it interacted with your USB keyboard, what makes sense if it's a computer-usb issue). Try ...
Offer's user avatar
  • 107
1 vote

I can't upload codes to my ESP8266

Try updating the Serial Driver in your system or try using lesser baud rate, i.e. 9600 instead of 115200.
prikarsartam's user avatar
1 vote

Arduino Uno First Program

Welcome to the Stack Exchange and on the Arduino World. Just a note: Since yesterday there is a new version of Arduino IDE (the last version is now 1.8.11). When you buy an Arduino, a default sketch ...
Adriano's user avatar
  • 336
1 vote

I fried my arduino. Can I upload code wirelessly?

If the main MCU is still functioning fine then yes, sure you can. The only caveat is that you may have to manually reset the Arduino at the right moment in order to enter the bootloader for ...
Majenko's user avatar
  • 105k
1 vote

Can't upload new sketch

Removing there pin headers should not cause any sketch upload issue. I have done it many times. You did try uploading BEFORE unsoldering the headers right ? However looking at the desoldering job ...
Andre Courchesne's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible