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.
272
questions
182
votes
21
answers
582k
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: ...
105
votes
3
answers
112k
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?
40
votes
10
answers
148k
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
...
23
votes
2
answers
10k
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,...
16
votes
4
answers
14k
views
Is my Arduino dead or is it just its processor?
I have a problem with my Arduino. I can't upload any sketches to it (it gives me the error avrdude: verification error; content mismatch), but the LEDs are still blinking. Do you think that the whole ...
14
votes
8
answers
10k
views
Is it possible to upload a program from a tablet?
Is there any easy way to upload a program/sketch from an iPad or Android tablet without adding extra an shield (Bluetooth or Wi-Fi)?
If not, can it be done using shield? Which shield is preferred?
...
12
votes
1
answer
11k
views
Is it possible to upload previously compiled binary?
I have a number of sketches that I keep wanting to load into the Arduino but I don't necessarily need to recompile them because I haven't changed anything since the last compile. Since the compile ...
12
votes
2
answers
3k
views
Arduino as ISP without a computer
Has anyone seen or know of a method of preloading (using a computer or whatever) a firmware as data onto one arduino set up to operate as an isp and then using that arduino plug the isp interface into ...
10
votes
1
answer
41k
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
4
answers
60k
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 ...
10
votes
3
answers
10k
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
...
9
votes
3
answers
6k
views
Is it possible to program an Arduino Pro Mini using an Arduino Uno R3?
I've recently received an Arduino Pro Mini as a gift, and I don't have an external USB programmer to program the Pro Mini. However, I do own an Arduino Uno R3, and I think it would be possible because ...
9
votes
7
answers
11k
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
...
8
votes
1
answer
809
views
Can I program a 3.3v chip on a 5v board?
I bought a Gertboard a while ago, and one of the features it has on-board is an ATMega328 (DIP). However, since the Gertboard is designed for use with the Raspberry Pi, it only operates at 3.3v, so ...
7
votes
2
answers
9k
views
Is there a way to upload precompiled code to an arduino?
My company is developing a programmable remote control car which is driven by an Arduino Nano. We would like a way for the user to install software updates to the Arduino, but we don't want to give ...
7
votes
2
answers
14k
views
"Broken Pipe" when uploading to Arduino UNO
I just got my Arduino UNO and I'm trying to upload the blink example but the upload fails with
ioctl("TIOCMSET"): Broken pipe
ioctl("TIOCMSET"): Broken pipe
avrdude: stk500_recv(): programmer is not ...
6
votes
10
answers
32k
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: ...
6
votes
4
answers
8k
views
Arduino disconnecting at upload
This problem doesn't seen to be very common around the Arduino community.
Basically, what's happening is that as soon as I click the upload button, the Arduino IDE tells me that my Arduino board is ...
6
votes
1
answer
102
views
How do I remotely acquire data from Arduino based portable device?
I am making a device which will have an Arduino board and a sensor attached to it. The sensor will acquire data every 10 minutes and the data will be uploaded to my server. The size of every upload is ...
6
votes
1
answer
1k
views
Programmatically Upload Arduino Sketch From Android App
I am attempting to build an Android app from which I can can upload a .hex file to my Arduino(Leonardo). I am aware of a few apps in the Google Play store that are capable of this functionality but I ...
6
votes
2
answers
2k
views
Avoid the 10 attempts of Avrdude when programmer is not responding
Sometime I update my sketch in the Arduino environment, and when I click on the transfer arrow but forget to plug my arduino (I'm using the UART in my project so every time I need to plug/unplug some ...
5
votes
1
answer
2k
views
avrdude: Error: butterfly programmer uses avr_write_page() but does not provide a cmd() method
When trying to flash my sketch, I see many errors such as:
***failed;
***...
5
votes
3
answers
18k
views
Can I simply unplug the Arduino usb if serial communication is active?
So, after the sketch is uploaded, and I want to turn the Arduino off while it is running a sketch, all I have to do is unplug it.
Should be safe as long as nothing is uploading.
But I wonder, if I use ...
5
votes
3
answers
2k
views
Can I corrupt my Arduino if it's unplugged during an upload?
When messing around with code and uploading a sketch to my Arduino board, I almost accidentally pulled out the USB cord. Everything is fine, but then I started thinking what would've happened if I had ...
5
votes
2
answers
6k
views
Having difficulty uploading sketch to an Arduino Pro Mini
Having developed and tested a project using an Arduino Uno, I would now like to upload it to an Arduino Pro Mini (5V, 328, 16MHz) for semi-permanent, long-term use, but I can't get any sign of life ...
5
votes
1
answer
140
views
How do send sketch updates to devices without the editor?
I'd like to update the sketch of a device that a friend out of state is testing. I could have them install the full editor and send the source code but I'd rather not require them to do something so ...
5
votes
3
answers
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 ...
4
votes
1
answer
16k
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
...
4
votes
2
answers
5k
views
Uploading Sketches from Windows Command Line
The resources I've found regarding the Command Line interface seem to be out of date so I was hoping to find someone with experience using it. I'm currently running Arduino 1.5.6-r2 BETA on Windows 8....
4
votes
1
answer
122
views
SeeedDuino/Grove and the story of not being able to upload programs
I am new to the arduino world and wanted to start playing with the micro controllers, I am a .NET developer by trade so not completely new to this kind of world.
I purchased a seeedduino v3 and a ...
4
votes
2
answers
2k
views
STM32 "black pill" won't enter DFU mode reliably
I'm following the standard process to put an STM32 "black pill" (STM32F401CC) into DFU mode so that I can upload from the Arduino IDE over USB:
Hold down boot0.
Press and release rst.
...
4
votes
1
answer
2k
views
Unable to upload sketch using Platformio (but Arduino IDE works)
I am using an Arduino Nano (Clone) which I was programming with the Arduino IDE (Version 1.8.5 on Mac OS X 10.10.5).
Using the Arduino IDE I need to re-plug the Nano before uploading, but after doing ...
3
votes
3
answers
6k
views
Upload sketch remotely through a serial-IP-serial connection
I tried different times to use socat and ser2net in order to upload a sketch to an Arduino Uno (connected to a PC) from my laptop, unsuccessfully. Can anyone teach me how to achieve this goal? I use ...
3
votes
2
answers
1k
views
Is it possible to program a few Arduinos at the same time?
I have 10 Arduino Pro Minis and one Arduino Uno. Via breadboard, if I connect Pro Minis in parallel, can I program all of them at same time?
Is it possible?
3
votes
6
answers
34k
views
Problem to upload code
I tried to upload example code form arduino software and got error below. Two arduino attach with my computer running windows8.1. And These arduino using port 3 and port 4. The arduino using Port 3 is ...
3
votes
1
answer
3k
views
What is the use of ISP and ICSP in Arduino?
I am trying to connect gsm module with my arduino uno. confused about the use of isp and icsp
3
votes
1
answer
758
views
How to program Esp8266 remotly via wifi?
I hope it's not a sci-fi for arduino. But I saw that dual system with two MCU can program each other via radio connection. It has been done in experimental space cube projects.
It is theoretically ...
3
votes
3
answers
1k
views
I want to program multiple arduino at once
I am aware that using a USB Hub you can attach multiple arduino to one computer and either upload code one by one or use bash script to upload code on all arduinos together. But you can attach only as ...
3
votes
2
answers
3k
views
Upload sketch via Bluetooth using HC-06 module
I'm dealing with an application in which I need to upload sketches remotely to an arduino UNO board. I successufully managed to upload sketches using an HC-06 bluetooth adapter. The only problem is ...
3
votes
1
answer
94
views
Arduino Pro Mini
I have the following problem
I have a pro mini clone, with 328/5V. It was successfully working in my board. I pulled it out of the board, and wanted to update my software. I connected it to my FTDI, ...
3
votes
1
answer
367
views
Program nodeMCU Over the Air (OTA)
I have a Lolin NodeMCU V3 with a broken USB port: no power, no data.
It does show up on WIFI as AI-thinker_xxx, I can connect, but what can I do next?
Is there a way to program the NodeMCU Over the ...
3
votes
1
answer
808
views
Pro Mini not communicating with computer [duplicate]
when I try to upload blink program to my Pro Mini, I get this error:
avrdude stk500_getsync() not in sync resp=0x00
I've tried everything, changing the COM port, different USB cable and even ...
3
votes
0
answers
100
views
My port is grayed out?
Hello I have a question on why my port is grayed out when I go to upload?
I’ve watched so many YouTube videos on what’s the problem and have been trying to do everything but just nothing seems to work!...
3
votes
0
answers
657
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 ...
3
votes
2
answers
2k
views
Can't upload to arduino boards anymore
I have been working on several projects recently an made hundreds of uploads to several different boards. I haven't had any issues to speak of. Now I cannot upload. I have tried:
Disconnect all ...
3
votes
1
answer
669
views
Program SMT32 black-pill without pushing buttons or propriatary devices
Are there any options for programming an STM32 black-pill from the Arduino IDE without first having to manually push buttons to go into DFU mode or having to buy an ST-Link device?
A solution that ...
2
votes
4
answers
25k
views
esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2
When i try to upload code to the esp32 the following error shows up in the command line:
A fatal error occurred: Packet content transfer stopped (received 8 bytes).
I use platformio in VScode the ...
2
votes
3
answers
579
views
How do I upload sketch (and parameters) through a user interface
I'm pretty new to Arduino and I'm developing my first real-world project.
I have a Arduino Mega with a full working sketch in it which is going to be placed in several distant places and I have a ...
2
votes
2
answers
225
views
Uploading sketch to multiple Arduinos connected in series
I'm currently working on a project where you essentially will have multiple Arduinos (1 Uno, multiple Nanos) daisy-chained, only connected through 2 digital pins and one wire for Serial communication (...
2
votes
2
answers
2k
views
Can't open "COM1" on Linux with Trinket Pro
At work, on a Ubuntu 14.04 system, I can access my Trinket Pro without any difficulty whatsoever.
At home, using either Linux Mint or Ubuntu across two laptops, I can not communicate with the device ...