Help programming attiny85v with arduino mega 2650

Hey everyone, I bought 5 attiny85v's for use in projects since they are cheaper than arduinos, and I have an arduino mega 2650, however I can't get it to program the attiny.

I've been using this tutorialhttp://hlt.media.mit.edu/?p=1695 to do it.

I've followed the instructions to the letter, however I get error codes when trying to program the attiny.

If I try to put the blink example with the board chosen as attiny85 8mhz internal clock or wit 1mhz internal clock this is the result I get:

avrdude: stk500_getsync(): not in sync: resp=0x00

I also get the above error when trying to burn the bootloader with and withoutthe capacitor in place

If I take out the capacitor to disable reset, I get this:

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I see that it says to define PAGEL and BS@ in the configuration file, but I can see no such file, and why do I get a different error with the capacitor in place?

So, ever wise forum members, please assist me before I go (more) insane.

Oh yeah, even if I the programmer to arduino as ISP I can program the arduino normally if I select the mega as the board, not sure if that is normal or points to anything, just thought I'd include it.

First, the Mega 2560 has different pinouts for the ISP signals than the Uno. If you open up the ArduinoISP sketch, look at the comments at the very top. It will tell you the pinouts to use for a Mega2560.

Did you follow this?

// This sketch turns the Arduino into a AVRISP
// using the following arduino pins:
//
// pin name:    not-mega:         mega(1280 and 2560)
// slave reset: 10:               53 
// MOSI:        11:               51 
// MISO:        12:               50 
// SCK:         13:               52

hiduino:
First, the Mega 2560 has different pinouts for the ISP signals than the Uno. If you open up the ArduinoISP sketch, look at the comments at the very top. It will tell you the pinouts to use for a Mega2560.

Did you follow this?

// This sketch turns the Arduino into a AVRISP

// using the following arduino pins:
//
// pin name:    not-mega:         mega(1280 and 2560)
// slave reset: 10:               53
// MOSI:        11:               51
// MISO:        12:               50
// SCK:         13:               52

Oh wow, I can't believe I missed that, I guess I was in a rush. I'll give it a try right away.

she works! Thank you so much!

I still can't believe I didn't see that though :~

Now it's time for me to start learning more arduino code, and getting capsense on these buggers aside from some other things.