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
-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 ...
3
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
169 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/...
0
votes
3answers
775 views

Can the Sparkfun AVR pocket programmer bootload/program a 3.3 V ATmega328p

The product in question - https://www.sparkfun.com/products/9825 - operating at 5 V (and can also supply it to the device being programmed). I need to program the bootloader onto a 3.3 V ATmega328p ...
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
755 views

Flash “sketch” hex over ISP, without bootloader - possible?

I'm wondering if it's possible to flash the arduino sketch into a AVR, without using a bootloader - over ISP. I'd use the BSD programmer, which is basically parallel port with some resistors. Let's ...
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 ...
0
votes
1answer
2k views

Unable to load sketch: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41

I've stumbled upon what I've later found it's quite common error, but there seems not to be simple troubleshooting way and solution (people often try various things, sometimes they succeed, sometimes ...
0
votes
1answer
429 views

USART RX Interrupt on an ARDUINO PRO MINI containing factory bootloader

Is it possible to use RXC Interrupt vector with the factory programmed bootloader still existing in the arduino pro mini? I've written a simple echo program using RXC interrupt vector, the program ...
-3
votes
2answers
5k views

Garbage value Serial Monitor

I am building my own arduino.Here is my code Below. I found code working for Digital Ios like blink example ; analog reading, Problem i am facing in Serial Monitor.Whenever i open Serial monitor i get ...
1
vote
1answer
1k views

ATmega32u4 bootloader

Hey all this would be my first encounter needing to burn the Arduino IDE bootloader onto a blank ATMega32u4 that I bought from Digikey. What all do I need to buy in order to program the bootloader ...
1
vote
2answers
1k views

Homebrew Arduino using ATMEGA328P, ISP or ICSP?

I plan on creating a homebrew Arduino breakout board using the ATMEGA328P smd version. I'm geeting confused by the wealth of information out there as to whether I should be using ICSP or ISP to ...
8
votes
4answers
10k views

ATtiny85. How do I burn a bootloader? What is the process?

I want to use all six I/O pins of an ATtiny85, that means also using the reset pin as an I/O pin, however, I found out that if I disable the RESET pin, I can no longer program the ATtiny using an ISP ...
2
votes
1answer
104 views

Arduino mini requires uploading on every power up?

My Arduino mini is experiencing some really strange problem. I'm using the BlinkWithoutDelay example sketch for testing: const int ledPin = 13; int ledState = LOW; // ledState used to ...
0
votes
1answer
88 views

Creating a product with arduino bootloader

If you have a prototype with arduino and you wish to create a real product can you do it or the fact that it contains the arduino bootloader prevents you? BTW, i dont have a product ready. I am ...
0
votes
2answers
654 views

Finding arduino bootloader version?

I have problem with WDT reset. After reset the device goes on for a boot loop. from the following link https://code.google.com/p/arduino/issues/detail?id=181 It has been mentioned that there is ...
1
vote
1answer
228 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
301 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 ...
0
votes
1answer
162 views

Arduino not responding [duplicate]

I have been using my arduino uno for many months and it worked very well even till today morning but an hour ago I tried to upload a sketch and arduino IDE showed my this "avrdude: stk500_getsysc(): ...
1
vote
1answer
393 views

Uploading bootloader on ATmega328P SMT package using Arduino Uno

I have been trying to upload bootloader on ATmega328P SMT package on a custom PCB using Arduino Uno as ISP, I was quite successful. I have Googled a lot and have tried numerous ways, sometimes I was ...
2
votes
2answers
5k views

How do I write an Arduino program to an AVR chip without the Arduino bootloader?

Is it possible to write an Arduino program to an AVR chip that does not have teh Arduino bootloader installed? What is the process to do so?
1
vote
1answer
744 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....
5
votes
2answers
2k views

Why bootloader sizes differs from 0.5 to 8 kilo bytes for different boards?

According to official web info bootloader sizes are 0.5, 2 and 8 kilo bytes for UNO, Pro mini and ATMega2560. I believe all three boot loaders do similar job of receiving serial link data and write to ...
2
votes
1answer
2k views

How to free up Flash space by removing the bootloader on UNO?

In order to fit maximum user program into the chip, how to free up Flash space (0.5 kilo bytes for UNO, 2 KB pro Mini, 8KB for ATMega2560) by removing the bootloader on Atmega328 (UNO, Pro Mini, or ...
5
votes
3answers
10k views

I bought USB > FT232RL, can I use it to program a bootloader onto an Arduino?

I bought this thing off of eBay: eBay Link Will it allow me to program an ATmega[xxx] (Arduino clone) with a bootloader? --> If so, how would I go about it? What should I do, and what should I ...
1
vote
2answers
3k views

Problem loading sketch to Leonardo

Today I got Arduino Leonardo to replace my Uno. I've tried running one of sketches I use on the Uno, but with no luck. When I start the upload, RX LED on the Leonardo flashes few times, and after ...
1
vote
5answers
3k views

Mega 2560 Doesn't Respond

When trying to upload to my Mega r2, it simply times out during uploading. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer I tried ...
1
vote
4answers
2k views

What's wrong with my undetected, unresponsive Arduino Robot?

I was wondering if someone could try and solve a major problem I've been having with a brand new Arduino Robot (similar to an Arduino Leonardo). Any input would be very much appreciated! I've been ...
7
votes
4answers
10k views

Arduino Nano not responding with yellow led blinking fast

Update: I started playing with a genuine Deumilanove and exactly same problem happened to it - d13 led blinking, but avrdude says stk500_recv(): programmer is not responding I uploaded a largish ...
2
votes
1answer
319 views

Disable Boot Flash completely on ATMega

I want to reclaim the space reserved for the bootloader on my ATMega32u4 (Leonardo chip). But the lowest boot flash size I can see is BOOTSZ=11 which is 256 words (512 bytes). Is it not possible to ...
1
vote
1answer
8k views

How do I install the firmware on an Arduino Mega clone?

I have a brand new board which is a clone of the Mega2560. I need to install the USB firmware on the 16U2 and the bootloader on the 2650 chip. I have Atmel Studio and a JTAGICE-3. Using those, I can ...
-1
votes
1answer
775 views

How does RXD/TXD request signal look betwen 16u2 and 328p on oscilloscope?

I have a broken Arduino Uno. The man tells that he connected power supply and USB at the same time. I got the new 16u2 (empty) chip. then asked my friend to re-solder it. He was using an air ...
0
votes
0answers
28 views

Weirdest behaviour with arduino and bootloaders for GPS [duplicate]

I have an EM408 GPS and an Arduino Duemilanove with an ATMega328. I have the following code to talk to the GPS and get raw data: #include <SoftwareSerial.h> SoftwareSerial GPS = SoftwareSerial(...
6
votes
2answers
6k views

bootloader uploading into Atmega328

Here is mine circuit. Intially i used arduino UNO directly for programming. Now i am Using atmega 328 IC for programming. I am trying to connect 32 hall sensor via Mux circut. I wanted to How to ...
3
votes
1answer
2k views

How to program an empty Mega2560 with an Arduino sketch?

I am writing code on Arduino mega. My current code is working fine. However, I'm not using all the pins. My question is: I have the hex file for my code and I can purchase a Mega2560 MCU. Is there ...
0
votes
1answer
2k views

Can I load programs through the RS232 pins?

Can I upload new programs onto a MEGA2560 through a serial port connected to pins 2&3? (through the correct RS232<->TTL level shifters) I know the 16U2 chip acts as a USB->serial converter ...
5
votes
1answer
1k views

Can I speed up the Leonardo bootloader?

Inspired by an example question before beta, can I make the Leonardo bootloader take less that 8 seconds to run? It is very slow and I want to speed it up somehow.
1
vote
0answers
99 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 ...
4
votes
1answer
115 views

SeeedDuino/Grove and the story of not being able to upload programs

I am new to the arduino world and wanted to start playing with the micro controllers, I am a .NET developer by trade so not completely new to this kind of world. I purchased a seeedduino v3 and a ...
1
vote
1answer
257 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 ...
5
votes
2answers
1k views

Changing pins used in ArduinoISP example

I have built my own ATTiny programmer, but made a bit of a mistake along the way - I didn't align the headers properly, and now instead of them plugging into pins 10, 11, 12 and 13 as per the ...
1
vote
1answer
6k views

How to reduce serial speed on Arduino bootloader (optiboot) and on the IDE?

I'm debugging a couple of RS232-to-TTL converter boards that I'm trying to use to program my Arduinos and one thing I would like to try would be to reduce the upload serial speed from 115200 to 19200. ...
10
votes
3answers
22k views

Arduino Mega timeout communication with programmer error

I have an Arduino Mega 2560 and it was working fine until about lunch time when I started getting this error: avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout ...
11
votes
3answers
10k views

What alternatives are there to the Optiboot bootloader?

Nearly all modern Arduino boards use the Optiboot bootloader. Compared to the ATmegaboot used before, this is smaller in flash terms (by about 1.5KB) and faster in upload speed (115.2k vs 57.6k) and ...
15
votes
2answers
29k views

How do I burn the bootloader?

I was instructed to "burn the bootloader" to my Arduino to fix an error I was getting. How can I do this? (And what exactly is the bootloader?)
14
votes
2answers
3k views

Yún boot from SD card

I have an Arduino Yún, and it only has 16mb flash onboard for the Linux. I was wondering of it is possible to put a bootloader on the flash that uses the sd card as a rootfs? i want to be able to do ...