Burn A New Bootloader Arduino Pro Mini
Burn A New Bootloader Arduino Pro Mini
Burn A New Bootloader Arduino Pro Mini
Table of Contents
Step 1: Stuff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 3: Fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 4: Wrap up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
http://www.instructables.com/id/Burn-a-New-Bootloader-Arduino-Pro-Mini/
Intro: Burn a new bootloader - Arduino Pro Mini
I wanted to re-purpose an Arduino Pro Mini that I hadn't used for a while, so - as I do with all the Arduinos I re-use - I tried to upload the Blink sketch to return it to a sort
of 'default' state and to prove to myself that it is still working.. This failed miserably, and led to a fair bit of wasted time checking connections, the voltage of the Pro Mini
and using a couple of different programmers, and so on.
So I thought it may be useful to someone if I briefly explained what I did to fix the issue I had, and return the Pro Mini to a working state. It may also be of use if your Pro
Mini has arrived without a bootloader.
Step 1: Stuff
Obviously, an Arduino Pro Mini that you can't upload sketches to
Solderless breadboard
FTDI programmer and cable (to check the fix has worked)
Arduino IDE
This time, however, when I tried to upload the Blink sketch, the Arduino IDE started bleating on about the "programmer not responding" and giving an avrdude error:-
I also noticed that the LEDs on the FTDI programmer only flickered a couple of times, when they normally go berserk during a successful upload.
So, I
Aha. Must be the Pro Mini. I tried to think back to the last time I used this one but it was more than a day ago, so I had little chance. I was about to resort to the Internet
when I did remember (it works sometimes) that I had an ESP8266 arrive with a corrupted bootloader and had similar issues. The more I though about it, the more it made
sense and tied in with what i was seeing.
http://www.instructables.com/id/Burn-a-New-Bootloader-Arduino-Pro-Mini/
Step 3: Fix
There are a number of ways to burn a bootloader to an Arduino device, but the one I used (for convenience and speed) was to use an Arduino Uno as an ISP (In-System
Programmer). This is well documented and I've used it a few times for different things.
UnoPro Mini
5V (vcc) ------------------- VCC
GND ------------------------GND
Pin 10 ---------------------- RST
Pin 11 ---------------------- Pin 11
Pin12 ---------------------- Pin 12
Pin 13 ------------------- -- Pin 13
The connections are straightforward and, as can be seen in the photograph, I used a breadboard. I was going to include a Fritzing diagram, but it was more confusing.
The LEDs on the two Arduinos should now perform a synchronised dance while the bootloader is written - only takes a few seconds, and then the IDE shows a completed
message.
Fourth step, if you want, is to perform a test upload using your FTDI programmer. If the new bootloader is working, you should see the LEDs on the FTDI programmer
and the Pro Mini showing activity.
http://www.instructables.com/id/Burn-a-New-Bootloader-Arduino-Pro-Mini/
Step 4: Wrap up
I hope I've made it easy to see that, if you come across an Arduino or similar device whose bootloader is messed up, it isn't too arduous a task to burn a new one. As
long as you have access to a Uno or similar, the IDE and some cables, you can be on the way to uploading the sketch for your next Evil Genius weapon or World
Domination IoT thing in next to no time.
This is my first Instructable. I've enjoyed putting it together, and I'd be happy to receive any constructive comments or criticism.
Related Instructables
Turn Your
Burn Arduino How to upload Overview the Save 81 Breadboard Arduino Into an
Bootloader to sketches to Pro Arduino sketch Seconds: Fast Arduino 3.3v by ISP by mr_mac3
ATMEGA328P- Micro/Leonardo uploading Arduino Selexan
PU using via serial process and ISP Bootload/Program
Arduino Pro bluetooth by by dmjlambert for Production
Mini by chrisrust dmjlambert by macetech
http://www.instructables.com/id/Burn-a-New-Bootloader-Arduino-Pro-Mini/
Advertisements
Comments
1 comments Add Comment
DIY Hacks and How Tos says: Sep 25, 2016. 9:13 PM REPLY
Cool Arduino project.
http://www.instructables.com/id/Burn-a-New-Bootloader-Arduino-Pro-Mini/