The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
434 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
835 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
180 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
386 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
205 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
219 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 ...
6
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
160 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
130 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
113 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
54 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
982 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
724 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
138 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/...
12
votes
1answer
3k views

What happens when code is uploaded using the bootloader?

When I upload a new sketch to my Arduino Uno using the Optiboot bootloader, what really happens? What is sent to the Arduino? How does it respond? What does "not in sync mean"? What is "in sync" ...
1
vote
1answer
229 views

Uploading to atmega328 over serial with arduino bootloader running at 2MHz

I want to run an atmega328 on a breadboard at 2MHz and upload to it via the serial pins (pins 2 and 3). So I am setting the clock divide by 8 fuse bit to enable this, meaning the atmega runs at 2MHz ...
1
vote
1answer
316 views

Why when I press the reset button

Why when I press the reset button it takes 2 second before I see my sketch start? The model of Arduino is UNO, and the text in serial communication.
1
vote
2answers
401 views

How to reset Arduino Uno over BLE just like over USB?

I'm working on wireless upload to Arduino and i've succeed for Mega2560. But when trying to upload to Uno it does not wait for upload commands. I'm doing reset using GPIO and HM-10 BLE module wired ...
0
votes
1answer
745 views

Burning Arduino Leonardo Bootloader to ATmega32U4 with 8MHz internal clock [duplicate]

Burning question: So, I'm trying to burn the Arduino Leo bootloader onto a ATmega32U4 that's on 3.3V and the internal 8MHz clock. Do I have to modify and rebuild the bootloader to set the fuses ...
0
votes
1answer
2k views

Burning Arduino Leonardo Bootloader to ATmega32U4 with 8MHz internal clock

Burning question: So, I'm trying to burn the Arduino Leo bootloader onto a ATmega32U4 that's on 3.3V and the internal 8MHz clock. Do I have to modify and rebuild the bootloader to set the fuses ...
1
vote
0answers
45 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 ...
0
votes
1answer
1k views

What changed in the new Due?

I recently purchased a batch of Due boards and find that they are cosmetically different. After attaching the Atmel-ICE and reading the firmware from both processors, I find that the firmware is ...
0
votes
3answers
77 views

Reversed Input Voltage Arduino Mega timeout communication with programmer error

On the barrel connector I accidentally reversed the input voltage to an Arduino Mega. The center post received ground while the outer connection received +12DVC, basically I have the Arduino -12VDC. I ...
2
votes
1answer
192 views

Will the Uno bootloader work in the Duemilanove?

I had an old duemilanove lying around (Which was not working because i accidentially busted the atmega) and I recently bought some atmegas pre-flashed with the UNO bootloader. So I tried to put one of ...
1
vote
0answers
470 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
votes
1answer
384 views

Arduino communication with ROS via UART

I am trying to program an Arduino Mega(Crius) from a Minnowboard Max A2 via an UART (Hardware Flow Control Off) interface. I can successfully communicate with the ROS (robot Operating System) on the ...
0
votes
2answers
890 views

How to test Arduino board?

A little history: I have two Arduino Uno and I couldn't program them by IDE, I got these errors: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in ...
1
vote
0answers
106 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
1answer
661 views

Why the bootloader burn on ATmega328 rather than Atmega16U2 in Arduino Uno

I have been researching about the reason why we have a second MCU in arduino UNO for a while now. finally i understood that its been use as USB to serial converter. the question that really bug me ...
0
votes
1answer
217 views

Arduino Mega2560 clone responding slowly

I am using an Arduino Mega2560. Using Arduino Mega as ISP to burn sketch, I had loaded the bootloader from Arduino IDE. I uploaded the blink LED code to the Mega. But the LED is responding slowly. ...
0
votes
2answers
3k views

Can't burn arduino bootloader to atmega8a with usbasp

I want to burn the arduino bootloader with arduino IDE, but I cant get it done. And here is my circuit: I have marked the way I connect the ISP port and the chip. I choose Arduino NG/older as the ...
0
votes
1answer
195 views

Custom Bootloader on Atmega328p - PU - 28 pin DIP

I am experimenting with low-power wireless arduino modules. For that, I needed 3V powered arduino so that I can do away with voltage regulators which eat up a lot of battery juice. I am using 28 pin ...
0
votes
1answer
15k views

Cannot bootload again after changing the board?

We are so tired and would like to get help with this. We are trying to bootload using the arduino Uno. We have an atmega 328p smd , that we are trying to bootload. We have connected all the right ...
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
2answers
2k views

Uploading over Bluetooth Low Energy - bootloader not responding

I'm working on sketches uploading over BLE. I had to write my own uploader (looking at avrdude sources with one eye) so i can change uploading behaviour as needed and it's working over USB just ...
1
vote
0answers
531 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
2answers
603 views

Problem Bootloading AVR328P-PU

I executed the following steps in order to burn a bootloader into an AVR328P-PU chip I acquired on ebay. I have set up AVR328P-PU on a breadboard as described here: http://arduino.cc/en/main/...
-2
votes
1answer
103 views

Reprogram Arduino Mega 2560 using Duemilanove?

Experiencing that Mega 2560 uploading problem. Tried updating the IDE, worked for a while but symptoms went back. Now i want to reprogram that chip. I'm asking this question cuz hardware ain't free ...
1
vote
2answers
2k views

Burning a Uno bootloader into a Nano

I bought some cheap Arduino Nanos from ebay, but the watchdog does not work in them. So I removed their old bootloader and burnt a new Nano bootloader from the Arduino IDE. Same problem, the watchdog ...
1
vote
3answers
553 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 ...
2
votes
4answers
4k views

How to remove Adafruit Pro Trinket bootloader flashing startup sequence

From what I understand, the Pro Trinket has "Optiboot" which allows it to detect which boot loader you are trying to use, one for USB and one for FTDI. When it's in this "bootloader state" the red LED ...
0
votes
2answers
168 views

How do I replace a burnt atmega328 with a new atmega328(bootloaded) in arduino?

I have an arduino UNO with atmega 328 whose microcontroller got burnt. I bought a new atmega328. I have another working arduino with atmega8. I followed the instructions in http://arduino.cc/en/...