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 ...

learn more… | top users | synonyms

1
vote
1answer
22 views

Why are there two sets of tools and bootloaders in the Arduino IDE?

After digging around on a separate problem, I found that avrdude, avr-gcc and some more tools can be found in two different locations: (1): C:\Program Files\Arduino\hardware (2): C:\Users\<user&...
0
votes
0answers
31 views

How do I bootload an Atmega328 to use internal clock using two boards?

I know that I can bootload an Atmega328 chip using another arduino by using that arduino as an ISP. I also know that an Atmega chip that is configured to use an external clock already has a difficulty ...
1
vote
1answer
30 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 ...
0
votes
1answer
24 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
0answers
31 views

Can't burn bootloader, Says Invalid device signature

I am trying to burn bootloader on an Atmega 328P-PUon breadboard with minimal circuit using Arduino UNO, following up this Arduino Tutorial : https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard (...
0
votes
1answer
44 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 ...
-3
votes
2answers
25 views

How i can have one code for multi sensors

am doing multi sensor project concerning PIR,vibration,tilt angle,temp&humidity,gas sensors with LCD in Arduiono mega ...i have each sensor code,need help on programming in one program
-1
votes
1answer
27 views

Burning a bootloader onto my Arduino MEGA 2560 without another arduino board, or isp board

My youtube video explains it. It's starting to get on my nerves.
1
vote
3answers
45 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 ...
0
votes
0answers
34 views

Trying to install bootloader on Osoyoo Pro Micro Atmega32u4

So I've got a little project that needs an atmega32u4. Because I'm a cheap I bought a chinese arduino, I guess pro micro, clone. Specifically, this osoyoo. Okay so first of all, plugged into my mac ...
3
votes
1answer
39 views

Do we really need to upload Arduino bootloader for new Atmega IC

I am using Atmega328p in my circuit. I will be programming this IC using Arduino. But because this is a PCB, so I will programming using USBasp programmer. So before uploading code as upload using ...
1
vote
2answers
48 views

Is it possible to burn a bootloader to a ATTiny85 with USB TTL and avrdude?

I have: An Digispark clone (with no Arduino bootloader) A USB -> TTL serial device A development breadboard Avrdudess (or dude does not matter I guess) And I want to burn the mononucleus bootloader ...
1
vote
0answers
39 views

How can I use an APM 2.6 as a “normal” Arduino Mega?

I have an APM 2.6 Autopilot. I know inside there is an Atmega 2560 and some sensors. When I connect it to my computer I can not program it with normal Arduino software, like the Blink Example. I dont ...
0
votes
2answers
80 views

Problem burning bootloader on ATmega328P using internal clock

I'm trying to burn the arduino bootloader onto my ATmega328P so it uses the internal clock. I followed the tutorial in this page but I'm getting this error. avrdude: Version 6.3, compiled on Dec 16 ...
0
votes
2answers
30 views

Burning the Arduino bootloader without an extra Arduino board

Is there any way to burn the Arduino bootloader on a standalone Atmega328 (internal clock 8MHz) from the Arduino official website without using an extra Arduino board to burn the bootloader? I mean, ...
0
votes
1answer
43 views

Flash a hex file to an MCU/Arduino over the air?

I have a processor AT328 , Arduino bootloaded, and a Bluetooth on the serial lines Tx,Rx . I would like to program the chip over Bluetooth, not using a computer or IDE, but mobile phone with my own ...
0
votes
0answers
35 views

avrdude: stk500v2_ReceiveMessage(): timeout - RX LEDs not blinking

I can't upload any program to my Arduino using the Arduino IDE and a USB cable. When I try to, it says avrdude: stk500v2_ReceiveMessage(): timeout I've search all the web and look at questions ...
1
vote
0answers
26 views

Upload custom trinket firmware

I'd like to disable the trinket 10-second bootloader when powered up, so it will just begin running the program. I would still like to be able to press the reset button to re-program it. I found an ...
1
vote
0answers
27 views

How do I fix the serial loader on my Pro Mini?

I have an Arduino Pro Mini, 3v3, 8Mhz. I have in the past successfully programmed it over the serial line. I have two others, I can program them over the serial line. I can program the first one using ...
0
votes
0answers
94 views

Arduino serial working, but not able to upload new program

Yesterday I was able to do some prototyping on my Arduino (Mega 2560). Part of the code involves communicating the with computer across the usb serial line and sending and receiving messages from the ...
0
votes
1answer
118 views

Why do I get avrdude: stk500v2_ReceiveMessage(): timeout error when uploading to Arduino Mega?

I have an Arduino Mega clone and I haven't used it for a while. I remember it not working so when I plugged it in and tried uploading the code to it and sure enough it didn't work. So I plugged in an ...
0
votes
1answer
42 views

why leonardo bootloader is bigger than UNO?

Apparently leonardo and UNO are very similar boards. However, despite that both have the same flash memory size, Leonardo bootloader is considerably bigger than UNO bootloader (4KB vs 0.5KB). what ...
0
votes
2answers
46 views

BOOTRST fuse was disabled, but bootloader code is still running after chip reset

I am experimenting with ATMEGA328P bootloader and I created HEX file with program with infinite loop on the begining and with optiboot code at end of hex file. (code loaded into chip is here: http://...
0
votes
2answers
60 views

Using Arduino libraries for adding more functionalities to a bootloader

I have a short question to ask before putting time for research. I have an Arduino Leonardo with the LUFA mass storage bootloader flashed. Now what I need to do is to add more functionalities to the ...
0
votes
0answers
28 views

I uploaded an arduino code without burning the bootloader using USBasp ,now the USBasp is not able to communicate with it(rc=-1).What can be done now?

I know i should have burned the boot loader to the atmega328p with 8mhz crystal but buy mistake i uploaded the code.Is the high voltage fuse set or something like that?
0
votes
2answers
42 views

Programming an ATmega328P by holding it on an Uno's

I was looking at this Uno clone, the Nanino and then happened to read this article on "Manhattan style" circuit design. Anyway, that got me thinking... If I borrowed someone's Arduino Uno, could I ...
3
votes
1answer
62 views

How is the bootloader activated when device is running?

For the sake of specificity I am referencing my question to Arduino. It applies to all AVRs with hardware USB and a bootloader though. The bootloader is capable of receiving new program data over the ...
3
votes
2answers
94 views

Arduino beginner question

I just got a new pro-micro Atmega32U4 board, and installed the current Arduino IDE (1.8) and cannot get it working. There is no entry for a pro-micro, so I chose Leonardo as it uses the same chip. ...
0
votes
1answer
41 views

Problem with uploading LUFA MassStorage .hex file to Leonardo

I have been trying to make my Leonardo board to work as a USB device. So I started with compiling the open source LUFA USB library demo "MassStorage" for the Leonardo board settings. Since I'm using ...
1
vote
3answers
63 views

Do we need to burn bootloader in new Atmega328p before uploading the arduino code

I have an arduino code which is working fine. Now I am planning to make a PCB out of it. But I do not want to use the complete Arduino board. I just want to use the Atmega328p microcontroller. So my ...
1
vote
1answer
37 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 ...
0
votes
1answer
160 views

ard-reset-arduino resetting Leonardo/Micro via USB works on OSX, fails on Ubuntu

I'm trying to program a Leonardo (actually a Micro ATmega32U4) via the command line using USB. Schematically, I'm doing ard-reset-arduino followed by a sleep 1 and an avrdude command. This works ...
0
votes
0answers
45 views

Parallel programming Arduino Nano fails - Device signature 0x60afc1

I created a "parallel programmer" DB25 to communicate with my Arduino Nano from this guide: https://www.arduino.cc/en/Hacking/ParallelProgrammer?from=Main.ParallelProgrammer I have an old computer ...
0
votes
0answers
55 views

Need help on Bootloading Arduino Nano 3.0 with AVR STK500

I bought a Nano 3.0 and it seems I need to Burn Bootloader to itso I can upload my project by USB-serial. My only other device to do this is my old Atmel AVR STK500 kit with ATMega16 uC. But every ...
3
votes
2answers
72 views

Bootloader on Atmega328p overwrites whenever it gets programmed

I built my first custom circuit board with an Atmel ATMega328p-AU the tqfp-32 form factor. I connected xtal1 and xtal2 to an external 16mhz crystal to 22pf caps tied to ground. It seems to work great, ...
1
vote
1answer
43 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
110 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
140 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
38 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
91 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
85 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 (...
0
votes
0answers
136 views

SOLVED - Different behaviour during bootloader burning

I managed to solve this problem (in my case), but feel free to comment or to provide different answers. I also included solution that works for me at the end of this post. I have ATMega328p hooked up ...
0
votes
1answer
36 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
114 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
207 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 ...
0
votes
2answers
79 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
48 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. ...
4
votes
2answers
91 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 ...
0
votes
1answer
316 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 ...
1
vote
2answers
87 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 ...