SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By mgv_backinblack
#117681
Hello friends,

After almost a year of playing with arduino, i decided to get started with clean avr-s, so i got myself an attiny 13. I do not have a programmer, so I tried to program it using arduino as isp. I installed AVRStudio4, WinAvr, and uploaded the isp sketch to arduino. I wrote the program in AVRStudio, compiled it and got the hex file (i am a beginner in avr, so blinking a led is my first program), wired it as indicated and fired up avrdude.
First error:
Code: Select all
C:\Users\MGV>avrdude -P com3 -c arduino -p t13
avrdude: stk500_getsync(): not in sync: resp=0x00
Solved by bypassing the baud rate: add -b 57600. So now i know the computer communicates with the programmer. Next one:
Code: Select all
C:\Users\MGV>avrdude -P com3 -c arduino -p t13 -b 56700

avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny13
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATtiny13 is 1E 90 07
         Double check chip, or use -F to override this check.
If I override this check, I obviously get errors (first mismatch at byte 0x0000). Google didn't gave me any solutions.
Please advise: did I managed to destroy it ? Are the fuse bits badly set ? If so, how can this be fixed ?

Thank you.