Avr attiny26 fuse bits messed up

Status
Not open for further replies.

bmandl

Full Member level 4
Joined
Feb 26, 2010
Messages
207
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Slovenia
Activity points
2,965
Hello!
I was programming my attiny26 device with usbtiny programmer and I obviously accidently messed up clock fuse bits, because I have no experience with avr's yet. I used this site to calculate my fuse bits two bytes. It was as following:
-U lfuse:w:0x83:m -U hfuse:w:0xf7:m
When I enter terminal mode in avrdude and send "part" command, I get this info:

I hope, this info is usefull. I tryed to generate some square wave signal from other microcontroller (PIC and AVR) of about 1Mhz frequency, but I can't get it to be recognized by usbtiny programmer. Is there any other idea, how to reset fuse bits?
Thank you for all your answers.
 

I don't see anything wrong with your fuse settings, they are set to internal RC 4MHz.

Try to use http://avr8-burn-o-mat.aaabbb.de/avr8_burn_o_mat_avrdude_gui_en.html which is a front end for avrdude.
Use the settings to set the programmer to usbtiny and try to read the fuse to see if you have connection.
If you can connect program the chip with your hex file.
 

I can't connect to avr device, because it's recognisable. It recognized atmega8, witch is only one I have besides this one (tiny26). What else can I do?

- - - Updated - - -

What about this bit: PLLCK. I disabled it, when writing fuses. Is maybe this a cause, that usbtiny doesn't recognize it?
 

If the fuses are the ones you have provided then there is no problem with them.

What do you get when you write

Code:
avrdude -c usbtiny -p t26

- - - Updated - - -

also double check the power supply and pin connections
 

I get "Initialization failed, rc=-1" and "check connections" message. All connections are OK, as I was saying it can recognize my atmega8 avr device, so connections are OK, I tipple checked them.
 

Are you sure that you were originally able to connect and program the tiny26 with the fuses?
I mean you were able to connect normally and this stopped as soon as you changes the fuses?
 

Assuming that the problem is with the fuses we can't know what you have written , it isn't what you said because then it would work fine.

Possible problems may be

reset disabled
ISP disabled
clock set to external clock or crystal or low freq crystal (32768)

For the first two you'll need a parallel programmer to restore it or a fusebit doctor (**broken link removed**), for the clocks you just need to use the appropriate clock.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…