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
1answer
34 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 ...
0
votes
0answers
34 views

Bootloader to upload “.hex” from SD card for 32 bits arduino boards [closed]

i´m looking for a project based on the principle used by Phoenboot and Nick Gammon, that uploads a .hex file from sd to another arduino but for 32 bits, i know the process is way more difficult than 8 ...
1
vote
1answer
36 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: ...
0
votes
1answer
40 views

Is changing values in boards.txt and choosing Burn Bootloader enough to write fuses?

I am using Arduino IDE to program ATtiny84A connected to an Arduino Uno and Programmer set to Arduino as ISP. I would like to modify low and high fuse bits for ATtiny84A. As far I do not understand ...
1
vote
2answers
53 views

Will the Duemilanove bootloader work in the Uno?

Similar to Will the Uno bootloader work in the Duemilanove? but the other way around. I have an Arduino Uno. I require a slower upload speed than the 115200 baud rate used in the Uno's Optiboot ...
1
vote
0answers
45 views

ARDUINO PROGRAM

I have a project that consists in measuring the mass of an object with a strain gauge HX711. so I found an interesting Arduino program and the editing that goes with it. but I have a problem, I ...
0
votes
1answer
66 views

Usbasp Arduino Uno Bootloader Flash Error - Win 10

I'm trying to flash an Arduino Uno using usbasp but i'm getting the following error,I have checked all the connection and voltage using multimeter but still this error: Arduino: 1.8.8 (Windows 10), ...
0
votes
0answers
17 views

What would cause fuses to be writeable but bootloader not to be writeable?

I am trying to burn a bootloader onto an ATmega328P-AN using an Microcenter knock-off Arduino Uno R3 as my ISP for several days with no luck. The farthest I've gotten is writing and reading a few ...
4
votes
1answer
107 views

Can I program a factory fresh Atmega328P through UART pins without burning a bootloader?

Can I program a factory fresh ATMega328P using the UART pins without burning a bootloader? These pins are TX, RX, VCC, GND, and DTR pins in the schematic below. They are not the ISP/SPI pins 10-13. ...
0
votes
1answer
73 views

ESP8266 Bootloader Firmware (on the ESP8266)

It appears to me that there must be some sort of prepackaged firmware on ESP8266 modules that allows user firmware to be loaded via the Rx/Tx pins on the ESP8266. If that firmware is corrupted, the ...
0
votes
0answers
16 views

Arduino Micro behaves unusual

For a few days I'm trying things around on my Arduino Micro. At first uploading was working just fine. Here and there you had to press the reset button. But now if I plug it in no COM-port shows up. ...
-1
votes
1answer
48 views

Replace Arduino bootloader [duplicate]

My Arduino board is malfunctioning in its bootloading and I thought weather I can overwrite the previous bootloader on the atmega. I mean to ask than can I simply reinstall bootloader on a chip that ...
1
vote
1answer
85 views

Arduino New Optiboot Bootloader on custom ATMega328p board, ATMEL Studio and AVRdude [closed]

I am about to ask a kind of complex question due to the number of system parts involved and the system architecture I am planning to use. First of all I have a tiny bit of experience with the Arduino ...
-1
votes
1answer
75 views

Uploading bootloader to ATMEGA328 P

I have a duemilanove which originally had a 168. I have some ATMEGA328 P chips and I've put one into the duemilanove. I am using a Uno as a programmer for the duemilanove. I am running Arduino 1.8....
0
votes
0answers
43 views

Uploading code to custom SAMD20G15B board through Atmel ICEand Arduino IDE [duplicate]

This is my setup: SAMD21G15B with no external crystal (Addon possible with Epson MC-146 32.768Khz ) SWD connector I'm trying to upload code with the Arduino IDE via the Atmel ICE. But when I choose ...
0
votes
0answers
177 views

ATMega328 AU bootloader burning issue using Nano

We are trying to burn bootloader into ATMega328P-AU SMD. We have taken the reference of the link and did the same. We checked wire connections and all looks fine and we tried with two chip with two ...
0
votes
3answers
57 views

Is it possible to upload an arduino sketch through the serial port (RX) instead of USB

In another words, is it possible to develop a custom bootloader so sketches can be uploaded via serial connection made using the RX/TX pins and not via the USB connector (I am using Pro Micro boards)? ...
1
vote
0answers
60 views

Atmega 32U4 doesn't show on device manager after fuse bits reset

I am finally ready to try setting fuse bits on my ATMega32u4-AU custom board (8Mhz Ceramic Resonators, 3.3V), however, after I set the fuse bits and plug my board to computer, the device manager ...
0
votes
1answer
73 views

Arduino IDE can't program my Arduino Pro Micro

I have a lot of Arduino Pro Micros that I can't program through the Arduino IDE. I'm on Windows. I'm using the SparkFun Pro Micro board information downloaded from SparkFun's website. I've tried ...
0
votes
1answer
69 views

AVR-GCC can't call function located on fixed address

I wrote the following code: #include <avr/io.h> __attribute__((noinline, section(".app_start"))) void app_start() //app_start section starts at 0xFA0 { //register_packet_dispatch(...
0
votes
0answers
77 views

Software reset on Micronucleus possible?

I'm wondering if anyone knows if it's possible to do a software reset using the watchdog timer on a microcontroller using the Micronucleus bootloader. When I try it, it doesn't fully reset, as in ...
0
votes
0answers
325 views

Adafruit Feather M0 Basic update bootloader

I bought a Feather M0 Basic from a reseller Lawicel however I'm missing the UF2 boot feature. When I press the reset button two times I just get a serial and have to program circuitpython using Bossa....
0
votes
1answer
238 views

nodemcu esp8266 does not boot up when 5V pin is connected as a VIN source

Whenever I boot up the esp8266 or flash code via usb ,I have to remove vin pin otherwise it does not boot up. If I remove vin pin then flash and boot up happens and then i am able connect vin with 5 ...
0
votes
1answer
89 views

Setting Fuse Bits From Arduino IDE?

I've come to understand fuse bits in the last few weeks. I'm working on a bitbanging project on an Arduino Pro Micro, and the signals I'm working with are around 30uS each. For this reason, I think I'...
1
vote
2answers
106 views

32u4 using internal clock on custom PCB - loading sketch

I have a custom PCB with a 32u4 running fine with an 8MHz external oscillator. I burned the bootloader and loaded my sketch with an UNO using Arduino as ISP. I have no USB on my PCB nor do I need ...
0
votes
3answers
580 views

How can I get my (Arduino) Pro Micro schematic to allow me to program it through GPIO instead of USB

I'm trying this project so far I've got the schematic of a Pro Micro, which is powered through GPIO from a Raspberry Pi Zero, and want to remove the micro usb connection and able to flash it using an ...
0
votes
1answer
35 views

Problem with Arduuino to breadboard Mega8

I am trying to make an arduino using mega8 mcu. After so much struggling with sync/response/signature problems and reading the previous questions, finally managed to do it (almost). However I still ...
0
votes
2answers
128 views

How to burn bootloader into arduino uno without using another arduino

I need to bootload my Uno board but I do not have another Arduino at my disposal so how do I bootload without another Arduino board
0
votes
1answer
259 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
68 views

using esp8266 feather to burn bootloader on redboard

Is it possible to burn the bootloader of an arduino redboard using an esp8266 feather? whenever i connect my redboard to my pc the ports list on the ide would just be greyed out. I've looked around ...
-1
votes
1answer
142 views

Standalone 328P Arduino

I am creating a standalone Arduino using Atmega328P. The circuit is below. However, I'm seeing avrdude: Device signature = 0x000000 error whenever I try to burn the Arduino Uno bootloader. I'm ...
2
votes
3answers
569 views

Atmega328p - Going low power 1.8V using 4Mhz oscillator - Bootloader flash

I would like to use an Atmega328p micro-controller with a 4 Mhz oscillator in order get some low power consumptions. I am using an Arduino board to flash the bootloader into the Atmega. EDIT In ...
0
votes
3answers
996 views

Can't burn Bootloader on Atmega328P Using Arduino Uno

I'm trying to create an Arduino Uno following the circuit described in the diagram below which I'd based from here. I'd tried this circuit on an Atmega328 PDIP version (with the correct connections ...
3
votes
2answers
639 views

Can't upload to arduino boards anymore

I have been working on several projects recently an made hundreds of uploads to several different boards. I haven't had any issues to speak of. Now I cannot upload. I have tried: Disconnect all ...
0
votes
1answer
303 views

Atmel atmega32u4 not recognized when connected by usb after attempting to flash new bootloader

I am making a mechanical keyboard using Atmel's pro micro as the controller. I decided I would try to replace it's bootloader, as the one it ships with doesn't seem compatible with QMK's RESET ...
0
votes
1answer
672 views

Avrdude verification error

I use an Arduino UNO with IDE 1.8.5 and for the last few days it doesn't let me upload any code. When I try, it pops up with the following error: avrdude: verification error, first mismatch at byte ...
1
vote
1answer
259 views

add ID number to the feather m0 bootloader (flash)

I'm trying to add a serial number to the bootloader's flash area of Adafruit Feather m0 board. Seems like feather m0 0-0x2000 area on the flash is non writable by the arduino sketch. i wanted to add a ...
0
votes
1answer
263 views

Compiling with -flto and -nostartfiles results in no program at all

Towards developing my own bootloader I've stumbled over an issue with avr-gcc. I am trying to compile my code with the compiler flags -flto #to enable link time optimization -nostartfiles #...
0
votes
2answers
164 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, ...
7
votes
1answer
11k 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
396 views

Use ESP8266 GPIOs after Flash Startup

I'm a bit confused about the ESP8266 launching and GPIO behaviour. When I'm programming the ESP8266 I have to set GPIO2 high and GPIO0 low. But when I want to use the ESP8266 in my project I have to ...
0
votes
0answers
65 views

Set up mesh network with RF Transceivers

I would like to set up a mesh network of Arduinos with the following features/capabilities: No master node Arduinos capable of bootloading other Arduinos through RFs Capable of communicating over TCP/...
0
votes
1answer
66 views

Problem in bootloading 328p using Arduino as ISP. Please help me in figuring out the problem.I have uploaded the verbose below

Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno" C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -...
0
votes
0answers
376 views

failure to burn bootloader in ATMEGA328P on breadboard

As a novice to ATMEGA I try to use the arduino UNO (original) to burn a bootloader in a new ATMEGA328P on a breadboard. It is clear to me that SPI is used for this task and all connections have been ...
1
vote
1answer
126 views

Problem uploading to ATMega using ArduinoIDE (“unbricking” “bricked” microcontroller?)

I've a SparkFun Pro Micro which is an Arduino Leonardo clone. Unfortunately my attempts to upload programs failed. I did some research in the internet and found you have to use SparkFun's ...
0
votes
2answers
691 views

Using Due (SAM3X8E) native USB port for programming?

I would like to make my own version of the Arduino Due. What I can't find the answer to is; Can I program a blank SAM3X8E using the native USB port from within the Arduino IDE, or do I first need to ...
0
votes
1answer
2k views

arduino leonardo avrdude: butterfly_recv(): programmer is not responding

I am having issues uploading new code to an Arduino Leonardo board. This happens after uploading a previous buggy code (e.g. array out of range indexing error). Once I fixed the buggy code, I can ...
0
votes
1answer
161 views

Burn hex with optiLoader

Can optiLoader be used to burn custom hex? For example, there's hex representation stored in optiLoader.ino in image_328, if that value is replaced with content of my pre-compiled hex, should that ...
0
votes
1answer
68 views

Missing arduino bootloader problem?

I have a arduino clone that is not being assigned a /dev/tty by Debian Stretch (Stable). It does have the ch340g chip. I have tried the driver from the manufactures site with no joy. Would the lack ...
1
vote
0answers
124 views

Installing Optiboot loader for pro mini 3.3V 8MHz

I have tried to install a better bootloader in some chinese Arduino pro mini boards. I have tried the OptiLoader application via an ArduinoAsISP. I failed in some way. The boards got unstable, I can ...