Atmega168 fuse bits

Hi,

I’ve been programming the atmega8 for a while now and quite comfortable with it. I just tried out the new atmega168 and I"m stuck at the fuse bits. I want to use it with a 8mhz crystal. I’ve tried a couple of difference fuse settings but can’t get it to work.

First I tried lfuse = 6f but it doesn’t take the crystal.

Then I triend lfuse = ef but i can’t program with it. It gives me the error:

avrdude: safemode: lfuse changed! Was ef, and is now 0

Would you like this fuse to be changed back? [y/n] n

Then I tried lfuse = ff and that was even worse cuz it won’t even let me put it at that fuse bit.

Anyone have any insight on this please let me know. Thanks.

i think you had to connect 8 Mhz crystal and try.

See proper capacitance values from the datasheet and try to program. Which programmer are you using. I used BSD AVRDUDE programmer for atmeg32. I had taken some screen shots of fuse bit programming. See it and try to solve your.

http://avrmicrocontroller.googlepages.c … rials.html

Bibin John

www.bibinjohn.tk