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
30 views

Bootloader error on atmega328 u [closed]

I am getting error while uploading boot loader on atmega328 u this error message is showing Error while burning bootloader. avrdude: Expected signature for ATmega328P is 1E 95 0F Double check chip, or ...
1
vote
1answer
212 views

Can I force a function to live in the boot sector without overwriting the bootloader?

Not for any practical purpose but just out of curiosity, I want to abuse the flash memory and write it dynamically at run-time. This is, in a sense, what the bootloader does. If I understand it, the ...
1
vote
1answer
52 views

Flash firmware with hex file over serial with Python (no avrdude, Arduino IDE)

I'm trying to make a Python function in the TCLab package to flash firmware to an Arduino Leonardo (32u4). I can compile the TCLab ino (firmware) and deploy with the Arduino IDE or with the Python ...
0
votes
1answer
57 views

What are the best GPIO pins to use for my project?

I'm working on a home automation project to control my Sommer Base+ garage door opener through Home Assistant. The project consists of a WeMos D1 Mini with two reed switches (to detect door open/...
0
votes
0answers
39 views

AVR Relocated code: calling global constructors

In my setup (UARTBus) i use a host application on an AVR which can accept application code from a custom bus system and the host can call that application program periodically. The application code ...
0
votes
1answer
44 views

ATtiny85 - report error “Device reports version as: 2.2”

I've bought ATtiny, from see link. Trying to upload a basic Blink sketch I get this error: Device reports version as: 2.2. 1) Board manager was updated using http://digistump.com/...
0
votes
0answers
60 views

Arduino Nano with old bootloader flash fail

I have an arduino nano clone with Chip CH340G I installed the latest version of the firmware, it's OK I loaded the blink exemple and tried to flash the arduino nano Here are my options I connect the ...
0
votes
1answer
92 views

Bootloader onto an ATmega328p (3.3V/8MHz), the dude won't finish his business

Hi and thank you reading my question ! I need for my projects to design as small as i can. Both the skills, and the hardware counts. So i can't use a DIP package for them, and i have gone for a TQFP ...
0
votes
1answer
66 views

Burn bootloader finishes with “avrdude done. Thank you.” but bootloader didn't actually get flashed

I've built a a stripped down version of the Arduino Nano that has some peripherals removed and three connectors for analog sensors I want to use. I'm trying to burn the Arduino Nano bootloader onto ...
0
votes
1answer
112 views

Self made ATMega32U4 board first programming

I'm stepping into Arduino world and decided to build a small board to implement a gamepad. Prior designing the board I tested my firmware on a Arduino Pro Micro USB so I decided to make something ...
0
votes
1answer
100 views

Arduino NANO (CH340) error while flashing bootloader [duplicate]

Ok. So I'm close to tearing me hair out on this one. I have a batch of cheap Arduino Nano clones, that just straight up won't work. (I HAVE gotten one of them to work, but I suspect that was by pure ...
0
votes
0answers
46 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 ...
5
votes
2answers
2k views

Can we burn Arduino bootloader into any microcontroller chip?

I am new to this Arduino community I noticed on youtube that while the prototype is complete people purchase new ATmega328p chips and flash bootloaders into them using in-system-programmers so that ...
-1
votes
1answer
82 views

Bootloader vs. Programmer [closed]

I have just started using Arduino boards and I am not sure what the programmers are. I read that you can use a bootloader or a programmer to run your code on an Arduino board. I also read that running ...
0
votes
0answers
19 views

Atmega168A won't be programmed via USB (Minicore) [duplicate]

I have designed a custom board based on a Atmega168A and a MCP2221 for the USB bridge. I successfully programmed the Atmega168A with an Arduino as ICSP with the following sketch (Minicore Atmega core):...
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
2answers
62 views

Will bootloader communicate via TX0 / RX0

I'm fairly new to Arduino programming but have a good deal of experience with low-level programming early processors, having originally cut my teeth on Z80, 8088, etc. I'm looking at developing a ...
0
votes
2answers
69 views

Bootloader difference between Atmel328p(through hole) and Atmel328p au(smd)

It’s been bugging me lot that Can’t we burn the same bootloader for both 328p and 328p au? I got confused when I see this linksmd 328p au bootloader burn. Will there be any impact on performance or ...
1
vote
2answers
72 views

Is there some hardware that can be used to upload sketch source code via USB flash disk (Automatically By plugging it in)

Well am asking this basically to know if it is possible to create a bootable flash drive that automatically uploads any source code onto the arduino just like creating a bootable flash drive when ...
0
votes
0answers
22 views

avrdude: stk500_recv(): programmer is not responding, bootloader problem [duplicate]

Yet another question with this title. I just bought an Arduino Uno R3, as part of a ARDX kit. When trying to upload the first sketch, I get this error message: avrdude: stk500_recv(): programmer is ...
0
votes
1answer
38 views

How to burn bootloader and upload sketches on custom arduino?

Ive turned a project I breadboarded with arduino and other modules into one pcb on EAGLE. The pcb includes the ATMEGA328p smt version that doesn't have the bootloader installed. My question is then ...
0
votes
0answers
58 views

ATMEGA32u4 Arduino Bootloader Issues

I've been struggling with this issue for a few days on and off now.  I made a custom PCB (schematic) for a smaller Arduino Pro Micro and it works - mostly.  The only issue I had was that the pins on ...
0
votes
1answer
76 views

Atmega328p Uploads via ISP but not bootloader

I'm trying to upload a bootloader to my atmega328p on a custom pcb containing external oscillator at 16MHz. It is possible to upload program via ICSP pins using Arduino as ISP (Official Arduino Uno) ...
0
votes
0answers
59 views

How to burn a bootloader to non-bootloaded(clean crystal) ATMEGA328P-PU with USBASP programmer via Avrdudess?

I'm trying to burn bootloader to my clean crystals, atmega328p-pu.For this I use the 16MHZ crystal with two ceramic capacitors and USBASP programmer, on Windows 10 Pro. As program for burning I tried: ...
1
vote
0answers
60 views

Problem burning bootloader to ATmega chip using nano/uno

I designed a custom PCB that has the chip, an oscillatorm, decoupling capacitors, and all other connections for the ATmega along with the rest of my circuit. I followed all steps in the tutorial for ...
1
vote
0answers
165 views

Cannot flash Arduino Bootloader on SAMD21G with STLink via SWD programming and openOCD

I'm trying to flash the Arduino Bootloader on a bare ATSAMD21G with STLink via SWD programming and OpenOCD. These are the steps that I took: Create *.hex file to flash with ArduinoCore-samd ...
0
votes
1answer
65 views

Is it possible to load both the arduino bootloader and a sketch onto an atmega328p via icsp?

i am familiar with uploading an arduino bootloader onto an atmega328p using another arduino via the arduino IDE. i have also installed software 'sketches' using that process which i believe leaves out ...
0
votes
0answers
27 views

Custom bootloader for battery level indicator

For a project I need to be able to read the battery level of the device regardless of the sketch currently running. For this I plan on adding a custom routine in the Arduino bootloader that reads the ...
0
votes
0answers
87 views

Nick Gammon Atmega bootload uploader, Why 5v is required instead of 3.3v?

I am trying to upload boot-loader to AtMega328p SMD chip. I want it to work with internal 8Mhz clock and 3.3v as VCC. By referring Nick Gammon's forum I have wired the connection but given VCC as 3.3v ...
0
votes
1answer
126 views

Can't use Arduino nano as ISP because it can't read the Device signature

I programmed the 8mhz internal oscillator Bootloader to a new Arduino Nano with another Arduino nano running the ISP Sketch, wich worked fine the first time(Arduino as ISP selected as programmer). (I ...
0
votes
1answer
430 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
36 views

Cannot write lock byte on Arduino Pro Micro

I have an Arduino Pro Micro, with atmega32u4 chip and a caterine bootloader. However, every time I (successfully) flash some program over the USB port, the /dev/ttyACM0 device disappears, and I cannot ...
0
votes
0answers
92 views

Bootloader and AtmelStudio

I am having issues getting the main program to run after flashing via BOSSA with a bootloader. Jump to the bottom for my question and TL;DR. Here is my current situation: UF2 bootloader successfully ...
0
votes
0answers
40 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 ...
-1
votes
1answer
179 views

Error while reburning bootloader to atmega328p by usbasp in Arduino IDE

I have got the Bootloaded ATMega328P-PU from China and I want to reburn new bootloader into it. For this I use UsbAsp programmer. I want to do it in Arduino IDE. But when I try to flash, for example, ...
0
votes
0answers
213 views

Program uploads, but outputs flash reading error?

I'm new to Arduino, and I recently got 3 off-brand Nanos, and soldered pins for all three. Initially, none worked (I always received avrdude's errors when uploading). Based on my research, I ...
1
vote
1answer
99 views

Unable to burn bootloader with avrisp

I want to burn the arduino optiboot_atmega328.hex bootloader but it doesn't work. I remember that I was able to burn the BL using the arduino IDE which was quite easy, this time I'm having some ...
-1
votes
1answer
122 views

How do I set up an ATTiny861A-PU for flashing with Arduino Uno?

I have found instructions for 8 pin Tiny but none for my 20 pin. How do I set this chip up on the breadboard for bootloading with Arduino?
0
votes
0answers
67 views

Adding bootloader to Feather M0 Bluefruit LE

I want to make a custom Feather M0 Bluefruit LE. I know this means that I will have to add a bootloader to the ATSAMD21G18. I have seen that there are many useful articles in relation to adding ...
0
votes
0answers
51 views

Error burning bootloader

I am trying to burn the bootloader of my cnc xpro controller board (ATmega328pb) using an arduino due as a programmer. I keep getting this error: Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), ...
1
vote
0answers
398 views

How to enable auto reset in Arduino Leonardo?

I am trying to program an ATMega32u4 microcontroller through arduino IDE. I have added external oscillator(16Mhz) and capacitors and few other connections according to the Schematic. I had put a ...
0
votes
1answer
110 views

No Data Received on Serial Port & Unable to DFU Reset. Advice?

Having a problem running my original code that I tested last week, which worked on multiple days last week. I tried to do a DFU reset and update the BootLoader, but it didn't work. I checked the ...
1
vote
1answer
281 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
546 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
108 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
106 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
75 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 ...
1
vote
1answer
193 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
41 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 ...
5
votes
1answer
359 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. ...

1
2 3 4 5 6