Pages: [1]   Go Down
Author Topic: Can I reset the fuse of the ATtiny 2313 from the arduino?  (Read 870 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 8
Posts: 291
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13018
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Yes.

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

Wiring or clocking.
Logged

0
Offline Offline
Sr. Member
****
Karma: 8
Posts: 291
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: February 25, 2013, 01:54:30 am by mistergreen » Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 150
Posts: 5635
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

0
Offline Offline
Sr. Member
****
Karma: 8
Posts: 291
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

« Last Edit: February 25, 2013, 10:30:07 am by mistergreen » Logged

Pages: [1]   Go Up
Jump to: