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
3answers
1k views

Is it possible to burn a bootloader to an ATTiny85 with USB TTL and avrdude?

I have: An Digispark clone (with no Arduino bootloader) A USB -> TTL serial device A development breadboard Avrdude I want to burn the micronucleus bootloader to the chip. Is this possible, are ...
1
vote
3answers
488 views

Do we need to burn bootloader in new Atmega328p before uploading the arduino code

I have an arduino code which is working fine. Now I am planning to make a PCB out of it. But I do not want to use the complete Arduino board. I just want to use the Atmega328p microcontroller. So my ...
1
vote
1answer
900 views

How do I know if bootloader flash was successful?

I just bought a raw Atmega328p microcontroller. I am attempting to flash it with the Arduino bootloader. The process seemed relatively straightforward as I had just followed the posted tutorial (...
1
vote
1answer
189 views

Identifying Bootloader ttyACM# device

I'm using a modified version of Arduino Zero Bootloader. I am trying to write software to automatically detect which USB device the bootloader is currently running on in order to execute bossac. I ...
1
vote
1answer
484 views

Burn bootloader on custom ATmega 2560 board

I have developed and produced a custom board with a ATmega 2560 on it and a FT232RL for USB communication. I want to burn an Arduino bootloader onto the board without using an external Arduino as ISP. ...
1
vote
1answer
685 views

Burn new bootloader without crystal

I am considering purchasing these ATmega328 s from 3 pack ATmega328P. The company says they come with the Arduino UNO bootloader. I do NOT have any 16 MHz crystals, and I would like to make the ...
1
vote
1answer
2k views

avrdude/stk500 protocol error

I'm running into a bizarre problem. I've got a custom board using an Atmega328P, running off the internal oscillator. From Atmel studio, I've successfully uploaded the standard optiboot bootloader (...
1
vote
1answer
2k views

Atmega328P burn bootloader with FTDI

I need your help. I am using Arduino ProMini in my project. In project board there is Atmega328P which doesn't have Arduino bootloader, and Atmega328P RXD, TXD pins are connected to FTDI Basic(...
1
vote
2answers
147 views

Standalone Arduino

I have an Arduino Uno and I am using arduino 1.0.5 IDE. I followed he procedures for bootloading an atmega328P-PU on a breadboard using an Arduino Uno from the link: https://www.arduino.cc/en/...
1
vote
3answers
562 views

Can i use arduino code, without using arduino board but just using MCU included

I am developing a product, and to ease my job i am planning to use MCU inside the arduino with the library of Arduino. Since all the registers are already defined inside the library, and all required ...
1
vote
3answers
4k views

Burn Arduino Bootloader - Atmega8L

I am making an RGB LED project right now using the Arduino UNO board. At this point everything is working fine so I would like to transfer this onto a small microcontroller circuit to be put inside ...
1
vote
1answer
243 views

Micro not detected, can't reset

I just picked up a new Arduino Micro for a project, but the first time I tried to upload to it, things went terribly wrong. The USB cable was loose, so the power light kept blinking on and off. When I ...
1
vote
2answers
306 views

Improvement security in a domotic project

I recently started with a domotic project, I began creating a lock opening with a RFID currently I'm trying improving the code (I took from http://forum.arduino.cc/index.php?topic=256260) but I have ...
1
vote
1answer
766 views

Is it advisable to reload Pro Mini with the bootloader originally designed for UNO to save 1.5 KB flash space?

In order to allow bigger user program size, is it possible and advisable to reload Pro Mini with the boot loader originally designed for UNO. This will save 1.5 KB flash space (UNO boot loader is 0....
1
vote
1answer
274 views

Why doesn't the master branch BOSSA work on Arduino Due?

I have downloaded BOSSA for Linux, and have run bossash->scan. I have also tried erasing and resetting the board before scanning. It does not work. According to the Arduino website, the native USB ...
1
vote
0answers
38 views

Using an ATTiny85 and DigiKeyboard.h, can I detect when USB HID is connected?

I am building a project to send HID keystrokes to a computer with an ATTiny85. I want to detect when the USB communication is working, in order to turn on a LED saying that everything is good. If USB ...
1
vote
0answers
186 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 ...
1
vote
0answers
61 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
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 ...
1
vote
0answers
426 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 ...
1
vote
1answer
323 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
0answers
78 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
316 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
vote
0answers
152 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 ...
1
vote
0answers
180 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 ...
1
vote
0answers
417 views

Will avrdude overwrite the bootloader on my Nano?

I bought an arduino nano (knockoff from Elegoo) and according to the Amazon description it comes with a bootloader. From what I've read, this means that programming can occur over the usb connection ...
1
vote
0answers
74 views

COM port problem when uploading bootloader to SAMD21G

I use an ATSAMD21E16B-AU in my circuit and I want to upload the bootloader with the SAM-BA flash programming tool in this official link: http://www.atmel.com/Images/Atmel-42366-SAM-BA-Bootloader-for-...
1
vote
0answers
657 views

Cannot upload sketches, and loopback test fails, but bootloader is intact and correct

I was using an Arduino Uno for a project, when suddenly it stopped allowing me to upload sketches. I kept getting the error message: avrdude: stk500_recv(): programmer is not responding avrdude: ...
1
vote
0answers
103 views

Upload custom trinket firmware

I'd like to disable the trinket 10-second bootloader when powered up, so it will just begin running the program. I would still like to be able to press the reset button to re-program it. I found an ...
1
vote
0answers
212 views

How do I fix the serial loader on my Pro Mini?

I have an Arduino Pro Mini, 3v3, 8Mhz. I have in the past successfully programmed it over the serial line. I have two others, I can program them over the serial line. I can program the first one using ...
1
vote
1answer
933 views

ard-reset-arduino resetting Leonardo/Micro via USB works on OSX, fails on Ubuntu

I'm trying to program a Leonardo (actually a Micro ATmega32U4) via the command line using USB. Schematically, I'm doing ard-reset-arduino followed by a sleep 1 and an avrdude command. This works ...
1
vote
2answers
243 views

Atmega8 with Arduino bootloader - wrong serial characters

I recently flashed bootloader of Arduino to Atmega8. Unfortunately I stumbled on a problem I can't solved. I am testing SerialEvent example on Atmega8. I modified it but started debugging it on my ...
1
vote
0answers
65 views

Can burn bootloader but not sketches… thoroughly mystified!

I have a custom board designed to be essentially identical to the Arduino Micro (Atmega32u4). I can burn the bootloader (Caterina) and it burns just fine, including the fade-then-slow LED signal that ...
1
vote
0answers
468 views

Arduino programming attiny13a

Hello I want to program an Attiny13a with Arduino code. I always have this error when I add repository "no file board.txt" in path. How to successfully configure IDE to able burn on it? I use : Link ...
1
vote
0answers
48 views

Is serial modem routine written on the Arduino Leonardo bootloader?

I'm starting with Leonardo and I'm a bit confuse about the serial modem function. As you know on boot the Leonardo for the first 8 seconds wait for a program on the USB port and then it goes in serial ...
1
vote
0answers
495 views

Leonardo sketch and bootloader hex file combination

Can I combine Leonardo sketch hex file with the Leonardo bootloader hex file? I would like to program blank Atmega32U4 with one shot.
1
vote
0answers
111 views

Arduino not responding while trying to flash over BLE

I'm working on wireless uploader for Arduino from iOS devices. I'm using HM-10 BLE module which seems to work ok. PIO 2 is used as DTR for resetting (see A [0x41] T [0x54] + [0x2B] P [0x50] I [0x49] O ...
1
vote
0answers
36 views

Having trouble bootloading my Two-Up printer

I am following these instructions to set up my Two-Up 3D printer, and I have no problems all the way up until step 18. The board uses the arduino IDE to burn the bootloader, which is why I am posting ...
1
vote
0answers
533 views

Will we be able to burn arduino zero pro's bootloader?

As arduino.org states, the bootloader is pre-burnt by Atmel at the factory. I'd like to know if it will be possible for us to buy "raw" ICs and burn them at home for our own boards, as we do with the ...
1
vote
0answers
153 views

is it possible to backup an uploaded program? [duplicate]

I have a cute robot built on Arduino Uno and Ardumoto, and I am trying to reverse engineer it first, and to add some new sensors afterwards. I am stuck at how to deal with its program. I don't have ...
1
vote
1answer
233 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 ...
0
votes
2answers
308 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
3answers
950 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)? ...
0
votes
1answer
260 views

why leonardo bootloader is bigger than UNO?

Apparently leonardo and UNO are very similar boards. However, despite that both have the same flash memory size, Leonardo bootloader is considerably bigger than UNO bootloader (4KB vs 0.5KB). what ...
0
votes
2answers
177 views

Programming an ATmega328P by holding it on an Uno's

I was looking at this Uno clone, the Nanino and then happened to read this article on "Manhattan style" circuit design. Anyway, that got me thinking... If I borrowed someone's Arduino Uno, could I ...
0
votes
3answers
1k views

Can I place bootloader directly onto Atmega2560 and have USB?

I am working on a prototype device which I am now on my 2nd board iteration and moving away from it being a shield and wired to an arduino mega2560 board. I have used the freely available Arduino ...
0
votes
1answer
3k views

avrdude: stk500v2_ReceiveMessage(): timeout with ADDAC VCC

I am getting the above error message uploading the ADDAC VCC, and the only thing that's changed I think is the patch is bigger. Is there a fix for this or will I have to send it back? Hope my ...
0
votes
2answers
1k views

Using the ATMega328, from an Arduino UNO in a Standalone configuration, and bootloader - I am really lost

I am really despaired. I have spent a full day to understand this, and it seems that I still don't. I have an Arduino UNO, with an ATMega328, for which I wrote a great piece of code. Later, I have ...
0
votes
1answer
82 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
1answer
67 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 ...