Questions tagged [uploading]

Uploading is the process of updating or changing the sketch on the Arduino board. It does not refer to uploading to a server or a website.

Filter by
Sorted by
Tagged with
145
votes
21answers
354k views

"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

I made an awesome program the other day, and I wanted to upload it to my Arduino. After clicking the upload button, some mean dude named avr came along and stopped me, saying: avrdude: ...
97
votes
3answers
101k views

Have I bricked my Arduino Uno? Problems with uploading to board

I can't upload sketches to my Arduino Uno. Have I "bricked" it? What steps can I take to work out what is wrong? What can I do to fix it?
31
votes
12answers
119k views

Arduino Nano uploading gives error: avrdude: stk500_recv(): programmer is not responding

I have a Arduino Nano (Sainsmart) that I'm trying to upload a sketch to. Under the Arduino IDE, the device selected was Arduino Nano w/ ATmega328. However uploading the sketch gives me the error ...
1
vote
1answer
373 views

ArduinoISP external programmer produces verification error?

I am using an ArduinoISP external programmer to upload a sketch to an Arduino MEGA. I set the processor type to MEGA 2560, and use Ctrl-Shft-U to upload using a programmer. My programmer is set to ...
8
votes
1answer
29k views

CH340 Nano avrdude: stk500_getsync() not in sync resp=0xa4

I'm trying to upload some code to an non-arduino nano with the CH340G chip, and the avrdude refuses to let me upload. The error I'm getting is: Using Port : COM4 Using Programmer ...
10
votes
4answers
58k views

Arduino compatible's serial port not showing Mac OSX

I bought an Arduino-compatible Freaduino board atmega8 (I selected the board type as Arduino ng or older atmega8). I installed the Arduino IDE on Mac OS X and the FTDI drivers. But my serial port ...
20
votes
2answers
9k views

Why can't I upload a sketch while other components/devices are connected to my Uno?

I wanted to make a fairly simple circuit which would flash a series of LEDs in sequence, using my Arduino Uno (more specifically, a SainSmart clone). I wrote my sketch and it compiled fine. After that,...
6
votes
10answers
31k views

avrdude: stk500_getsync(): not in sync: resp=0x00

I have arduino pro mini 5V, 16M ATMega328 and CP2102 USB to TTL. I've wired them like this: When I try to upload a sketch to the arduino board I'm getting the following error: avrdude: ...
9
votes
3answers
8k views

Upload code on Arduino Leonardo using command line

I'm trying to upload a compiled .hex file on an Arduino Leonardo, using the terminal. Uploading a sample code using the Arduino IDE works well, and from the Arduino IDE I got the upload command ...
4
votes
1answer
15k views

Upload with esptool fails with "espcomm_send_command: can't receive slip payload data"

Uploading a sketch to an ESP8266 board fails with: error: failed reading byte warning: espcomm_send_command: can't receive slip payload data warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed ...
5
votes
3answers
1k views

Is it possible to create a standalone exe which can burn the code into a Teensy 3.1?

So here's the scenario. I have sent my teensy 3.1 circuit to a client of mine And now I need to update the code burned onto teensy without providing client access to the code So is it possible to ...
1
vote
1answer
341 views

How do I Upload a Program via Serial Port to an Optiboot_X-Enabled TinyAVR-0/1 Microcontroller using the Command Line?

Background In 2019, Microchip acquired Atmel and released several new AVR microcontrollers, including the Tiny-0 and Tiny-1 Series. On these mircocontrollers, traditional Atmel ICSP programming was ...
1
vote
2answers
3k views

Use command line to upload program through hex file to Teensy-LC

I want to make a standalone programmer for Teensy-LC in windows 8.1. So basically I have provided the board to a client of mine and now I want to change the program loaded into the Teensy-LC board. ...
9
votes
7answers
10k views

ERROR: Timed out waiting for Arduino 101 - anything I can do?

I just received an Arduino 101 so I did the following in a wave of excitement... Connected the USB cable between it and my Macbook Pro Started the Arduino IDE version 1.6.7 Wrote a little bit of code ...
3
votes
0answers
370 views

OTA updating the ESP32 from a separate server

I have an ESP32 project which I'd like to be able to update OTA. The trouble is that it is in deep sleep for approximately 15 minutes before waking up, connecting to WiFi sending an MQTT packet then ...
2
votes
0answers
119 views

Arduino not responding while trying to flash over BLE

I'm working on wireless uploader for Arduino from iOS devices. I'm using HM-10 BLE module which seems to work ok. PIO 2 is used as DTR for resetting (see A [0x41] T [0x54] + [0x2B] P [0x50] I [0x49] O ...
2
votes
2answers
186 views

Uploading sketch to ATTiny84 with Nano as "Arduinio as ISP" stopped working

Update 12/11 Working through the answer posted. Upload reset appearance - [Works blinks correctly.] Convince yourself that reset appearance code reliable indicates DTR resets. [Opened the serial ...
2
votes
0answers
155 views

Using arduino shield seems to break serial.print and uploading new code?

Hello Stack Exchange Community! For an arduino project I am working on, I modify the SparkFun 6 Degrees of Freedom IMU Digital Combo Board - ITG3200/ADXL345 to support DSSCircuit's I2C Master Library ...
2
votes
2answers
740 views

Arduino Nano clone doesn't upload Linux

I've been trying to upload sketch to Arduino Nano clone (CH340G RS232 to USB converter). I have ArchLinux. My port is detected as /dev/ttyUSB0 (Official Arduino Uno is /dev/ttyACM0). After trying to ...
1
vote
1answer
2k views

Can the Arduino (Nano) bootloader be updated via itself and the Arduino IDE or is an ISP required?

I ran into the following error with a recent Arduino IDE version (1.8.9) when trying to upload to an "Arduino Nano" clone (ATmega328P): avrdude: stk500_recv(): programmer is not responding avrdude: ...
1
vote
2answers
7k views

Problems uploading sketch to Arduino Due

Windows 7 here. I just bought an Arduino Due and downloaded the Arduino IDE. I wrote a simple "blink LED" program (see below) and am trying to flash it to the Due. When I connected the Due to my ...
1
vote
1answer
323 views

Uploading Error: no programmer has been specified

Whenever I upload a code I get this error: avrdude: no programmer has been specified on the command line or the config file Specify a programmer using the -c option and try again I am able ...
1
vote
4answers
2k views

Arduino Nano Update failure - avrdude: stk500_recv(): programmer is not responding

Before I tear all my hair and teeth out, can anyone please help. I have tried googling an answer and have not found anything. My Setup: Win7 64bit Arduino 1.6.9 IDE freshly reinstalled COM14 port ...
1
vote
1answer
2k views

Unable to upload code to Leonardo

I was using Arduino-Makefile to upload code to a Leonardo via its standard make upload. However, it became "stuck" and unresponsive, as Leonardo's sometimes do. I tried power cycling it, and ...
0
votes
2answers
5k views

Arduino not working / not uploading [duplicate]

Could anybody please help me with my problem? My Arduino doesn't work correctly. I was between a project, and suddenly it started acting weird. First, it started taking about 4 minutes to compile and ...
0
votes
3answers
3k views

Arduino nano stopped working

After programming Arduino Nano with the DIY Headtracker code, after trying to plug the Arduino to the receiver and some time, the LED stops flashing and now it's not recognized by the computer anymore....
0
votes
2answers
79 views

Keyboardmessage on Arduino UNO

Can an Arduino UNO and Arduino Leonardo do the same things? Some of the examples in the Arduino software say to use Leonardo e.g. KeyboardMessage.
-1
votes
2answers
283 views

Possible reason for broken Uno

Yesterday I wrote in a comment that I didn't break much, except a LED and a LED matrix. However, exactly yesterday I think my Uno gave up, since I cannot upload a sketch anymore (timeouts). For the ...