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 ...
0
votes
1answer
30 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
1answer
18 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
53 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
23 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
34 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
47 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
3answers
89 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
35 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
51 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
36 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
74 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
20 views
Error burning bootloader to ATMega328p with arduino as ISP
Here is the log
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: stk500_recv(): programmer is not responding
avrdude: ...
0
votes
0answers
30 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
31 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
51 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
36 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
90 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
67 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
34 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
0answers
10 views
Trouble finding correct Bootloader
Overview:
I am using a custom SAMD21J18A M0 Microcontroller. I have two Versions of hardware that I will refer to as Version 1.2 and Version 1.3. The main difference between Version 1.2 and Version ...
0
votes
1answer
67 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
62 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
69 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
26 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
0answers
84 views
cannot burn bootloader to arduino nano: content mismatch
I'm trying to burn the bootloader to my arduino nano using a USBTinyISP.
I get the following error:
avrdude: verification error, first mismatch at byte 0x0000
0xfd != 0x05
avrdude: ...
0
votes
1answer
86 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
165 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
70 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
41 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
82 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
228 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
1answer
63 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 ...
0
votes
0answers
42 views
Arduino on a breadboard, single bootloader/uploader circuit possible?
I would like to know if my intuition is correct that two circuits can be tied to the same ATMega, provided they don't use the same pins. I would like to make a single shield with a dip socket which ...
-1
votes
1answer
213 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
11 views
Problem uploading to Arduino stk500_recv()
I reuploaded bootloader using USBtinyISP and Arduino IDE (burn bootloader), and it worked (checking through avrdude):
avrdude -c usbtiny -p m328p
avrdude: AVR device initialized and ready to accept ...
0
votes
0answers
98 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.
...
0
votes
0answers
117 views
Burning bootloader with Arduino as ISP when clock frequencies differ
I've made a board with Atmega328, and I put there 6Mhz quartz (the reason to have 6MHz was to reduce power consumption). I need to burn Arduino bootloader to it, and I want to use Arduino Uno (16MHz) ...
0
votes
1answer
107 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
30 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
23 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
0answers
174 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 (...
4
votes
3answers
847 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 ...
1
vote
1answer
758 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
90 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 ...
6
votes
1answer
734 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
165 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 ...
3
votes
1answer
116 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
315 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
135 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
197 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 ...