Alright. Here's "my story". Two days ago I've flashed my ATMega8 for the first time using "Spark Fun" tutorial as a reference. When I got to oscilators ( see http://www.sparkfun.com/commerce... ) I wanted my atmega to run at 16Mhz too. So I decided to flash mine like they did.
I ran avrdude -c usbasp -p atmega8 -U lfuse:w:0xE6:m and the atmega got flashed. I connect my 16Mhz Crystal Oscilator, 2 x 22 pF and it is still not working. I tried to consult the datasheet to see what i've set... but I don't kinda understand what's going on there :(. But there is something interesting: if I make a connection(even by touching with my finger) between the case of the crystal and one pin of it(I guess it is XTAL1) the led I've connected to the atmega lights up (as supposed to).
so .. I'm here asking for someone's help to tell me what i've actually done with it, and if there is some way to recover it, because I've tried to remake the connections like 5 times and still doesn't work, only the interesting thing I've said before happens.
Best regards,
Nicu.
(I'll add some photos of my circuit on breadboard later when I get home)