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
2 answers
60 views

Uploading sketch to multiple arduinos connected in series

So I'm currently working on a project where you essentially will have multiple arduinos (1 Uno, multiple Nanos) daisychained, only connected through 2 digital pins and one wire for Serial ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
  • 1
1 vote
0 answers
28 views

Is there a way to upload a code to Arduino without using Arduino IDE? [duplicate]

I have Arduino code, I want to upload to Arduino without the use of Arduino IDE, how can I do this? I have a Arduino which is connected to my PC, I don't want to write the code in other language, just ...
user avatar
1 vote
0 answers
61 views

Arduino port not discovered with bootloader / Did I fry my board?

I have a Arduino Nano 33 BLE that I've been using for a while. I usually upload new programs to the board through USB with the board in a bootloader loop. The other day this stopped working. The board ...
user avatar
0 votes
1 answer
40 views

How to detect ESP32 vs ESP8266 automatically when uploading the application?

I have the same application for both ESP32 and ESP8266 (the same functionality). The person, who is not an IT expert is expected to launch the dedicated installer program to upload the (first/new) ...
user avatar
  • 137
1 vote
1 answer
97 views

Uploading to an external Atmega328P with a clone UNO R3 with soldered chip

As a complete newbie, after much looking for the best bargain, I ended up buying one of these UNO R3 clones, without realizing it had the chip soldered on the board. It looks like this: It works OK ...
user avatar
  • 121
0 votes
1 answer
453 views

Cannot upload programs to Raspberry Pi Pico with Arduino

I am trying to use a RP2040 Pico with the Arduino IDE. This is a huge uphill battle. Initially I couldn't get the upload serial port to show up, then copied the "hello world" UF2 to the Pico ...
user avatar
1 vote
0 answers
45 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!...
user avatar
1 vote
0 answers
244 views

Nodemcu Lolin v3 Timeout error

I am getting the Arduino console error "the selected serial port serial.serialutil.SerialTimeoutException: Write timeout does not exist or your board is not connected". I recently upgraded ...
user avatar
  • 21
1 vote
1 answer
157 views

why is my arduino stuck on uploading?

my arduino for the playground adafruit express gets stuck uploading, and is saying that it is not recognizing the ports. <Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "...
user avatar
0 votes
0 answers
463 views

About Finxing ESP8266-01 ERROR UPLOAD ARDUINO IDE (esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header)

I have one ESP8266 01 and can not write blinking example on it, so I have made the below connection on it based on this video, but I get the below error: Global variables use 27980 bytes (34%) of ...
user avatar
0 votes
1 answer
567 views

avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied Upload error:

I am using arduino-ide2.0.0-beta.7(CLI Version:0.18.3 alpha) on Manjaro Linux and I get this error when uploading sketch to my Arduino Micro: avrdude: ser_open(): can't open device "/dev/ttyACM0&...
user avatar
1 vote
0 answers
62 views

Nano 33 BLE Sense LED flashing 3/5 slow/fast after upload

I'd successfully got my Nano 33 BLE Sense to read accelerometer data and subject to there being a difference between current and last readings, to send this via the EasyTransfer library to an XBee ...
user avatar
  • 41
1 vote
0 answers
52 views

Upload of software working unreliably

I've got a new Keyestudio ATmega2560 (compatible with Arduino Mega 2560) board and was trying to upload a simple sketch. I noticed that both the Arduino IDE and PlatformIO were unable to do so, they ...
user avatar
1 vote
0 answers
70 views

Problem uploading my sketch onto my arduino. Arduino 1.8.13, Linux Ubuntu 20.4

This is my log, honestly no idea what the problem is here, tried updating java, didnt work. Sketch uses 11216 bytes (4%) of program storage space. Maximum is 262144 bytes. Global variables use 2384 ...
user avatar
0 votes
1 answer
204 views

I'm trying to upload a sketch to my arduino uno, but I get the Error-Message "avrdude: stk500_recv(): programmer is not responding" [duplicate]

Arduino: 1.8.13 (Linux), Board: "Arduino Uno" Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes. Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 ...
user avatar
  • 29
1 vote
0 answers
67 views

Unable to upload any sketch but Serial Monitor keeps displaying "Start scan, Scan done, Network found" message

I have bought a new Mega 2560 with WiFi. I tried to upload a sketch that worked OK with the previous Mega 2560 but the upload always fails with the following error message: ****************************...
user avatar
  • 61
0 votes
1 answer
356 views

Not able to upload code to NodeMCU

Im now working on a Node MCU based project but the problem is that i cannot upload the code to the board. Further more whenever i connect the usb to the NodeMCU my keyboard stops working and only ...
user avatar
1 vote
1 answer
182 views

Replacing the IC (atmega328) if lifespan has been arrive

Consider if the lifespan of atmega328 has been wear out. It said on datasheet of atmega how many times we can upload sketch about 10.000times (cmiiw), should i change the arduino or only the ...
user avatar
2 votes
1 answer
132 views

Arduino Due: JTAG and SWD do not work after pressing erase button

I have an Arduino Due board. I can successfully upload code to it using Arduino upload via USB. However I am also exploring another approach, which is to upload code via Atmel studio using an Atmel ...
user avatar
  • 63
2 votes
0 answers
268 views

Still getting "stk500_recv(): programmer is not responding" while uploading to bare ATmega328P

SOLVED! See bottom. I know this question has been asked a lot (believe me, I've been Googling for solutions for 3 days, and have come across many posts on SE), but none of the posts I've found have ...
user avatar
0 votes
3 answers
80 views

Why does my 23,032 byte Arduino sketch take 36.32 sec to upload via ISP to an Atmega328p on a breadboard w/code verification disabled?

"Sketch uses 23032 bytes (71%) of program storage space. Maximum is 32256 bytes. Global variables use 1342 bytes (65%) of dynamic memory, leaving 706 bytes for local variables. Maximum is 2048 ...
user avatar
1 vote
0 answers
103 views

Programming multiple arduino at once

I actually made a prototype with multiplexing Chip select pin on Arduino, which connects to RESET pin of target board to program. When I am connecting one target board at once I am able to program it ...
user avatar
  • 49
1 vote
1 answer
527 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 ...
user avatar
2 votes
2 answers
249 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 ...
user avatar
1 vote
1 answer
440 views

Can't upload sketches or flash Nodemcu 1.0 12E (CP2102) but have drivers and responds to RST on Serial monitor

I've been trying to get my nodemcu working for months and tried countless online references but none worked. I'm using the Arduino IDE to upload sketches and always get the error "Timed out ...
user avatar
2 votes
0 answers
67 views

Fail to upload sketch when Arduino Nano is connected to breakout board

When I upload a sketch from Arduino IDE to my Arduino Nano (not yet connected to breakout board) via USB, it works. I can then plug the Nano back to the breakout board and let it do its thing. However,...
user avatar
3 votes
1 answer
341 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 ...
user avatar
  • 151
1 vote
1 answer
47 views

Arduino Nano stucks on uploading [duplicate]

I'm trying to upload an simple blink sketch to my Arduino Nano, which not used for a while. As I remember, I uploaded an sketch to control RF module, at the last time I used. Now, when I connect my ...
user avatar
1 vote
2 answers
68 views

Sketch is not being received by Arduino even though Arduino Editor acts like it is finished?

In my attached screen capture the Arduino Editor appears to be performing the upload, however it never finishes. Completes three steps, the last being the sketch up-load and then states that it is ...
user avatar
2 votes
2 answers
750 views

Can't Upload Sketches to Arduino Nano Every

first-time builder here. I just got my Arduino Nano Every in the mail from Mouser, and I'm trying to upload a modified version of the blink example to my new brand-new board. However, every time I ...
user avatar
0 votes
1 answer
209 views

Windows upload from command line gives Access Denied

saw somewhere that in order to upload a hex file to an arduino you can look at the Arduino IDE - see the command it runs, then replace the hex file with your file. this is the command I see in the ...
user avatar
1 vote
0 answers
364 views

Why isn't my Arduino Nano Every recognized as a Nano Every and why won't it upload sketch?

I have a genuine Arduino Nano Every board that isn't showing up quite right. I actually have 2 hooked up to the computer on different ports and one of them, when I click on 'Port' shows as: COM12 (...
user avatar
  • 151
1 vote
0 answers
101 views

Arduino Nano 33 Sense won't upload

When I try to upload an example code from the Arduino_LSM9DS1 Library it either jumps ports so the upload cannot complete or spits out some red text and never completes the upload, just gets stuck on ...
user avatar
3 votes
3 answers
525 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 ...
user avatar
  • 49
1 vote
1 answer
51 views

Ardiuno DUE board. Sketch uploading Error

I am working on Arduino UDE board in Ubuntu 18.04. I've followed following link tutorial. https://www.arduino.cc/en/Guide/ArduinoDue#:~:text=Use%20your%20Arduino%20Due%20on%20the%20Arduino%20Desktop%...
user avatar
1 vote
1 answer
77 views

How can I make my custom board use the programmer selected in "Tools->Programmer" when the Upload button is pushed?

I've created a custom board that can be programmed using any one of several programmers defined in programmers.txt. I would like the user to be able to choose which programmer to use via the "Tools->...
user avatar
  • 1,450
1 vote
1 answer
167 views

Blank project gives errors while uploading Arduino Leonardo on Linux Manjaro

I'm on Linux Manjaro. I plugged my Arduino Leonardo clone (that I know works correctly). And tried to flash a blank project on it: (My IDE version is 1.8.12) void setup() { // put your setup code ...
user avatar
  • 147
1 vote
0 answers
236 views

Trouble Uploading Sketch - Issues with SPISettings

Full disclosure - I'm very new to Arduino. I am probably missing something simple. However, I've scoured the internet and can't seem to figure it out. I am trying to use an Arduino Duo Wifi rev2 to ...
user avatar
  • 11
0 votes
1 answer
92 views

How to add a yield before else if?

So I am running my project on a NodeMCU, but I don't know how to let it add a yield in front of an else if. It will give me an error like this: Arduino:1.8.12 (Windows 10), 開發板:"NodeMCU 1.0 (ESP-...
user avatar
  • 3
0 votes
0 answers
322 views

SPIFFS image does not fit in flash (offset 108MB)

I'm trying to upload an empty SPIFFS image to my ESP32's flash memory via the ESP32 sketch data uploader but I'm getting the following error: [SPIFFS] data : /path/to/my/data [SPIFFS] start : ...
user avatar
  • 1,789
-1 votes
1 answer
298 views

upload sketch via bluetooth for android

How can i convert file .ino to hex file so that i can compile new sketch via bluetooth. Can you help me to figure out the way to do this? thanks for helping
user avatar
1 vote
0 answers
102 views

What killed my Arduino nano?

Yesterday evening everything worked well. Today morning I am trying to upload sketch to the Arduino (nano china, CH340) and get the following: Writing | avrdude: stk500_paged_write(): (a) protocol ...
user avatar
  • 419
2 votes
2 answers
878 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 ...
user avatar
1 vote
1 answer
873 views

Upload already compiled code on Linux CLI without arduino-cli

I have a sketch for an Arduino Nano. I'm compiling it on my build server and get these 3 files: project.bin.elf project.bin.hex project.bin.with_bootloader.hex Now I need to be able to upload/flash ...
user avatar
0 votes
1 answer
669 views

make EEPROM.h use custom eeprom partition

I created the below partition table for an esp32 and replaced the 'default_8MB.csv' with it. # Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 0x5000, otadata, data, ...
user avatar
  • 1,789
0 votes
1 answer
359 views

Sparkfun Pro-Micro stuck on uploading

I have read multiple posts on how to reset the sparkfun pro-micro when it gets stuck during upload, and this seems to work to get it back to a state where I can upload new code again - However, I am ...
user avatar
  • 117
0 votes
1 answer
308 views

How do I download a sketch to an Arduino semi-permanently?

I will be working with Arduino(s), and I would like to find a way to download the sketches to the board semi permanently, in a way that I can remove the USB from the board, apply power, and still have ...
user avatar
  • 3
1 vote
0 answers
80 views

Monitor serial0 while code is being uploaded

I'm trying to upload the sketch on a Mega 2560 via the serial port 0 using another microcontroller. To better undestand the process, I decided to first observe what avrdude is doing while it is ...
user avatar
  • 111
1 vote
0 answers
51 views

AVR program upload overrides unrelated program area

I develope a new bus system (uartbus) which includes a host application that can handle new program uploads throught the bus. How it's work in short: The host application flashed to the AVR. This ...
user avatar

1
2 3 4 5 6