Skip to main content

Questions tagged [bootloader]

Refers to the code burned on the Arduino flash memory that runs every time the board is powered up. It starts the execution of user-loaded programs and allows uploading sketches from a PC through the USB connection. This tag should be used for questions about modifying, changing, uploading the default bootloader.

Filter by
Sorted by
Tagged with
1 vote
1 answer
62 views

Confusion re: getting bootloader onto new-out-of-the-box Nano v3.0 (classic)

I've been trying to do a sort of "crash course" in Arduino but there's something I'm still confused about. I've read about programming ATTiny microcontrollers using Arduino boards, and I've ...
BirdsInMyBrain's user avatar
2 votes
2 answers
261 views

Is is possible to install a bootloader to an Arduino clone without a physical programmer?

I got an Arduino UNO clone, connected it to my PC via USB. I can't upload any sketches. Correct board and port are selected in the IDE. Windows recognizes it as a device, even though it has a CH340 (...
Leonardo Hysesani's user avatar
4 votes
3 answers
555 views

How to compile without adding the bootloader?

I'm using a standalone atmega328p with a 16MHz crystal. I'm programming it via avrdude on a raspberry pi, using the SPI and RESET pins. When I compile my program, this is what I see at the end of the ...
php_nub_qq's user avatar
0 votes
4 answers
202 views

Can arduino be used in industrial projects?

I'm developing an industrial project and my programming knowledge is limited to arduino. I'm planning to use either Atmega328 or STM32F103C8T6 chip in my pcb and to program it using arduino IDE. My ...
vignesh vignesh's user avatar
1 vote
1 answer
123 views

Programming barebones ATMega328 with external programmer and no bootloader

I have created a circuit with a barebones ATMega328. I also have an external programmer (Sparkfun's Pocket AVR Programmer)... Now I want to program a particular sketch... When uploading a sketch, do i ...
user1584421's user avatar
  • 1,405
1 vote
0 answers
19 views

How does arduino pro micro reset via USB? [duplicate]

The pro micro has no hardware reset circuitry that would allow host PC to cause a reset via USB. But when programming using the bootloader, the host PC must have a way to reset the pro micro to allow ...
Calum Nicoll's user avatar
2 votes
1 answer
152 views

Arduino AVR Program with default ATMEGA32U4 bootloader instead

I’m working an Arduino program that uses the FastLED library and is all coded in the Arduino IDE (not my choice, just a result of this OOS library). However, I don’t want to run this on an “Arduino” ...
Felix Jen's user avatar
  • 123
4 votes
0 answers
89 views

Turn ESP8266 into an Arduino IDE-like "sketch uploader" (over hardware serial)

I have an ESP8266 module which has downloaded a hex file for an Arduino Mega2560. This hex file (call it mega2560.hex) is sitting in the ESP's SPIFFS file system. What I want to do is basically ...
First User's user avatar
1 vote
0 answers
86 views

Cannot change fuses on ATmega32U4

I have a custom board based on Arduino Leonardo (ATmega32u4). As usual I used the Arduino IDE to burn the bootloader with my Atmel ICE ISP programmer. This time it failed complaining about some errors ...
Mark's user avatar
  • 393
1 vote
1 answer
71 views

Why Did I Have To Program Duemilanove Bootloader?

As a volunteer for Public Invention, I have developed an Atmega328 based design in which I thought I was largely duplicating the Arduino UNO. Unlike the UNO, I did choose a CH340 USB to UART chip as ...
Forrest Erickson's user avatar
2 votes
0 answers
106 views

ESP8266-01S only coming back from DeepSleep every 2nd time

I'm using an ESP8266-01S for a battery-powered project. The ESP is in DeepSleep, a doorbell relay pulls RST to GND, bringing the ESP to life to do some stuff, before going back to DeepSleep. My ...
Jan's user avatar
  • 151
0 votes
1 answer
407 views

Pro Micro Double Reset help; Not able to get upload done in 8 seconds

I have timed the double reset as best as possible multiple times but the upload doesn't happen before the board leaves bootloader mode. this is all I'm given as an error which doesn't appear until ...
spendlove57's user avatar
1 vote
2 answers
229 views

Why can't I upload a sketch by connecting directly to the serial pins?

I have an handful of fake arduino nanos. The work fine, but as an experiment, I tried to program them with a usb serial adapter (a real FTDI one). It doesn't work, but also, strangely, it seems to ...
Alex028502's user avatar
2 votes
1 answer
211 views

Wemos C3 Mini (ESP32-C3) does not run firmware unless connected to pc

I've been using ESP32s and ESP8266 for a few years now and I thought I'd give these little boards a shot, they were cheaper for Bluetooth/WiFi combo, and I don't need all the bells and whistles of a ...
Cody Sorgenfrey's user avatar
2 votes
1 answer
256 views

How does the compiler/assembler work wrt bootloader?

I realized that on the atmega boards the bootloader is programmed into the chip. I'm curious, when compiling a sketch how does the compiler/assembler differ from compiling a standard C program for a ...
FourierFlux's user avatar
-1 votes
1 answer
60 views

Arduino Nano Doesn't Upload Any Code After Connecting It In Reverse (Rotated 180°)!

I've Made A PCB Which Includes An Arduino Nano. I Soldered Some Female Pin Headers Instead Of Soldering The Arduino Itself, So That I Can Easily Plug/Unplug The Arduino Board. It Was All Good, Until I ...
A_Asaker's user avatar
2 votes
4 answers
13k views

ESP32-CAM rst:0x8 TG1WDT_SYS_RESET bootloop [closed]

I have ESP32-CAM that I plan to use as a simple security camera. I tested the software and it was working perfectly. I programmed it using FTDI programming board with 5V. After testing everything I ...
Eren Sönmez's user avatar
0 votes
2 answers
1k views

Standalone ATMega328 - do I need to burn the bootloader?

I want to get an ATMega328 off of the Digi-Key, and use it like an Arduino (without requiring the whole Arduino board). When it comes to programming, do I need to do anything special like burn the ...
RGB Engineer's user avatar
0 votes
1 answer
34 views

avr_boot change LED pin

I would like to know how can I change LED pin for avr_boot bootloader. I can see there is option in variants folder but in the manual it mention "if using USE_LED adapt LED-pins in asmfunc.S"...
Shahreza's user avatar
  • 165
2 votes
1 answer
353 views

Is it possible to remove the bootloader while flashing using the bootloader?

The question is meant as in, can I lock myself out of the Arduino using the bootloader, if I flash a hex file that doesn't contain the bootloader? Or does the bootloader automatically add the flashed ...
Dakkaron's user avatar
  • 229
0 votes
1 answer
2k views

How do I upload a sketch without a bootloader, using another Arduino as a programmer?

Note: This is a reference question (but feel free to write answers of your own!) My Arduino takes too long to start up, I need to use the space taken up by the bootloader and I don't want a brown-out ...
glibg10b's user avatar
  • 317
4 votes
1 answer
449 views

How do I escape a boot loop?

Note: This is a reference question (but feel free to write answers of your own!) I uploaded code that contains a bug that causes my Arduino to immediately reset itself when starting using this code ...
glibg10b's user avatar
  • 317
0 votes
2 answers
230 views

External Interrupt not working on 3.3V atmega168

I made a 3.3V board and I've put both atmega328p (that I pulled off of a 3.3V pro mini), and an atmega168 that I bootloaded (using USBtinyISP whilst selecting board "Arduino Pro or Pro Mini" ...
Troy Cados's user avatar
1 vote
0 answers
82 views

Using SAM4 series microcontroller with Arduino IDE

I am looking to use SAM4S series microcontroller by Atmel/Microchip and trying to program it using Arduino IDE. Can I use the bootloader provided by Adafruit for Feather M4 Express [uses SAMD51] or ...
Abstract123's user avatar
4 votes
1 answer
552 views

Can not burn arduino pro mini 8 MHz bootloader with usbasp

I am using schematic of Arduino Pro mini 3.3v/8 MHz version. Please see below circuit diagram I built. Power supply to circuit is 3.3V. I have a USB ASP programmer which I used in previous version of ...
adeel asif's user avatar
1 vote
1 answer
1k views

Bootloader For Atmega4809

I have designed a project using Arduino Every board which uses MCU Atmega4809 chip and I have used Arduino IDE for programming but now I am planning to design my custom board I have used schematics of ...
power machines's user avatar
1 vote
0 answers
121 views

ATmega 328 Bootloaded, but Cannot Upload

I have been working on a project that I program using the ATMEGA 328p inserted into an Arduino Uno, and then remove it to put it on my breadboard. I now have realized how inadvisable this is, since I ...
Jenna Hebert's user avatar
1 vote
0 answers
90 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 ...
Tyler Hartwig's user avatar
1 vote
1 answer
602 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 ...
Pere's user avatar
  • 121
0 votes
1 answer
490 views

Failure to recognize the Arduino Mega2560 R2 board by the computer

I am using an Arduino mega2560 R3 My Arduino port is not recognized by the computer.led on is green,leds Tx and Rx are yellow and led L is blinking constantly(According to the figure).I used an ...
ali's user avatar
  • 11
0 votes
1 answer
99 views

How does Arduino board separate USB traffic (uploading code vs. communication)?

A beginner in Arduino programming here (learning Arduino programming while waiting for my board to arrive). I am trying to understand how Arduino board is able do these two things using only one USB ...
user avatar
-1 votes
1 answer
493 views

On a custom ESP32-based PCB, I can' flash anymore after the first successful firmware flash

I have designed and manufactured a custom PCB, with an ESP32 chip on it. I use my FTDI cable to upload my firmware. I have no problem to flash my firmware, and it runs with no problem. So far so good. ...
Stéphane de Luca's user avatar
1 vote
0 answers
45 views

Porting Arduino for ATMEGA16U2 [duplicate]

I have a bunch of ATMEGA16U2 in my drawer and I need to make a small production of custom boards with Arduino-based firmware. After a Google search I learn the ATMEGA16U2 is often hosted on the ...
Mark's user avatar
  • 393
0 votes
1 answer
63 views

Bootload from a Nano to an ATMega328 without a crystal

I have a program to load from a Aduino Nano as ISP to a ATMega328p chip that will have an internal clock at 16M, but I don't have a crystal handy. Is there a way I can not have to buy a crystal? What ...
B7th's user avatar
  • 167
1 vote
1 answer
202 views

How can I get a Faster boot with the Adafruit Feather SAMD21?

The Adafruit Feather SAMD21 takes about two seconds from power being supplied to when setup() starts running. How can I shorten that time so that setup() will run sooner? I measure this time using a ...
rfii's user avatar
  • 170
0 votes
1 answer
374 views

Problem in upload bootloader into esp32

I have problem with my esp32 Device and asked one question as you can see below: How to understand the ESP32 is working (Error: Arduino unknown board ...) As it is not fixed, so I am thinking to ...
Soheil Paper's user avatar
1 vote
2 answers
446 views

Triple-click reset option to erase existing program

My Adafruit Feather M0 has two reset options I know of: single click restarts existing program double-click listens for an upload for a few seconds, then restarts existing program Is there another ...
Paul Jurczak's user avatar
2 votes
2 answers
628 views

How to Burn Bootloader with custom Fuses

I have a Atmega328p IC without external Crystal (My target). When I use a arduino to burn the bootloader to my target, the Arduino as ISP sketch changes the fuses of my target, so it tries to use its ...
Christianidis Vasilis's user avatar
2 votes
2 answers
849 views

As a novice, how do I program my Atmega328p?

I bought a board which the above MCU is the atmega328p. Since I haven't used atmel MCU before, now it's a bit confusing. Are the ATMEGA and STM32 programmers not universal? What programming methods ...
Tessie Swfit's user avatar
1 vote
0 answers
71 views

Program a mega2560 from a different Serial port

I want to be able to use my HC-05, currently on Serial3 to download code to on my 2560 from a connected android tablet. I'm currently running MegaCore, which has optiboot on it. I've looked for ...
Thom's user avatar
  • 173
1 vote
1 answer
1k views

Mega2560 programming megacore avrdude: Device signature = 0x000000

I have two sunfounder mega2560s. I am using one as an ISP programmer and the other is my target. The programmer has the original bootloader on it. I have placed the ArduinoISP sketch on my programmer ...
Thom's user avatar
  • 173
2 votes
1 answer
349 views

Loading code to a mega 2560

As part of my application, I need to be able to update the code on my mega 2560 in the field with a download from the internet. I have found this code in the AT Mega 2560 data sheet ;-the routine ...
Thom's user avatar
  • 173
-1 votes
1 answer
640 views

ATmega328p bootloader issue : [avrdude: stk500_recv(): programmer is not responding]

I am using an arduino uno board and have placed the new ATmega328chip in the socket as a simple setup as mentioned in Minicore installation instructions. However, I am unable to burn the bootloader. I ...
Zaffresky's user avatar
  • 183
1 vote
4 answers
3k views

What does avrdude: Device signature = 0x000000 mean? Faulty wiring? Software issue? Incorrect tutorial?

I followed this tutorial a couple of times and when I clicked on bootloader I get this error: avrdude: Device signature = 0x000000 To see the configuration file click here. Why do I get this error (...
manarinian's user avatar
1 vote
0 answers
81 views

What is the timing between reset and avrdude/spi communication? (re: avrdude problem)

I'm trying to troubleshoot an issue with avrdude involving a Raspberry Pi and a transistor to control the reset pin on an Arduino Pro Micro (atmega32u4). Where can I find information on the reset/...
SofaKng's user avatar
  • 151
1 vote
0 answers
83 views

ESP12F works indefinitely, then gets stuck in unrecoverable hardware WDT "boot loop"?

I have a sketch running on a number of ESP12F modules (AiThinker). They can work for months on end, can be power cycled, can be moved around, etc. It is a complex sketch with multiple parts and is ...
Pinja's user avatar
  • 21
2 votes
0 answers
364 views

Problems uploading arduino zero bootloader to atsamd21g18a

I am trying to upload the arduino zero bootloader (https://github.com/arduino/ArduinoCore-samd/tree/master/bootloaders/zero) to an atsamd21g18 breakout board that I made. The breakout has a 32KHz ...
Michaela's user avatar
1 vote
0 answers
220 views

Error message while trying to burn bootloader onto atmega 328p

I have tried to burn bootloader onto an atmega 328p chip onto a breadboard using another arduino uno , I am not using an external clock but I am doing all the steps to make this thing which are given ...
Divyansh Veer singh's user avatar
0 votes
1 answer
149 views

nuttx hex too large

I have a teensy 4.1, and I am trying to install NUTTX the Real Time Operating System ( RTOS ). Teensy is a supported platform. I am trying install nuttx compiled from source, and upload it using the ...
j0h's user avatar
  • 892
2 votes
1 answer
440 views

Arduino Mega Clone CH340G Capacitor Values

I'm making my own Arduino Mega board with ATmega2560-16AU and CH340G. Jump to the end of the post to find the real question. I have already ordered a PCB before and it didn't work when I soldered ...
Exclose's user avatar
  • 41

1
2 3 4 5
7