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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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!
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]...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
upload × 38uploading × 10
arduino-uno × 9
esp32 × 4
error × 4
serial × 3
esp8266 × 3
arduino-ide × 3
arduino-nano × 2
wireless × 2
avrdude × 2
compile × 2
reset × 2
mac-os × 2
stm32 × 2
arduino-mega × 1
c++ × 1
bluetooth × 1
nodemcu × 1
usb × 1
bootloader × 1
sketch × 1
hc-05 × 1
raspberrypi × 1
compilation-errors × 1