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
0
votes
0answers
9 views

USB on my ATMEGA16U2/ATMEGA2560 Design not working

I need your help. I designed a board based on the Arduino ATMEGA 2560. I am getting the follow message when I try to upload a sketch to my board. avrdude: ser_drain(): read error: The device does not ...
1
vote
1answer
1k views

Uploading Arduino bootloader to ATmega32U4 with another Arduino?

I am in a situation where it is useful if I can upload a bootloader into an ATmega32U4 using another Arduino like this, for ex:https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard. I have a ...
1
vote
1answer
23 views

Correct makefile settings to compile custom mega2560 (stk500v2) bootloader [closed]

I'm looking for instructions on the correct 'make' syntax to build the Arduino Mega2560 bootloader from the source files: ~/Library/Arduino15/packages/arduino/hardware/avr/1.8.3/bootloaders/stk500v2/ ...
0
votes
1answer
17 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 ...
2
votes
2answers
266 views

Bootloader only works once with usb to serial module

When programming the Pro Mini using this USB-to-serial adapter the boot loader only works once. After the first programming the programmer is out of sync or not responding. To be able to program the ...
2
votes
3answers
92 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 ...
0
votes
0answers
100 views

Seeeduino XIAO stopped connecting - Enter Bootloader Mode is not working [closed]

All communication to Seeeduino XIAO stopped working. Following these steps to reset bootloader is also not working. My project has a total of 6 Seeeduino's and they all run the same sketch; be it, ...
0
votes
1answer
297 views

Digispark Atinny85 not recognized (bootloader problem)

I recently bought the Attiny85 (picture below) I managed to install it correctly following the official guides, never that a problem. Drivers are installed correctly, and I used the Arduino IDE to ...
0
votes
1answer
63 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 ...
1
vote
1answer
28k views

Cannot bootload again after changing the board?

We are so tired and would like to get help with this. We are trying to bootload using the arduino Uno. We have an atmega 328p smd , that we are trying to bootload. We have connected all the right ...
0
votes
2answers
484 views

Fio Keyboard program out of control, how to reset?

My question involves a Sparkfun Fio v3, similar to the Arduino Fio. I had a student who was testing his understanding of the Keyboard library. He uploaded a sketch that continuously sends output, ...
0
votes
1answer
440 views

Arduino communication with ROS via UART

I am trying to program an Arduino Mega(Crius) from a Minnowboard Max A2 via an UART (Hardware Flow Control Off) interface. I can successfully communicate with the ROS (robot Operating System) on the ...
3
votes
2answers
241 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 ...
3
votes
2answers
122 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 ...
1
vote
0answers
43 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 ...
1
vote
1answer
62 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 ...
2
votes
3answers
4k views

burn arduino bootloader and compiled sketch at same time

How can I write the bootloader and sketch code to an Arduino through the ISP and then write the sketch code again using the Arduino IDE later? Currently, I can write the bootloader through the ISP ...
2
votes
1answer
77 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 ...
0
votes
1answer
85 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 ...
0
votes
1answer
61 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 (...
1
vote
0answers
30 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/...
1
vote
0answers
26 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 ...
0
votes
1answer
103 views

D1 mini esp8266 error: esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

I am pretty sure this device worked yesterday. I tried to short GPIO0 to ground (flash), nothing. I have a second ESP that uploads fine, but this one does not. Is their another way to get this ...
2
votes
0answers
58 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 ...
1
vote
0answers
49 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 ...
2
votes
1answer
99 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 ...
1
vote
0answers
59 views

Fail to burn bootloader into standalone atmega2560

I am making a project where I use standalone atmega2560. I used arduino mega schematic to put all necessary components so atmega2560 would be working. I tried to burn bootloader into it using arduino ...
0
votes
1answer
46 views

How to unbrick an Arduino Mega+ESP8266 Wifi

I have a Jaycar XC4421 - Arduino Mega + Wifi which I think have somehow managed to screw up the boot loader. I have an XC4627 USP-ISP Programmer (and the XC4613 adaptor) which I have previously used ...
1
vote
1answer
44 views

Forcing bootloader startup through program

I am trying to find out if it is possible to trigger programmatically the double-tap on reset button function, implemented in modified version of Atmel's SAM-BA bootloader. The board of interest is ...
1
vote
0answers
35 views

Cannot program ATMEGA328PU after burning bootloader with internal clock

I have build a couple of boards that have an ATMEGA328P-AU (the 32 pin MLF, as used on the Arduino Pro Mini). If I burn a bootloader via SPI to use an external 8MHz clock, I can then use the Arduino ...
0
votes
0answers
54 views

How to change avrdude parameter in Arduino status log when uploading a program? avrdude.conf

Recently I custom bootloader optiboot for Arduino Uno to my custom board called Ardunesia xst X1-02, with Cortex M3 processor. I set avrdude as bootloader upload tool = "X1-02_bootloader.upload....
2
votes
3answers
159 views

Is ATmega 328 on Arduino UNO already bootloaded?

I've seen many tutorials on programming a ATmega 328 via Arduino. If i'm right, the atmega need to be bootloaded. I thought to remove the atmega present on the arduino board. But to bootloading atmega ...
0
votes
1answer
248 views

esp32-cam stuck in repeat boot

I am trying to bring the esp32 example code live. I am able to upload the image error free but when I remove the jumper and then press the reset switch, instead of seeing it logon to my network via ...
0
votes
1answer
226 views

avrdude fuse error when programming ATMEGA328 without crystal

I built several boards with an ATMEGA328 and no crystal a couple of years ago. I programmed them successfully with a bootloader using usbasp, and with a sketch using the Arduino serial interface. I ...
3
votes
1answer
229 views

Extend program space by getting rid of bootloader on NANO

I just have a complex program that runs on a NANO. Now when I use my printlns for debugging I am running out of memory. I read about using a programmer to get rid of the bootloader that uses 2K space ...
20
votes
2answers
55k views

How do I burn the bootloader?

I was instructed to "burn the bootloader" to my Arduino to fix an error I was getting. How can I do this? (And what exactly is the bootloader?)
1
vote
1answer
823 views

Error while burning bootloader

I am trying to burn bootloader on Arduino UNO using MEGA2560 as the programmer, I followed the steps stated here but still get the error below: avrdude: Version 6.3-20190619 Copyright (c) ...
2
votes
3answers
130 views

Problems uploading with a new Nano

My first post - I am a relative newbie. I want to make a smartcontroller for my boat - I have built the electronics and written and tested a sketch for the Nano, all working totally fine. I then ...
2
votes
1answer
168 views

Can't get "Burn Bootloader" working - Arduino Nano

This is a follow up from a previous question. I have one Nano working perfectly (I think) (Nano A) and another one (Nano B) which seems to be working but has no bootloader. So I am trying to use Nano-...
1
vote
3answers
6k views

ATTiny85 Digispark clones failing USB handshake - how to program them?

I've recently bought a batch of ATTiny85 modules (Digispark clones) from China, and tried to write a first test program into them now. I noticed that they do seem to have some bootloader already ...
0
votes
2answers
4k views

Arduino Pro Micro bricked?

I have a Pro Micro board at which tried to upload a sketch with sparkfun's Pro Micro 3.3v processor selected. After the upload completed successfully the board did not run again and is not even ...
0
votes
1answer
1k views

Nano 33 IoT rescue from the dead: No USB. No upload mode

First of all: my board used to work fine. Now my Nano 33 IoT turns ON (green light) when connected to USB on Mac but: doesn't enter in upload mode after pressing twice on board button. doesn't shows ...
1
vote
1answer
313 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 ...
1
vote
0answers
78 views

device signature 0x000000 when burning bootloader

I receive this message: "device signature 0x000000" when a try to burn the bootloader on a atmega328p-au (SMD) inserted on PCB i am using arduino uno as isp i already uploaded the ArduinoISP ...
2
votes
1answer
59 views

what happens on Arduino power-on, and how long does it all take?

Here's what I think happens and how long it takes (FIXME means I don't know). I'd like to end up with solid max times for everything if possible. Power-on, input caps to the 328P begin charging and ...
0
votes
2answers
203 views

Run HEX program from SD with another program

I want to write a program in which I can select a HEX file recorded on a SD card (via a LED screen, etc.) and run it, i.e. transfer control to it, like launching programs on a PC. Is this possible and ...
1
vote
1answer
236 views

Is it possible to upload and run code from EEPROM during boot time?

I am having problems while writing custom bootloader, so that it uploads code from EEPROM (for now internal, as I have no external memory in my hands) and writes into flash. After ~2 weeks of ...
0
votes
0answers
90 views

Problem burning bootloader to ATMega32U4-MU (is the schematic correct?)

I designed a very simple 4*3 keypad system controlled by an ATMega32U4-MU MCU, using Adafruit's Itsy-bitsy 32U4 as reference (attached is the schematic of my circuit, while Adafruit's circuit can be ...
10
votes
1answer
25k views

Arduino Nano ATmega328P bootloader difference

There are two ATmega328P bootloaders, old and current. What is the difference between these bootloaders? I'm aware that Nanos sold by Arduino use the new bootloaders but I haven't been able to find ...
0
votes
1answer
132 views

Can Only Upload Arduino Sketch Once to Custom Mega2560 Board

I created a custom Arduino based off the Mega2560 R3. It uses the ATMega16U2 uC as the USB interface between ATMega2560 uC and the PC. The bootloader on the 2560 is uploaded by using an Arduino Micro ...

1
2 3 4 5
7