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
1
vote
0answers
32 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 ...
1
vote
0answers
21 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,...
3
votes
1answer
47 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 ...
1
vote
1answer
36 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 ...
1
vote
2answers
60 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 ...
0
votes
1answer
58 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 ...
0
votes
1answer
30 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 ...
1
vote
0answers
54 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 (...
0
votes
0answers
35 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
34 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%...
0
votes
1answer
27 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->...
2
votes
1answer
72 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 ...
0
votes
0answers
138 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 ...
0
votes
1answer
73 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-...
0
votes
0answers
69 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 : ...
0
votes
0answers
38 views

Uploading on Nano won't work [duplicate]

it's my first post, I hope it'll turn ok So here's the issue, I'm trying to upload a small program on my Arduino Nano but it fails every time. Is there a chance that one of you knows a way to make it ...
0
votes
0answers
117 views

Unable to upload code on Arduino Nano on Manjaro Linux [duplicate]

I try to upload the Blink sketch. I can successfully upload on Windows but not on Manjaro Linux. I'm using Arduino IDE 1.8.12. In Boards Manager Arduino AVR Boards version 1.8.2 is installed I tried ...
-1
votes
1answer
114 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
0
votes
0answers
62 views

ArchLinux avrdude not in sync (resp changes everytime) but it works on Windows? [duplicate]

I have some nano clones (ch340) which are driving me crazy! I have followed every possible advice (including wiping out arduino, avr and related configs, using another board, using another pc running ...
0
votes
0answers
55 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 ...
1
vote
2answers
394 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
275 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 ...
0
votes
0answers
21 views

Programming Pro Micro over ISP, but keep bootloader [duplicate]

I want to program a Pro Micro over ISP from a hex file using avrdude, but I also want to have the bootloader after it is programmed so that I can program it over USB. Is this possible?
0
votes
1answer
190 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, ...
0
votes
1answer
73 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 ...
0
votes
1answer
75 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 ...
-1
votes
2answers
95 views

Arduino connectiond problems

I have problem with connecting an Arduino UNO to my computer, an HP EliteBook 830 G5. I bought the Arduino from here: Arduino UNO. It arrived with original Atmel ATMega328P micro controller and ...
0
votes
0answers
58 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 ...
0
votes
0answers
42 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 ...
0
votes
1answer
312 views

How do I upload an Arduino STM32 binary from the Mac command line?

I've compiled an Arduino program via a Makefile and have the resulting hex file. From the Mac command line, how do I upload this hex file to my STM32 Cortex M3 board? For an ATMEL processor I would ...
1
vote
1answer
418 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 ...
1
vote
1answer
866 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
votes
1answer
1k 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 ...
2
votes
0answers
264 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
174 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 ...
0
votes
1answer
1k 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
2answers
7k 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. ...
1
vote
0answers
147 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
1answer
545 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 ...
5
votes
1answer
988 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
905 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 ...
1
vote
0answers
26 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
238 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
76 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
510 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
494 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 ...
0
votes
1answer
194 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
2 3 4 5