problem programming attiny45

hello,

I trying to use my arduino duemilanove as an ISP programmer for an attiny45, but when I try to upload the blink sketch to the attiny I get the following error:

avrdude: stk500_getsyncs(): not in sync: resp=0x15

what does this mean? I first uploaded the arduinoISP sketch and then selected the attiny45 w arduino at the board selection.

I hope someone knows what is going wrong here...

Jb

After loading the ArduinoISP sketch are you defeating the board's autoreset feature by using a cap from reset to ground?

Lefty

No I'm not, I guess I should do that right? what size cap and where should it be placed?

Jb

zenoah:
No I'm not, I guess I should do that right? what size cap and where should it be placed?

Jb

You will have to search the posts for verification because I use a hardware programmer and haven't tried to use ArduinoISP as a programmer. I think it's a 10mfd wired between the reset pin and a ground pin, positive lead of cap to reset pin.

Lefty

I can't find anything usefull about disabling the reset pin (of the arduino itself I suppose) and according to both the ardiuno website and the website I first found I don't need a cap or anything else...

Jb

zenoah:
I can't find anything usefull about disabling the reset pin (of the arduino itself I suppose)

First page from a Google search...

and according to both the ardiuno website

This one?
http://arduino.cc/en/Tutorial/ArduinoISP

and the website I first found I don't need a cap or anything else...

This one?
http://hlt.media.mit.edu/wiki/pmwiki.php?n=Main.ArduinoATtiny4585

to bad that link didn't turned up on the search engine of this forum...
but I guess 4 470ohm resistors in parralal should do the trick just fine:D
tomorrow I will give that a shot.

Jacar

I have tried the 4 resistors, but no succes so far...
Has anyone else tried to program an attiny45 or 85 with a duemilanove? I tried it with ide22.

http://arduino.cc/forum/index.php/topic,59643.0.html

That did the job just fine! 120ohm from reset to 5V (on the arduino)

thank you all for the help.

Ive been programing the ATtiny45 without any issues and not using any resistor or capacitor.

I just program the Arduino duemilanove board as an ISP connect the MISO, MOSI, SCK, Reset and power to the ATtiny45
Select the board then hit upload and its done.