Fixing Wrong Fuse ATmega8
October 3, 2009
ATmega is one of most popular microcontroller of the world, this is the reason why I use it. For your Information I use :
Operating System : Ubuntu Hardy
software programmer : avrdude
hardware programmer : usbasp
microcontroller : AVR-ATmega8L-8PU, ATmega8-16PU
fuse programmer : avrfuse 1.0.1
Fusing
For some reason, such as to booster its performance, we change the fuse setting.
Becarefull!!! ……Jancok I’m not kidding you!! You maybe make your ATmega8 useless if you set with wrong fuse.
For information, there is the default fuse setting for a brand new ATmega8-16PU
I often use 16 MHz external Crystal Oscilator for my Atmega, so I set it to :
Wrong Fusing
If you make a wrong fuse setting, your ATmega will not responding.
This is error log after I set a wrong fuse, I can’t flash or my ATmega not respond anymore :
Calm Down!!!
Don’t throw your ATmega to the trash!!, your ATmega8 is still Ok. There is some explanation about this problem :
- ATmega or mikrocontroler must has clock/pulse/signal to working. I guess it lost its clocks after you setting a wrong fuse.
- You Must give Him external clock (not from crystal that usually connected to XTAL1 and XTAL2)
You should do
I have some experience to make ATmega come live again, there is a lot of way to make ATmega come alive again :
1. With STK 500, I will it post later
2. With R – C combination, I usually fail with this method, I don’t know why, but I will post it.
3. With Signal / Pulse Generator, I never fail with this method. There is the step :
- Pray
- Connect port XTAL1 (pin9) and GND (pin8) to SIgnal generator set to about 1 MHz.
- Bingo!! Jancok!! Hore !! He still alive (but don’t remove the signal from signal generator)
- Set the fuse setting to default. I use avrfuse 1.0.1
- disconnect the signal generator
- try with none signal from signal generator……Case closed
- Alhamdulillah…Thanks God
Entry Filed under: AVR Freaks. .
2 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed



1.
sandeep | October 25, 2009 at 4:55 am
I have at mega8L devices can this device be flashed with ponyprog .If not waht is the solution.And what r fuse setting to implement 8Mhz crystal to it ?
2.
nastelroy | October 25, 2009 at 10:49 am
I’m so sorry..I never use ponyprog programmer, but I think you can use with ponyprog (i guess). if you failed you can try with avrfuse