i don't know where i've touch ... avrdude error

Hi, i'm using an arduino uno to program an attiny85. Yesterday all where ok, i'm trying a simple led blinking and works. Today i dont know where i have touch :frowning: the code:

int led = 1;

void setup() {
pinMode(led, OUTPUT);
}

void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

verified - no errors
upload:
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

maybe ... it's possible ... i've touch the menu - boot - burn bootloader ... i really don't know, How i can fix all?

You have a wire connecting B1 (digital pin 1) on the ATtiny85 (aka t85) to digital pin 12 on your Uno. Put a resistor in middle. Anything between 220 ohms and 1K ohms will work well. The purpose of the resistor is to protect your Uno (and the t85) until you resolve the problem.

Including series resistors on the other two programming lines (digital pin 11 and digital pin 13 on your Uno) is also a good idea.

How did you disable auto-reset on your Uno?

disable? :relaxed: i've a capacitator between reset and ground in Arduino Uno.

i'll try, but ... why i don't need it yesterday?

i've try with 4 diferent resistors and nothing, the same result.

I've put other attiny85 and works fine, i think i've change the bootloader of the attiny85, how i can restore it?

juanmol:
i've a capacitator between reset and ground in Arduino Uno.

The purpose of the capacitor is to disable auto-reset.

juanmol:
i'll try, but ... why i don't need it yesterday?

You did not need it yesterday because programming was working.

You have the t85 programmed to output on one of the programming pins. If the programmer (your Uno) is not asserting RESET on the target, the target will continue outputting while the programmer tries to program. This can result in a short-circuit between the the processors and may damage either or both processors.

I suspect from your posts that you did not read (or did not understand) Reply #1 so I will restate the most important part...

The purpose of the resistor is to protect your Uno (and the t85) until you resolve the problem.

The resistor(s) serve no other purpose. They will not help you resolve the problem.

juanmol:
i've try with 4 diferent resistors and nothing, the same result.

See Reply #7

I've put other attiny85 and works fine...

That is a strong indication that the original non-working t85 has been damaged.

...i think i've change the bootloader of the attiny85, how i can restore it?

There is no bootloader. There is nothing to restore. Executing Burn Bootloader changes the fuses (changes the clock speed) but does nothing else.

Did you include a current-limiting resistor with the LED?

... i don't :blush:
Can I do anything to restore the attiny85?