1
1
1bd_1l_Bari2017-10-15 16:49:39
Electronics
1bd_1l_Bari, 2017-10-15 16:49:39

I made a mistake when setting up fuses on Atmega8. What to do?

Good afternoon.
Wrote a program to blink an LED. Today I thought my study of microcontrollers would begin. Through USB ISP, the programmer sewed up the prog for mega, but the LED did not blink, it just burned and that's it. I read the forums, watched the video and changed the frequency. Did not help. I decided that maybe the fuses were not configured correctly. I found a picture of the fuse settings for atmega8. I did it as there (by the way, everything was done in the Khazama program). As a result, now even when trying to read the chip signature, Kazama swears.
Khazama AVR Programmer
Error while operating...
: error: programm enable: target doesn't answer. 1
: initialization failed, rc=-1
: AVR device initialized and ready to accept instructions
: Device signature = 0x000000
: Yikes! Invalid device signature.
: Expected signature for ATMEGA2560 is 1E 98 01
done.
thank you.
Is there any way to get everything back the way it was? Or did I break the mikrulu?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
n12eq3, 2017-10-15
@1bd_1l_Bari

1 in the atmega8 question, atmega2560 is selected in the programmer
2 atmel has a curved approach to fuses in terms of clocking, you never need to manually tick the boxes. it's better to stupidly google the full value of byte fuses for your settings. in the case of khazarma, you need to use dropdowns instead of clicking on the checkboxes.
3 if after installing the correct controller in the settings it still does not start, you can try 3 things:
- if there is a quartz, then set the maximum available, it's better to 16
- try the rc-circuit for the generator. the circuit and ratings are in the datasheet, section system clock --> external RC
- try an external generator, scheme in the system clock --> external RC section. there are small smd / dip generators on sale, suitable for the same 16 MHz. It may cost a lot of money, but in any case, a useful thing will not hurt.

A
Alex Other planet, 2018-10-12
@BadElectrician

Well, the reason may be not only fuses. At what frequency was it supposed to work? Did you use an external resonator? And how much better for me to use eXtreme Burner -AVR. By default, the MK is set to a frequency of 1 MHz for your purposes is enough. Well, your MK can be run on a parallel high-voltage programmer, but it’s expensive and it’s not easy
to assemble it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question