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.
334 questions
0
votes
1
answer
210
views
Questions about ATMega8A including burning my hex files
I wrote a small blink program for an ATMega8U-DIP I bought recently. The source is this,
#ifndef F_CPU
#define F_CPU 16000000
#endif
#include <avr/io.h>
#include <util/delay.h>
int main(...
0
votes
1
answer
76
views
If I use clock_prescale_set in my sketch I will loose access to adafruit feather 32u4?
I want to run my 32u4 in 2MHz. According to gammon I will gain 4mA in runtime. To my understanding this changes all the buses speed like UART, USB?, I2C?** and SPI?*. Probably I will have problems to ...
0
votes
0
answers
42
views
Need Help Communicating with Arduino Leonardo Using Custom Bootloader
I have an Arduino Leonardo that has been flashed with a custom bootloader, and it currently has a sketch on it that I cannot replace or modify because doing so would brick the board. The board works ...
0
votes
1
answer
317
views
Xiao ESP32-C6 in CircuitPython
So I recently bought two Xiao ESP32-C6 from SeeedStudio; they work with Arduino code out of the box. Now I want to flash the CircuitPython bootloader from here https://circuitpython.org/board/...
1
vote
1
answer
202
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 ...
3
votes
2
answers
418
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 (...
4
votes
3
answers
619
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 ...
0
votes
4
answers
299
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 ...
1
vote
1
answer
180
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 ...
1
vote
0
answers
25
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 ...
2
votes
1
answer
227
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” ...
4
votes
2
answers
174
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 ...
1
vote
0
answers
163
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 ...
1
vote
1
answer
100
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 ...
2
votes
0
answers
155
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 ...