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
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. Everything ...
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
664 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
615 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
59 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
63 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
546 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
425 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
295 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
897 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
431 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
444 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
845 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
189 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
392 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
206 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
223 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
162 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
131 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
116 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
751 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
142 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
231 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
321 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
405 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
794 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
46 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
79 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
200 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
478 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
399 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 ...