Did i break my new Attiny13?

Hey there, I just got my attiny13 today, with Olimex’s AVR-P8-10MHz. It was already all soldered together and I wanted to get the external clock going so I set the fuse for it. Now I am unable to do anything with it using avrdude. Help!

(This repeats several times)
bitbang_cmd(): [ AC 53 00 00 ] [ FF FF FF FF ]
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATtiny13 is 1E 90 07

avrdude done.  Thank you.

You might have messed up the fuse settings. If that is the problem you can inject a clock signal into the clock input pin, and recover it. See the AVR Freaks forum for details.

Leon

Do you have a link to this?

Try searching the AVR Freaks forum, it’s a common problem.

Leon

commonly, the fuse settings (configuration choices) gets changed from internal to external oscillator, for a chip that has no external crystal or resonator. The cure is to provide a clock temporarily, to reprogram the fuses.

see avrfreaks.net.

But what if I have a 10MHz crystal hooked up to pins 2 and 3. I bridged the gap separating them from the board.

The crystal won’t interfere with a relatively slow clock input. 500 kHz or so is adequate, IIRC. If you have an STK500 you could unplug the chip and plug it into that, otherwise you will have to build up a little oscillator board.

Leon

I tried making an oscillator using a little 555 and stuff but it doesn’t seem to work. I’ll just work on other projects while I wait for some attiny85s to get here :stuck_out_tongue: