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
1answer
142 views

Can I avoid having a bootloader if I use ISP to flash to an arduino? [duplicate]

My Trinket Pro waits about 10 seconds upon booting before starting the program that I have loaded on it. Can I avoid this delay and the bootloader taking up space if I flash my program directly to ...
1
vote
1answer
604 views

Problems building an Arduino Micro with through-hole components

So I'm trying to build an Arduino Micro using a bread-board and through-hole components. I'm leaving out the voltage regulator and voltage selector (see schematic at the bottom for reference). I'm ...
0
votes
2answers
2k views

How Bootload an Lilypad Arduino USB using Arduino UNO

I recently bought two lilypads USB, one works perfectly (it's recognized in my computer, but the other one it's never recognized, I even try in different computers and the same scenario with both ...
1
vote
1answer
177 views

Made a Adafruit Flora unusable

I was playing around with an Adafruit Flora and a strip of NeoPixel LEDs. After uploading the sketch to the Flora (via Arduino IDE), the LED strip lights for about 1 second and then dims to a dull ...
0
votes
1answer
654 views

Problems burning bootloader on custom ATMEGA2560 board for High-powered model rocketry

I've designed a custom board meant for high-powered model rocket telemetry & duel-deployment. (More info upon request) To do this, I've soldered a ATMEGA2560 (yes, overkill, but I needed ...
1
vote
1answer
883 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
187 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 ...
0
votes
1answer
1k views

Yikes! Invalid device signature. Fail to burn bootloader and read fuses

I know this problem is kinda common but I had to post it anyway. Before anything, I would like to inform you guys that I changed the fuse of my Arduino Pro 3v3 @ 8MHz to allow 1.8 V brownout and also ...
0
votes
1answer
863 views

Burn arduino bootloader using ubuntu 16

I get the following error when I try to burn the arduino bootloader on an atmega328 mcu: avrdude: verification error, first mismatch at byte 0x0000 0xfd != 0x05 I am using an Arduino as ISP ...
1
vote
2answers
238 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
1answer
474 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. ...
3
votes
2answers
563 views

Bootloader sequence

If I got the picture right(correct me if I'm wrong) the standard bootloader senses the serial comm, and if nothing is read it passes control to the core program, which roughly corresponds to int ...
1
vote
2answers
4k views

Standalone Arduino with ATMEGA328P / Serial working, but serial programming not (only once after buning bootloader)

For my master thesis I've designed a board with an ATMEGA328P-AU as micro controller. As I want to use some libraries and I like the simplicity, I want to use "Arduino" to program it. ...
0
votes
2answers
1k views

how can i fix the error ? stk500v2_getsync(): timeout communicating with programmer

I bought this Chinese Arduino Mega 2560 16AU. This was the first time to deal with Arduino boards. When I try to upload a sketch I always get this error: stk500v2_getsync(): timeout communicating ...
-1
votes
1answer
3k views

How to bootload a atmega328-pu using arduino uno?

I have some Atmega328-Pu micro-controllers without boot-loader program. Now I need to burn boot-loader to them all. I have two arduino uno boards having Atmega328 P-Pu micro-controllers on board. I ...
0
votes
0answers
719 views

Unable to reset arduino with RESET pin

I am using a custom built arduino UNO for some personal projects. I am using a custom optiboot bootloader given by Nick in this post. This was done to prevent the three LED flashes on digital pin 13. ...
1
vote
1answer
680 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 ...
0
votes
1answer
61 views

How to not wait for USB to become active?

EDIT: My original question was a bit "off" since the Arduino Nano I was using appeared to be faulty. This edited question is based on my other Arduino Nano which is working. When I plug my Arduino ...
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
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 (...
6
votes
4answers
5k views

Confusion with ATmega328P and 3.3V/8MHz

Firstly, I have tried to set the bootloader to be 8MHz internal oscillator. I have tried the board setup from here - https://github.com/oshlab/Breadboard-Arduino. And also the breadboard-1-6-x.zip ...
2
votes
2answers
2k views

Upload sketch via Bluetooth using HC-06 module

I'm dealing with an application in which I need to upload sketches remotely to an arduino UNO board. I successufully managed to upload sketches using an HC-06 bluetooth adapter. The only problem is ...
0
votes
1answer
559 views

Burn normal bootloader onto Atmega328P configured to use internal 8MHz clock

I have an Atmega328P that I have previously burned with a bootloader configured to use the 8MHz internal clock as described here. I would like to now burn the normal Duemilanove bootloader configured ...
7
votes
1answer
2k views

Pin 13 fires relay when powering on… How to disable?

Pin 13 fires relay when powering on... How to disable? I'm using pro mini 5v 16MHz and a DC 12V 2 Channel Relay Module Optocoupler. The relay Jd-VCC is powered by a 12V and it's VCC is 5V (the same as ...
0
votes
1answer
452 views

Arduino IDE stopped uploading sketches to BLEduino board

I know similar questions to this have been asked before, but I have a "resp=0x10" which I haven't found elsewhere, so maybe it's different, the board is also not an Arduino Uno although it's should be ...
2
votes
1answer
322 views

Nick Gammon's Hex Converter Error

I'm trying to add a bootloader hex to Nick Gammon's Atmega Board Programmer sketch, and I can't seem to get a hex file to convert. I need to convert "Arduino-usbserial-atmega16u2-Uno-Rev3.hex", but ...
1
vote
2answers
928 views

Modify Arduino Due's Bootloader to flash when reset

I bought an Arduino Due, and I noticed unlike the other boards, the onboard LED does not flash after reset. I prefer this behavior, so I want to modify the bootloader to do this behavior when it ...
2
votes
1answer
445 views

ATmega32U4 (Leonardo/Pro Micro) bootloader, 8K rather than 4K?

Recently hit the dreaded 0x7000 / 28k~ AVRDUDE+LUFA limit. It states everywhere this is because the bootloader uses 4KB, thus reducing the 32KB to 28KB. Makes sense, except... Blank sketches on the ...
1
vote
0answers
466 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 ...
9
votes
3answers
885 views

Programming many Arduinos simultaneously with a wireless broadcast

I will have many microcontroller-based devices which will be independent from each other, but all will run the same program. I would like to upload a program to all of them at the same time with a ...
2
votes
0answers
190 views

Atmel SAM MCU (on Arduino Due) only boots after second power up

I am using an Arduino Due as a prototyping board for a microcontroller project. The due has the chip Atmel ATSAM3X8E, with an ARM Cortex-M3 core. I am programming the flash directly using Atmel Studio ...
0
votes
1answer
408 views

Use command line to upload hex code to teensy.ex

I need a command line implementation for uploading code to Teensy-LC through Windows 8.1 operating system I know Paul has not released support for command line for Teensy-LC yet but i would like to ...
1
vote
2answers
2k views

Use command line to upload program through hex file to Teensy-LC

I want to make a standalone programmer for Teensy-LC in windows 8.1. So basically I have provided the board to a client of mine and now I want to change the program loaded into the Teensy-LC board. ...
0
votes
1answer
220 views

How to upload Arduino sketches to Atmel chips

I am new in this Arduino coding world and I was trying to make a project. I normally used Arduino Unos all the time, but I was facing a problem and that is that the Arduino Uno has only 13 digital ...
1
vote
2answers
4k views

What is the proper way to turn an Arduino UNO into an ISP?

I have a bricked Arduino Uno and I want to try to flash the bootloader. I'm trying to figure out how to do it. On this tutorial from SparkFun you can see this diagram: They also show this table of ...
1
vote
1answer
231 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
1answer
5k views

Upload a .hex file, using a standalone ISP, without overwriting bootloader

Is it possible to flash a .hex file on an AVR MCU, which already contains the Arduino bootloader, using an AVRISP mkII, without overwriting the bootloader? In my concrete situation, I have an Arduino ...
5
votes
3answers
1k views

Is it possible to create a standalone exe which can burn the code into a Teensy 3.1?

So here's the scenario. I have sent my teensy 3.1 circuit to a client of mine And now I need to update the code burned onto teensy without providing client access to the code So is it possible to ...
2
votes
1answer
166 views

What does the bootloader do?

As far as I understand it checks for a valid serial connection (new program incoming) and then either writes it to flash or starts executing the existing program. Can't the 32u4 or EDBG fill the role ...
3
votes
3answers
3k 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 ...
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
3answers
134 views

Does ATmega328 on Uno need to be burned?

I'm new to the Arduino world so please bear with me. I'm not sure whether the ATmega328 bootloader needs to be burned. What I'm reading is all that needs to be done is plug the board into the computer ...
0
votes
1answer
121 views

Best practise when dynamically updating sketch

I am currently working on a project that uses an Arduino Mega 2560 board along with the Arduino GSM shield to connect to the internet and send/receive SMS messages. As part of my project, I want to ...
0
votes
2answers
1k views

Problem in Uploading a Bootloader to Atmega8A

I am getting an error while Uploading the Bootloader to Atmega8A I am selecting.. Board -> Arduino NG and Older Processor -> Atmega8A Programmer -> USBasp and sketch code is ...
1
vote
1answer
56 views

Arduino Bootloader availability

When I look at arduino and arduino-like boards featuring ATMEGA328 chip, I see that they either use a micro controller or a FTDI chip to program the ATMEGA through Arduino board pin 0 and 1. This ...
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
1k views

Difference in bootloader of ATmega with 16MHz external crystal and 8MHz external crystal

I have used your bootloader for ATmega2560-16AU with 16MHz external crystal and it works like a wonder. In my new project I have a 3V power supply. Therefore, I am planning to use a low frequency ...
0
votes
1answer
800 views

Arduino Mega 2560 bootloader delay

I need to make my program run immediately on a reset or power up. However, the bootloader delays program startup by around 2.5 seconds. How can I get over this? Is there a way to turn off the ...
0
votes
1answer
7k views

Programming an ATMEGA2560 using FTDI

I want to know how exactly do I program (upload arduino sketches) an ATMEGA2560 which is boot loaded with an Arduino Bootloader using a FTDI programmer and an Arduino IDE, is there any capacitors/...
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/...