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
0
votes
1answer
46 views

Using use the STM32F103C8T6 board with the Arduino

last two days I am trying to program my blue pill with Arduino IDE, helplessly... Actually, I managed to install simple blink program, but after that, all other attempts ended up with: Failed to ...
0
votes
1answer
34 views

How do I properly trigger the ATMega328 reset pin via software so that the bootloader runs and the firmware can be updated via RX/TX pins?

I am programming my Atmega328P chip via a USB to TTL converter (https://www.amazon.com/gp/product/B075N82CDL/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1) I am able to upload hex files via ...
-2
votes
0answers
19 views

I have a problem uploading to ANY Arduino [duplicate]

I suddenly could no longer upload a compiled program to any of my Arduinos. This would be regardless of the program..mine, examples, or basic,even! I just got a new system and I can't get it to work, ...
0
votes
5answers
16k views

Problem uploading to Arduino Uno

The problem occurred while testing a ping program with the ethercard examples from github. Now no program will upload. It will say uploading.... and gets stuck there. The error message below appears: ...
2
votes
2answers
2k views

I can't upload my program to Arduino Uno

I've not used my Arduino for about 2 months. Before this time it worked fine, but now when I want to upload my program I get this error: Couldn't find a Board on the selected port. Check that you ...
1
vote
1answer
35 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
0answers
1k views

Arduino Leonardo isn't detected by Linux Mint on serial port /dev/ttyACM0

I'm working on Linux Mint 18 Sarah (earlier Ubuntu 16.04 LTS) system. I've installed Arduino IDE using command sudo apt-get install arduino and I've added me dialout group using sudo usermod -aG ...
1
vote
0answers
30 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 ...
0
votes
1answer
272 views

No headers (.h) found in Documents\Arduino\libraries\arduino_144469 with demo code

I followed this tutorial for a demo code for the SR04 ultrasonic distance sensor (without the LCD display). I've installed the Arduino IDE and wrote the code in it and saved it in some location. ...
0
votes
1answer
1k views

'“/dev/ttyACM0”: Permission denied' on Ubuntu 18.04

I'd like to say that I'm a noob at both Arduino & Ubuntu (have some command line experience). I've set port permissions, joined the relevant groups (tty,uucp,dialout & plugdev). I know that ...
0
votes
1answer
45 views

Reset Button not working + Can't Upload code , What is wrong?

I was testing and debugging a code I wrote for a robot with 3 stepper motors on (Arduino Uno + CNCShield V3 + a4988 stepper drivers). I want to disable drivers at will. so I bypassed EN pin on 2 of ...
2
votes
6answers
31k 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 ...
0
votes
1answer
95 views

Cannot connect through /dev/ttyACM0 (Ubuntu 18.04)

I am using an Arduino UNO which worked fine until today. My system: Ubuntu 18.04 Now, the IDE can no longer connect to it: Cannot do any sketch upload Cannot ask for board info No USB ports shown in ...
0
votes
1answer
130 views

Cannot upload to Robotdyn Mega 2560 PRO MINI? [duplicate]

I get this error trying to upload avrdude: stk500v2_ReceiveMessage(): timeout It is Robotdyn Mega 2560 PRO MINI and a Robotdyn CH340 which I have connected like this: I installed the CH340 drivers ...
0
votes
1answer
608 views

Error while uploading code to ESP8266 through Arduino Mega 2560

I am sorry for posting this question for the nth time but I am still not able to find a solution for this error. I am trying to upload the WiFiScan(Arduino IDE example program)program code to ESP8266 ...
1
vote
1answer
56 views

Programing a Bare Pic32

I recently received two types of Pic32 microcontrollers from Microchip, specifically the PIC32MX270F256B and the PIC32MX230F256B. I would like to use an Arduino Uno to setup the bootloader and to do ...
0
votes
1answer
85 views

Arduino Mega upload issue

I have made my own version of an Arduino Mega and I am encountering some issues. Whenever I try to upload any sketch to the Mega, I get the following error message: avrdude: stk500v2 ReceiveMessage():...
0
votes
2answers
368 views

Question about include statements and details in Arduino.h file from core library

This is more of a C/C++ question. However the files I am asking about are a part of the Arduino library. In /arduino-1.6.5-r5/hardware/arduino/avr/cores/arduino/Arduino.h : #ifndef Arduino_h #...
1
vote
1answer
221 views

I have to reload Sketch every time I start my Yun

I am new to Arduino and IoT. I got my hands on a Yun and loaded a simple sketch to subscribe to a topic. I am receiving messages (I have set up a PHP script and broker on a server, which takes care of ...
0
votes
2answers
854 views

My Arduino IDE stuck on uploading [duplicate]

So for a while I get some Arduino IDE problem which I can't solve. When I try to upload any kind of code to my Arduino, Arduino IDE just stay at "Uploading". I tried to use another Arduino but I get ...
0
votes
0answers
43 views

Why can you use FTDI with an ATMega328 with no external crystal?

I have read that serial (UART) communications are unreliable or will not work when using the 8MHz internal oscillator as the clock source. For example here are two results from a quick google. http:/...
96
votes
19answers
142k 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: ...
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 ...
0
votes
0answers
54 views

Flash erase error -32

When uploading code to the ATtiny85 (on a Digispark USB board) with the Arduino IDE (1.8.2) I get the following error about ~ half of the times: ... erasing: 65% complete >> Flash erase error -...
0
votes
2answers
478 views

Arduino app hangs on upload for all boards

I'm at a loss. I have many boards and have not had much trouble in the past uploading to feather, uno, light blue bean and others. I have a lot of boards loaded in the board manager and I'd rather not ...
1
vote
1answer
226 views
0
votes
0answers
17 views

Arduino UNO “An error occurred while uploading the sketch” [duplicate]

I am new to Arduino. I have downloaded the Arduino IDE for Windows and installed it. I am running Windows 7. My Board is selected as Arduino /Genuino Uno and Port "COM11" I opened the examples/...
1
vote
1answer
183 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 ...
0
votes
0answers
196 views

avrdude sometimes fails to read flash after uploading

I'm experimenting a strange problem. when uploading code to my custom designed arduino (it's based on the CH340 usb to ttl) uploads the firmware without problems but most of the times fails to read ...
16
votes
13answers
69k 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 ...
0
votes
0answers
37 views

Arduino is detected by the software, but uploading is impossible [duplicate]

I'm using a Geekcreit UNO arduino clone which worked fine for a long time and now suddenly, it stopped working. The builtin LED and the power LED are on, all pins provide 5V and wenn I try to upload a ...
0
votes
0answers
23 views

Checking/accessing Serial prevents clean upload of sketch via bluetooth?

I'm deploying some DIY home automation devices, built around a 3.3v pro mini, a HC-10 module, and a relay board. The arduino is able to be programmed over the bluetooth module, so once it's in the ...
4
votes
1answer
8k 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 ...
0
votes
1answer
556 views

Uploading code to Mega 2560 is stuck

I'm trying to upload code from a Mac (online Arduino editor) onto an Arduino Mega2560, to connect a motor to pin 52 and Ground to get it to move. But at the top it says busy (like it does when it ...
0
votes
0answers
92 views

error while uploading a code

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno" avrdude: can't open input file C:\Users\PETER_~1\AppData\Local\Temp\arduino_build_223764/nyu_probe_activity1_code.ino.hex: No such file or ...
0
votes
3answers
92 views

Problem with Arduino driver! Port option not visible. How to resolve it?

I am not able to upload sketch because my Windows 8.1 PC is not able to recognise it. It used to work fine but suddenly my driver disappeared from my device manager and no light is shown on the ...
86
votes
3answers
77k 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?
0
votes
2answers
49 views

how to compile arduino sketch from termnial without using arduino ide

I want to know how can I compile and upload the arduino sketch from my terminal instead of using Arduino IDE. I want to use a different IDE for writing code.
6
votes
10answers
27k 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: ...
0
votes
2answers
251 views

Arduino Nano- Programer not responding after upload WDT

I followed an example link for WDT. Code was copied as is, and uploaded to Nano successfully. Now- when I wish to upload another code, I get an error message saying avrdude: stk500_recv(): programmer ...
1
vote
2answers
2k views

ESP Wemos D1 upload fails

I try to upload simple code (e.g. blink.ino) to my ESP8266-12 (I have the WeMos D1 breakout board). Until now, that worked without a problem: I had to pull GPIO0 down and then I could upload the ...
1
vote
1answer
1k views

avrdude: stk500_recv(): programmer is not responding after all tries

After months of good use, both my boards Mega 2560 and Uno became unavailable for uploading sketch or burning bootloader. Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes. ...
1
vote
0answers
456 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 ...
0
votes
2answers
3k views

Arduino nano ATmega328p with CH341 won't upload

When I try to upload a sketch to an Arduino Nano, it stays stuck on uploading, and after a time it shows the following error code: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc2 ...
2
votes
3answers
4k views

Arduino Nano (clone) not recognized

Asking here cause I ran out of options in searching. My Arduino Nano clone isn't recognized by my computer anymore. It was, until I plugged into a Windows machine, that did not recognize it... and now ...
7
votes
5answers
8k 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 ...
0
votes
1answer
87 views

How to upload program to custom arduino board without USB FTDI and making it read only? [duplicate]

If I was to mass produce a microcontroller board I have designed based around the atmega328 (very similar to an arduino uno) but for one embedded task where I want one program only to be stored on it. ...
1
vote
2answers
234 views

How to programmatically choose “board model” and “port number” in Arduino IDE?

I'm testing three different Arduino (nano, Uno and Mega) each of them having a nRF module. The codes (sketches) are different for each module. I've connected the arduinos to my single laptop via 3 USB ...
6
votes
3answers
5k 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 ...
3
votes
2answers
634 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 ...