/ATtiny-HighVoltageProgrammer_FuseEraser

Using an Arduino and 12 Volt to erase wrong ATtiny fuse settings by High-voltage Serial Programming

Primary LanguageC++

Arduino High Voltage Programmer / Eraser for ATtiny

License: GPL v3

Based on Recover Bricked ATtiny Using Arduino as high voltage programmer This program restores the default fuse settings of the ATtiny. The fuses can then easily be changed with the programmer you use for uploading your program.

Modified for easy use with Nano board on a breadboard

  • Added option to press button instead of sending character to start programming
  • Improved serial output information
  • After programming the internal LED blinks
  • Added timeout for reading data

Installation

Just copy the content of the HVProgrammer.cpp file into a new Arduino sketch and run it.

In the Arduino serial monitor with baudrate 115200 you will see something like:

START C:\...\ArduinoSketches\sketch_feb09a\sketch_feb09a.ino
Version 2.2 from Feb  9 2019
Press button at pin 6 to start process or enter any character to start process...

and after button press or sending a character you see

Reading signature from connected ATtiny...
Reading complete..
Signature is: 6C6C
Reading fuse settings from ATtiny...
LFuse: 6C, HFuse: 7E, EFuse: 7F
Reading complete.
No valid ATtiny signature detected! Try again.

if no ATtiny is attached.

Breadboard

This circuit uses an Arduino nano and an ebay DC-DC Step-Up Modul

Breadboard top view Breadboard_Top Breadboard back view Breadboard_Back