How erase Atmega8 microcontroller

Thread Starter

Zoubir Kahil

Joined Jul 19, 2017
5
Hello
I write only the fuse to my Atmega8 as shown the attached picture. now I can not writing the hex file. and I get message unknown device. I try to erase the device but I can not.
is there a way to erase it.

thanks
 

Attachments

DickCappels

Joined Aug 21, 2008
10,661
You should be able to read the signature regardless of whether the chip is locked or not.

I assume that you are attempting in-system programming (ISP)

Did you ever use this setup before?

Some things you can try:

• Recheck your connections including power supply

• Connect a crystal to XTAL1 and XTAL2 with appropriate load capacitors

• Try high voltage programming
 

Thread Starter

Zoubir Kahil

Joined Jul 19, 2017
5
You should be able to read the signature regardless of whether the chip is locked or not.

I assume that you are attempting in-system programming (ISP)

Did you ever use this setup before?

Some things you can try:

• Recheck your connections including power supply

• Connect a crystal to XTAL1 and XTAL2 with appropriate load capacitors

• Try high voltage programming
I programed Atmega8 using the --eXtreme Burner - AVR -- software.
but I write all fuse and flash at the same time.
But when I write firstly the fuse, I get this problem -unknown device-
So, I need repaire 4 microcontrller Atmega8 have the same problem.
please, show me the diagram of connecting a crystal to XTAL1 and XTAL2 with appropriate load capacitors .
 

tracecom

Joined Apr 16, 2010
3,944
I believe that the settings you show for CKSEL3-0 have selected the internal 8 MHz clock; if that is true, adding an external crystal will not help.
 
Top