Go Down

Topic: Can I reset the fuse of the ATtiny 2313 from the arduino? (Read 931 times) previous topic - next topic

mistergreen

I keep getting 'Yikes!  Invalid device signature.' when I'm doing the Arduino ISP upload. All the connections looks fine and the device does read 0x000000.

I read on the board that reseting the fuses might work.

thanks.

Coding Badly

Quote
Can I reset the fuse of the ATtiny 2313 from the arduino?


Yes.

Quote
Yikes!  Invalid device signature ... read 0x000000.


Wiring or clocking.

mistergreen

#2
Feb 25, 2013, 07:16 am Last Edit: Feb 25, 2013, 07:54 am by mistergreen Reason: 1

Quote
Can I reset the fuse of the ATtiny 2313 from the arduino?


Yes.


How do I do this? I've looked everywhere?

I turned on the verbose upload output and saw that I got the device signature as 0x000000.
I checked the wiring.

By the way, this is the ATtiny2313 20mhz. I've tried uploading as 1 & 8 MHz.

fungus


I turned on the verbose upload output and saw that I got the device signature as 0x000000.
I checked the wiring.


If it's not the wiring it must be the clocking. If an AVR chip has been to use an external clock/crystal then you need to supply an external clock while you set the fuses.

Once the fuses are set for internal clock then you don't need it any more.
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

mistergreen

#4
Feb 25, 2013, 04:02 pm Last Edit: Feb 25, 2013, 04:30 pm by mistergreen Reason: 1
oops, I rechecked the connection and needed to push the 2313 harder into the breadboard. It seems the upload was successful but the sample blink sketch isn't blinking the LED. I'll have to see what's up with that.
*** I set the upload to 2313 1mhz to make it work. The 1MHz is the default for the chip. If you want to use 8MHz, you have to the Burn Bootloader to set the fuses to another clock speed.
I guess that's how you set the fuses with the Arduino :)


Go Up