Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
31 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:/...
0
votes
0answers
27 views

Cannot upload to Robotdyn Mega 2560 PRO MINI?

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
0answers
19 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
1answer
61 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; ***...
0
votes
0answers
16 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/...
0
votes
0answers
64 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 ...
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
22 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 ...
0
votes
1answer
717 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
0answers
38 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
2answers
38 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.
0
votes
2answers
72 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 ...
0
votes
3answers
71 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 ...
1
vote
1answer
42 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 ...
1
vote
0answers
294 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
470 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
1answer
76 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. ...
0
votes
1answer
79 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
0answers
139 views

How to upload firmware with an Atmel ICE to a custom ATSAMD21G18-based board using OpenOCD?

I am using PlatformIO and the Arduino framework to build firmware for an Adafruit Feather M0 Express. All is well, I can run pio run -t upload and my firmware is uploaded and runs fine (the LED blinks,...
3
votes
2answers
413 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 ...
0
votes
1answer
713 views

Set avrdude transfer baud rate in Arduino IDE

I just got an Arduino nano (from arduino.cc, not a knock-off), and have issues uploading sketches. It refuses to upload, with the error message "programmer is not responding". Some searching led to ...
0
votes
0answers
370 views

avrdude Programmer is not responding Mac

I'm VERY new to Arduino programs. I'm trying to upload the AnalogInOutSerial example to my Arduino, however, I keep getting an error saying that there is a problem uploading to the board. Thank you ...
1
vote
0answers
28 views

Serve currently uploaded code from Arduino

I'm creating a project where multiple ESP8266 12-E's are connected together. I want to use ArduinoOTA with the HTTP option (described here) and I want to have one ESP be able to send its code to ...
4
votes
1answer
6k 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 ...
1
vote
0answers
39 views

Can only upload certain programs to standalone Arduino

I can't upload a program that uses digitalRead, analogRead, and Serial.print on my standalone Arduino, because I get this error: avrdude: stk500_recv(): programmer is not responding avrdude: ...
0
votes
2answers
851 views

Uploading sketch problem

I just plugged my arduino and click upload, it shows this error: Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno" Sketch uses 948 bytes (2%) of program storage space. Maximum is 32256 bytes. ...
-1
votes
2answers
283 views

I am Using Arduino Lilypad . I am trying to upload but it shows Programmer Not Responding [closed]

Error Log: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0d avrdude: stk500_recv(): programmer is not responding avrdude: ...
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
285 views

Will avrdude overwrite the bootloader on my Nano?

I bought an arduino nano (knockoff from Elegoo) and according to the Amazon description it comes with a bootloader. From what I've read, this means that programming can occur over the usb connection ...
1
vote
2answers
121 views

Issue programming breadboarded Arduino via FTDI chip

I am trying to upload the Blink sketch to my ATmega chip which is now on a breadboard connected via an FTDI chip. My clock is running, power is OK. I connected the reset pin via a 100 kohm to the vcc ...
0
votes
2answers
1k views

Unable to upload the data on thingspeak using uno and esp8266

I am able to connect to thingspeak but now able to upload the data. here are my set of commands: AT+CIPMUX=0 OK AT+CIPSTART="TCP","184.106.153.149", 80 OK Linked AT+CIPSTATUS STATUS:3 +CIPSTATUS:...
0
votes
1answer
507 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
3answers
112 views

Programmer only uploading with its own power source

Can anyone explain to me why the following occurs (See image below)? When I connect the pins according to situation 1, everything works fine and I am able to upload my project. However when I connect ...
1
vote
1answer
146 views

Problem with simple coding for PLDuino: trying to turn relay on and off

I am writing the following, simple code to try to turn a relay in the PLDuino on and off, and it is giving me warnings and not compiling/uploading. Any help would be greatly appreciated. Here is my ...
1
vote
1answer
637 views

ESP8266 (D1 mini) fails to upload sketches

My Setup: 3.3v LiFePo battery attached to G and 3.3 pins. Serial-USB connected. Result: During the following code the blue on-board LED blinked rapidly for a few seconds then went off. I unplugged it ...
-1
votes
1answer
336 views

MKR FOx 1200 doesn't upload Sketch

My Arduino MKR Fox 1200 doesn't upload any sketches. First it worked, but now it doesn't. It compiles the bare minimum sketch (empty loop and empty setup) but then uploads forever and after a long ...
0
votes
2answers
2k 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 ...
0
votes
1answer
559 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 ...
0
votes
0answers
348 views

Cannot upload to Due

I cannot upload my sketch to my arduino DUE. I get this error: Send auto-baud No device found on COM8 Set binary mode An error occurred while uploading the sketch The IDE recognizes thought that ...
1
vote
1answer
188 views

Can't upload to Arduino Mini via Arduino USB 2 Serial Converter

I bought an Arduino Mini and also an Arduino USB 2 Serial Converter. While trying to program the Arduino Mini, I get this error: avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00 ...
1
vote
0answers
530 views

Cannot upload sketches, and loopback test fails, but bootloader is intact and correct

I was using an Arduino Uno for a project, when suddenly it stopped allowing me to upload sketches. I kept getting the error message: avrdude: stk500_recv(): programmer is not responding avrdude: ...
0
votes
2answers
853 views

How do I program the Arduino Primo Core using the Arduino Primo?

the Arduino Primo Core website (https://store.arduino.cc/usa/arduino-primo-core) says that I can program the Arduino Primo Core using an Arduino Primo. I have no idea how to do this! Can you do it ...
0
votes
1answer
109 views

How is interaction with CDC device with no interface endpoints working?

I'm working on uploading to Digispark board. It uses micronucleus bootloader and i can see uploader code. I've modified it a bit to see interfaces and endpoints count: nucleus->device = ...
1
vote
2answers
771 views

Standalone 328p Programming with CH340G programmer

I have made a standalone arduino board with a Atmega328p w/ Uno bootloader taking inspiration from this video https://youtu.be/sNIMCdVOHOM However, when I try to program mine all I get is "Problem ...
0
votes
1answer
48 views

usart sketch uploaded using makefile gives unusual behaviour

This is a simple usart program in avr c which just transmits a character. #include <avr/io.h> #include <util/delay.h> #define F_CPU 16000000UL #define BAUD 9600 #define BAUD_PRESCALLER ((...
0
votes
2answers
2k views

Problem with uploading my sketch to my Arduino

I chose the correct COM port but it won't upload. Arduino: 1.8.3 (Windows 10), Board: "Arduino Leonardo" Sketch uses 5252 bytes (18%) of program storage space. Maximum is 28672 bytes. Global ...
0
votes
1answer
1k views

Should BLK and GRN of Pro Mini be connected to upload sketch?

Is the following connector is valid for Arduino Pro Mini (no BLK and GRN)? I was told to make a certain Arduino application, and got some Arduino Pro Mini (ATmeag328 3.3V 8 MHz) with the connector ...
0
votes
1answer
299 views

Issues uploading to atmega324pb w/ adruino as ISP

I've been having some issues programming a new atmega324pb I have on a custom board. I set up an old adruino UNO as an ISP by uploading the ArduinoISP sketch, setting the programmer to "Arduino as ISP"...
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 ...
0
votes
2answers
152 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 ...