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
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 ...
2
votes
1answer
326 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 ...
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 ...
2
votes
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 ...
2
votes
0answers
191 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 ...
1
vote
3answers
126 views

Is ATmega 328 on Arduino UNO already bootloaded?

I've seen many tutorials on programming a ATmega 328 via Arduino. If i'm right, the atmega need to be bootloaded. I thought to remove the atmega present on the arduino board. But to bootloading atmega ...
1
vote
1answer
217 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
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 ...
1
vote
2answers
77 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 ...
1
vote
2answers
107 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
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. ...
1
vote
2answers
931 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 ...
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. ...
1
vote
1answer
356 views

add ID number to the feather m0 bootloader (flash)

I'm trying to add a serial number to the bootloader's flash area of Adafruit Feather m0 board. Seems like feather m0 0-0x2000 area on the flash is non writable by the arduino sketch. i wanted to add a ...
1
vote
3answers
4k views

ATTiny85 Digispark clones failing USB handshake - how to program them?

I've recently bought a batch of ATTiny85 modules (Digispark clones) from China, and tried to write a first test program into them now. I noticed that they do seem to have some bootloader already ...
1
vote
1answer
3k views

changing device signature in avrdude

I am trying to burn bootloaders to Atmega2560V and when I hit burn bootloaders it shows me this error avrdude: Device signature = 0x1e9803 avrdude: Expected signature for ATmega2560 is 1E 98 01 ...
1
vote
1answer
5k views

How does avrdude burn a bootloader much quicker than the Arduino IDE?

To burn a bootloader to the Arduino Micro (ATMega32u4), I'm using an Arduino Uno with the ArduinoISP program uploaded to it. 1st case: Arduino IDE Very straightforward, using the ArduinoISP sketch ...
1
vote
1answer
68 views

Writing new functions into progmem after main program is burned

I've been experimenting with writing very basic operating system-like programs on the Arduino, and so far I have been running user-defined programs on a small virtual machine I wrote. This has been ...
1
vote
3answers
135 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 ...
1
vote
1answer
333 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
1answer
714 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 ...
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
1answer
109 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
vote
1answer
625 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
vote
1answer
200 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), ...
1
vote
2answers
717 views

Error when trying flash bootloader into Arduino Pro Mini 328P 8MHz 3.3V

I tried flash bootloader into Arduino Pro Mini 328P 8MHz/3.3V clone, but got error. First I did test: ~$ avrdude -c usbasp -p m328p avrdude: AVR device initialized and ready to accept instructions ...
1
vote
1answer
2k views

Arduino ISP ATtiny problems

As I was trying to program my ATtiny chip with my arduino, I ran across some problems. Note that I know that this problem is faced almost in every Q and A site and forum so don't flag me as repeat yet....
1
vote
1answer
418 views

What bootloader does the Arduino Micro come with?

I've been looking to modify the Arduino Micro bootloader (specifically changing the VendorID and ProductID) of the Arduino. What bootloader comes pre-installed on the Arduino Micro? and how would I go ...
1
vote
1answer
143 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
608 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 ...
1
vote
1answer
178 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 ...
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
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 ...
1
vote
2answers
438 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 ...
1
vote
1answer
235 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
2answers
621 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/...
1
vote
2answers
3k 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
818 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 ...
1
vote
1answer
2k 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
1answer
422 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 ...
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
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
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. ...
1
vote
1answer
73 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 ...
1
vote
1answer
968 views

Compiling with -flto and -nostartfiles results in no program at all

Towards developing my own bootloader I've stumbled over an issue with avr-gcc. I am trying to compile my code with the compiler flags -flto #to enable link time optimization -nostartfiles #...
1
vote
1answer
188 views

Problem uploading to ATMega using ArduinoIDE (“unbricking” “bricked” microcontroller?)

I've a SparkFun Pro Micro which is an Arduino Leonardo clone. Unfortunately my attempts to upload programs failed. I did some research in the internet and found you have to use SparkFun's ...
1
vote
2answers
575 views

ATtiny85 serial communication, bootloader and setting up fuses

I have been reading some articles about ATtiny and how to burn the bootloader. And I have two questions which I can't figure out. Do I need to manually setup fuses to run 8 MHz on my ATtiny when I'm ...
1
vote
1answer
1k views

Uploading Arduino bootloader to ATmega32U4 with another Arduino?

I am in a situation where it is useful if I can upload a bootloader into an ATmega32U4 using another Arduino like this, for ex:https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard. I have a ...
1
vote
1answer
964 views

Trying to flash ATTiny85 bootloader using FT232R in the Arduino IDE

I have a FT232R that I want to use to flash my ATTiny85 bootloader in the Arduino IDE, can someone help me out on this? I don't want to get a AVR programmer.
1
vote
1answer
141 views

Standalone ATMEGA328: Verification mismatch on random byte on -subsequent- uploads only

I have an Arduino Pro Mini as an ISP programmer with the ArduinoISP sketch running on it (19200 baud), and an addition in boards.txt that has a 'Standalone ATMEGA328 8MHz Internal' entry that ...