user10743: I'm trying to upload a hex file to an ATtiny45 with an Arduino. I uploaded the Arduino ISP sketch to my board. I connected the ATtiny as shown below:

Then I go to CMD and type:
avrdude -c avrisp -p t45 -b 19200 -P COM6 -U flash:w:main.hex:i

And it gives me this error:
Please define PAGEL and BS2 signals for ATtiny45!

I double checked the connections and i tried to uplad a bootloader with Arduino IDE as written in this article: Programming Hex-code on an Attiny85 with the Arduino. I can uplad sketches with ArduinoIDE with no error.

user10742: Googling the error gives this tutorial. Towards the bottom of the page they say 

You’ll probably get the following message, but don’t worry, the upload should have worked anyway:
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85

So it seems this can be ignored and the part has been programmed!

10743: <p>I'm trying to upload a hex file to an ATtiny45 with an Arduino. I uploaded the Arduino ISP sketch to my board. I connected the ATtiny as shown below:</p>

<p><img src="https://i.stack.imgur.com/25qaC.png" alt="Wiring diagram"></p>

<p>Then I go to CMD and type:</p>

<pre><code>avrdude -c avrisp -p t45 -b 19200 -P COM6 -U flash:w:main.hex:i
</code></pre>

<p>And it gives me this error:</p>

<pre><code>Please define PAGEL and BS2 signals for ATtiny45!
</code></pre>

<p>I double checked the connections and i tried to uplad a bootloader with Arduino IDE as written in this article: <a href="https://arduinodiy.wordpress.com/2012/09/11/programming-hex-code-on-an-attiny85-with-the-arduino" rel="nofollow noreferrer">Programming Hex-code on an Attiny85 with the Arduino</a>. I can uplad sketches with ArduinoIDE with no error.</p>
 10742: <p>Googling the error <a href="http://highlowtech.org/?p=1229" rel="nofollow">gives this tutorial</a>. Towards the bottom of the page they say </p>

<blockquote>
  <p>You’ll probably get the following message, but don’t worry, the upload should have worked anyway:</p>
  
  <p><em>avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85</em></p>
</blockquote>

<p>So it seems this can be ignored and the part has been programmed!</p>
