Fixing Wrong Fuse ATmega8

October 3, 2009 at 2:29 pm 9 comments

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


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 :

fuse 16 MHz

fuse 16 MHz

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

Anyone need CNC part and networking  you can see:
I’m waiting your review, it is a glorious gift..thanks

Bagi yang memerlukan part CNC dan jaringan silahkan lihat-lihat ke:

saya tunggu reviewnya ya gan…thanks


Entry filed under: AVR Freaks. Tags: , .

ftp server dengan pure-ftpd CNC 3 Axis

9 Comments Add your own

  • 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

  • 3. Herlambang  |  March 31, 2010 at 2:29 am

    itu kan kalo buat seting fuse untuk kesalahan clock.. tinggal kasih clock external atow xtall..

    tapi yang jadi masalah disini kalo yang salah itu fuse SPIEN….. Harus pake HVPROG (STK500). ato yang kompatibel.

    • 4. nastelroy  |  March 31, 2010 at 2:46 am

      Nice information…
      Untung saya belum pernah kejadian seperti itu Mas….gak punya STK500 soalnya

  • 5. Ilham  |  April 28, 2010 at 2:16 pm

    duh, udah kejadian nih ke lock gara2 salah ngeset fuse bit. boleh tahu signal generator yang dipake apa? harganya berapa? noobie soalnya

    • 6. nastelroy  |  April 28, 2010 at 5:06 pm

      wah kalo merknya saya juga nggak tau mas….mending mas e buat signal generator sendiri dari mikrokontroller…dengan cara PWM..saya rasa 1MHZ PWm juga oke

  • 7. Zap  |  October 20, 2011 at 5:46 am

    Kalo atmega tetep bisa running programnya, tetapi pas diconnect ke programmer, atmega gag kedetect. Cara mbenerinnya gimana ya?

  • 8. eVo  |  June 22, 2012 at 6:48 am

    Thanks for the signal generator Idea Bro,.. Work Nicely,.. 😀
    Instead I’m using +/-1.5MHz.

    • 9. nastelroy  |  November 29, 2012 at 4:06 am

      You’re welcome bro. Have a nice day


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

VIEWED - Dilihat

  • 93,529 times - kali

CALENDAR – Kalender

October 2009
« Sep   Jun »



(adsbygoogle = window.adsbygoogle || []).push({});

%d bloggers like this: