Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
261 views

How to create custom bootloader with accompanying program loader for ATMega2560

Just for some context, I have created a custom board based on the ATMega2560. I currently have the original Arduino Bootloader for the ATMega2560 and have no problems uploading code via the USB Port ...
3
votes
1answer
173 views

Arduino Burn the code programmatically

Is it possible to burn arduino code programmatically? I was thinking of one way and that is to download hex file from my online server. Store contents of the hex file in a string, and write that ...
1
vote
0answers
316 views

Will avrdude overwrite the bootloader on my Nano?

I bought an arduino nano (knockoff from Elegoo) and according to the Amazon description it comes with a bootloader. From what I've read, this means that programming can occur over the usb connection ...
0
votes
2answers
126 views

Burn bootloader to Arduino Uno using ARM-USB-OCD

I have ARM-USB-OCD created by OLIMEX. I am interested in can I use this to burn a bootloader to Arduino Uno. As I know Atmega 328P can be programmed using JTAG protocol which has also ARM-USB-ODC, so ...
2
votes
1answer
183 views

Purpose of USB (FTDI) and ICSP connectors

As an Arduino newbie I am a little bit confused about possible ways of programming and communicating with this device. I have done some research and it seems that: ICSP is used for programming with a ...
1
vote
2answers
2k 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 ...
0
votes
0answers
242 views

Is my Arduino Micro bricked?

A few weeks ago I built my own Arduino Micro. Everything worked fine and it connects every time. I have built a second one, with the exact same processor schematic as the first one. It turns on, and I ...
0
votes
0answers
77 views

Bootloader fails when two Arduinos are connected over serial port

I’d like to connect two Arduinos over serial port so that they can communicate with each other. Initially, I put all necessary code onto one device and now connected another via serial port. As soon ...
0
votes
1answer
179 views

Getting boot mode 1.6 error

When I try to upload my script I get this in my serial monitor: ets Jan 8 2013,rst cause:4, boot mode:(1,6) wdt reset The board I am using is Uno + Wifi And this is my sketch: /* * Arduino ...
1
vote
2answers
454 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 ...
0
votes
0answers
62 views

Bootloader atmel328P-PU Arduino

I have been trying to bootload a fresh ATmel328P-PU micro-controller with Arduino but it keeps on failing, giving this error: avrdude: Device signature = 0xff00ff avrdude: Expected signature for ...
0
votes
1answer
219 views

Running Atmega1284P at 3.3 and 8Mhz

can i run Atmega1284P at 3.3V and 8Mhz speed.? can i burn Nick Gammon Arduino bootloaders into the chip.? Thank You
0
votes
1answer
363 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
176 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
327 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
48 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
551 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
121 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
719 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
2k 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
201 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
515 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
346 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
44 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
921 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
313 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
293 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
587 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
112 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
916 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
527 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. ...
1
vote
1answer
3k 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
78 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
117 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
282 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
3k 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
3k 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
47 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
231 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
117 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 ...
2
votes
1answer
433 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
807 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
739 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
946 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
83 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
192 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
4answers
4k 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
210 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 ...