control7 blog

~Electronics & Programming~

Skip to: Content | Sidebar | Footer

Pages

AVR fuse reset (tested)

15 January, 2011 (19:16) | AVR Microcontroller, Electronics | By: xenon ark

When I started to learn microcontroller, i have locked few AVR chips. These chips are very expensive here and hard to found. So I started researching why it occurred. I have found two main reasons why microcontrollers are not responding:

1. wrong  clock speed selected

2. Lock bit burned (SPIEN)

I have found a solution to reset fuse bits. here is the schematic.

You can reset Atmega8, Atmega48, Atmega88, Atmega128 by it.

Download the hex and burn it to a Atmega8.

IC1 (ATmega8) IC2 (ATmega8/ATmega48/ATmega88/ATmega168)
PD0 PB0
PD1 PB1
PD2 PB2
PD3 PB3
PD4 PB4
PD5 PB5
PD6 PC0
PD7 PC1
PB1 PD4
PB2 PD3
PB3 PD2
PB4 PD1
PB5 PD5
PC2 PC2
PC3 PB6 (XTAL1)
PC4 PD6
PC5 PD7
PB0 Vcc, AVcc

No external xtal required. In the schematic the two AVRs are connected directly. You can add 1Kohm resistor to every line to provide some protection for the ATmega8 against inserting the target AVR incorrectly.

Download source and hex from here

Comments

Comment from carlson fish oil
Time August 10, 2011 at 2:46 pm

Hello are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and create my own. Do you need any coding knowledge to make your own blog? Any help would be greatly appreciated!

Comment from xenon ark
Time August 11, 2011 at 7:43 am

Yes, I am using wordpress. You will be needed a little coding knowledge to use it.

thanks

Comment from Zackary Parda
Time October 19, 2011 at 1:50 pm

Im impressed, I need to say. Quite hardly ever do I come across a weblog thats both informative and entertaining, and let me tell you, youve hit the nail on the head. Your weblog is crucial; the issue is something that not sufficient people today are talking intelligently about. Im genuinely happy that I stumbled across this in my search for some thing relating to this problem.

Comment from Tony Eka
Time August 12, 2012 at 11:56 am

Wow it actually works!!! i accidentally corrupted it, when I burn the fuse, something happen and my mcu corrupted.. Now it become normal again..
Thanks a lot.. You’re my savior..

sorry for my bad English,

Comment from alphancrew
Time September 14, 2012 at 12:09 am

i can’t understand, can you tell me more? maybe step by step. i was lost 4 atmega8 for setting this fusebits.

Comment from xenon ark
Time September 27, 2012 at 10:31 pm

first burn an Atmega8 with the provided hex file
connect the new (died atmega) avr as per as the schema above and finally after power on, push the push button.

Comment from m keen
Time November 21, 2012 at 2:16 am

is it possible to write the hex to a atmega16 instead of the atmega8
or will i have to chane the code?

Comment from xenon ark
Time November 24, 2012 at 4:05 pm

this hex is compiled for Atmega8. You should recompile if you want to use Atmega16 (as IC1)

Comment from manish
Time December 7, 2012 at 5:12 pm

could i replace 2n3904 from bc547, or bc548
andd 12v supply to 5v..????????????

Comment from xenon ark
Time December 8, 2012 at 11:00 am

i believe if you replace 2n3904 with bc547, it will work. please try yourself and let us know. but 12v power is necessary for resetting the chip.

Comment from avrfreaky
Time January 6, 2013 at 10:36 am

can i use this for resetting atmega128…??

Comment from xenon ark
Time January 7, 2013 at 1:18 am

yes, you can

Comment from ian
Time April 20, 2013 at 2:59 pm

Hey this is a nice simple fuse resetter. I am very new to making pcb’s and from the picture I dont know how to do the layout in eaglecad. would you be so nice and upload an eagle board schematic or layout ??? Can’t open .aps or .aws

Thanks !!

Comment from Kochchy
Time May 5, 2013 at 3:11 pm

Thank u !!! realy works !!!

Write a comment





*
= 4 + 6