avrdude.exe: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
Yikes! Invalid device signature
avrdude: Device signature = 0xffffffavrdude: Yikes! Invalid device signature.
Quote from: L. DaVinci on Oct 05, 2013, 10:16 pmavrdude: Device signature = 0xffffffavrdude: Yikes! Invalid device signature.0xffffff means bad wiring - it hasn't managed to get a real device signature off the chip.
pinMode(3,OUTPUT); TCCR2A = _BV(COM2B0) | _BV(WGM21); TCNT2 = 0; OCR2A = 0; TIMSK2 = 0; TCCR2B = _BV(CS20);
It could mean that you have incorrectly programmed the fuses so that it requires an external oscillator. If you are using ArduinoISP, you can modify the sketch to output an 8MHz square wave from one of the PWM pins which you can then feed in to the XTAL1 pin of the attiny.Add these lines to the setup() of ArduinoISP:Code: [Select] pinMode(3,OUTPUT); TCCR2A = _BV(COM2B0) | _BV(WGM21); TCNT2 = 0; OCR2A = 0; TIMSK2 = 0; TCCR2B = _BV(CS20);Then connect Digital Pin 3 of the Arduino to Pin2 of the Attiny85.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16