However, I cannot upload the Blink example after that. I have first upload again the ArduinoISP sketch...
error=
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
If I am quick enough for setting 8Mhz... it is very strange it does not work for the Blink example...
What I found to work, 10k resistor between attiny RST and +v AND 22nF cap between attiny RST and Arduino reset pin. No modification/parts added to arduino. Don't remember where I found these instructions. Let us know.
I think that with the resistor I have disconnected the auto reset. Led associated to pin 13 does not blink during upload, and now the error is different:
Binary sketch size: 768 bytes (of a 8192 byte maximum)
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
ProfePaco:
I think that with the resistor I have disconnected the auto reset. Led associated to pin 13 does not blink during upload, and now the error is different:
Or, the Arudino ISP sketch has been erased.
Connect an LED to pin 9. When the ArduinoISP sketch is idle, does the LED on pin 9 slowly get brighter then dimmer?
When you try to upload to the ATtiny, does the LED on pin 9 blink?
When ArduinoISP is idles, yes, LED on pin 9 slowly gets brighter then dimmer.
If I upload again ArduinoISP skecth I can see the led blinking. That's good.
However, when I try to upload the Blink example, Led does not blink, stays on. Then an error is written, and the led gets brighter and dimmer again, so the ArduinoISP sketch is not erased, but the Blink example is not uploaded.
So I think that the situation now is: I have stopped the auto reset, but I cannot upload the blink example to the ATtiny85.
I have used another Attin85, with the same result. Yesterday i tried arduino nano with no success. At this pointy I think I will never do it....
I was getting the same error as you for at least a week. You might need to erase your Uno, disassemble your setup, and try out some other projects for a few days. Come back to it fresh. I dunno why, but that always helps me.
I also got to the point where I completely deleted the IDE, reinstalled, added back the tiny cores (the new 1.0 cores of course) and gave it another go. I'd done an inordinate amount of fiddlin' with my boards.txt and the avrdude.conf files, so ymmv.
First the good news. I've reproduced the problem and I know what is wrong.
Now for the annoying news. Arduino 1.0 and the ArduinoISP sketch are not compatible. There are some problems with the ArduinoISP sketch and Arduino 1.0 surfaces at least one of those problems.
And, finally, the good news. I have an update for the ArduinoISP sketch that works correctly with Arduino 1.0. If you'd like a copy, send me a Personal Message with your email address.