Skip to content

Simple HVP FUSE reset for ATTiny with Pro Micro

Notifications You must be signed in to change notification settings

NiKiZe/AtTiny85HVP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AVR high-voltage serial programming for ATtiny

After possibly bricking your AtTiny, what do you do?

There is some different places on the web with information about what can be done and so on, such as this

But most of them use a bit complex schematics ... You might be like me that you are lazy, don't have to much to work with and already have ISP header that you want to use. So what is the easiest way to do this without to many connections and I found that I had some sparkfun level shifters laying around which could be used to get the 12V supply to reset.

So from that We can build our FUSE fixer without having to build a full circuit, this is what I ended up with: Just a bunch of cables and some boards I was already using the ISP header, so soldering on a extra wire to the ATTiny85, and conect it all togheter with jumper wires and it was done.

Schematic

Basic schema for using a Pro Micro (Sparkfun or similar clone) and external 12v with level shifter

schema

Note that level shifter connections are used differently

Shifter Pin usage
Low side TX input to Ground
Low side Power in (LV) used as input and connected to pro micro signal pin
High side Power in (HV) to 12V source
GND not connected

This creates an inverter with high voltage output (but with a low 10K pull-up) pull-up might be to low, but worked for me

Code for Pro Micro with above Schematics

See ATTinyFuseReset.ino for actual code, run it and connect serial monitor and send anything to start FUSE reset

Datasheet

Atmel ATtiny datasheet chapter "High-voltage Serial Programming" is the method that is used here.

Normal serial programming method can be used again after running FUSE reset.

Releases

No releases published

Packages

 
 
 

Languages

  • Other 100.0%