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
0
votes
1answer
479 views

Leonardo clone being recognized by Windows as a broken Linino One - wtf?

I'm running a Velleman VMA103, which is advertised as a clone of the Leonardo. Both use the 32u4 chip, and the pinout is exactly the same. However, when I plug it in, the drivers do something weird. ...
0
votes
1answer
224 views

How do I know the size of the bootloader of ATtiny? Is it the same as ATMega328P?

I burned the bootloader in ATtiny45 with the Arduino tool. I want to know how much memory it has taken. Is this bootloader the same code of a bootloader used in the 328P or other chips? Can I see ...
0
votes
2answers
377 views

Burn Bootloader to Chinese Arduino 2560 with AVR ISP programmer

I got my hands on one of these ISP programmer for Atmel AVR microcontroller in USB stick design: Then I selected Progammer > AVR ISP and clicked on Burn Bootloader but it says stk500_recv(): ...
1
vote
0answers
73 views

COM port problem when uploading bootloader to SAMD21G

I use an ATSAMD21E16B-AU in my circuit and I want to upload the bootloader with the SAM-BA flash programming tool in this official link: http://www.atmel.com/Images/Atmel-42366-SAM-BA-Bootloader-for-...
1
vote
0answers
640 views

Cannot upload sketches, and loopback test fails, but bootloader is intact and correct

I was using an Arduino Uno for a project, when suddenly it stopped allowing me to upload sketches. I kept getting the error message: avrdude: stk500_recv(): programmer is not responding avrdude: ...
0
votes
1answer
148 views

How is interaction with CDC device with no interface endpoints working?

I'm working on uploading to Digispark board. It uses micronucleus bootloader and i can see uploader code. I've modified it a bit to see interfaces and endpoints count: nucleus->device = ...
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
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 ...
0
votes
1answer
320 views

Atmega2560V, trying to burn bootloaders of MegaCore

I am trying to burn MegaCore bootloaders to it, I have setup my custom PCB with Atmega2560V-8AU and 8Mhz Crystal + Load Caps all assembled on using PCBA process. I am trying to burn MegaCore ...
1
vote
1answer
867 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.
0
votes
1answer
835 views

How to burn the bootloader onto a bare chip without using an Arduino board

How do I burn the UNO bootloader onto ATMEGA328P-PU without using an Arduino Uno board. That is burn directly from my PC or Android device?? I've tried nothing, I don't know a thing about ...
0
votes
1answer
51 views

How to use Atmega1284AU with Arduino IDE

Is there any support to this chip in Arduino IDE, like bootloaders and boards definitions.. i want to use this chip with 3.3V and 8Mhz crystal speed.. I have seen Nick Gammon bootloaders supports ...
3
votes
1answer
1k views

Custom board with ATMega32u4 having USB issues

I built a custom arduino based board (speciffically based off of Sparkfun's Pro Micro 3.3V 8Mhz and their Qduino mini boards) that uses the ATMega32u4-RC. The board I built integrated an acceleromter ...
2
votes
2answers
1k views

Error while boot loading Atmega 2560 using Arduino Mega 2560

I have developed custom board using Atmega 2560. I am doing boot loading process using the process of migrate from an Arduino board to a standalone microcontroller. I have followed this steps... 1) ...
3
votes
1answer
388 views

Bootloader and Boards Definition for Atmega2560V-8AU at 8 MHz / 3.3v

I am working on a home made project,where i am using Atmega2560V-8AU (note the suffix, this part has an 8 MHz maximum clock rate) as my main controller, supplying 3.3V to this chip. I want this ...
-2
votes
1answer
499 views

How to use AtMega328P-PN [closed]

I am making an AC (the summer kind) control circuit with an AtMega328P chip. I bought the AtMega328P-PN instead of the P-PU. I followed the instructions on how to burn the bootloader, but nothing ...
0
votes
1answer
784 views

Arduino Uno R3 stuck in DFU mode/Port not recognized

I have an Arduino Uno R3 that is simultaneously stuck in DFU mode and won't be recognized as a port in the Arduino IDE on my Macbook Pro (El Capitan). Upon receiving power, the Arduino is ...
-1
votes
1answer
139 views

Bootloader crashing continuously [closed]

My Arduino Uno was working nicely. And then something like avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00 started to appear. So ...
1
vote
1answer
1k 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....
2
votes
1answer
611 views

Building Custom Bootloaders

Recently I was checking out the Atmel's AVR series and I found the Atmega328PB. I am really familiar with Arduino's environment. So I thought if somehow we could bootloader it with Arduino bootloader. ...
2
votes
1answer
4k views

NodeMCU does not boot up when GPIO pin is high

I have a NodeMCU board connected to a door and there is a micro switch that makes one GPIO pin (GPIO15 - D8 in this specific case) go high when the door opens. My problem is if I lose power while the ...
2
votes
1answer
84 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&...
1
vote
1answer
139 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 ...
1
vote
1answer
407 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
5k 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 (...
1
vote
1answer
4k 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
48 views

How i can have one code for multi sensors [closed]

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
298 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
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 ...
3
votes
1answer
578 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
3answers
1k views

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

I have: An Digispark clone (with no Arduino bootloader) A USB -> TTL serial device A development breadboard Avrdude I want to burn the micronucleus bootloader to the chip. Is this possible, are ...
0
votes
2answers
1k 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
2k 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
1k 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 ...
1
vote
0answers
100 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
212 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 ...
2
votes
5answers
11k 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
257 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
307 views

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

I am experimenting with an ATmega328P bootloader, and I created an Intel HEX (.hex) file with a program with an infinite loop in the beginning and with Optiboot code at the end of the hex file. (Code ...
0
votes
2answers
163 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
2answers
177 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
2k 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 ...
2
votes
2answers
145 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
164 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
480 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
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
1answer
914 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 ...
2
votes
2answers
1k 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
138 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
593 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 ...