ATMega328 Programming problem

Hi;

Recently i got some ATmega 328 MCs with the Arduino bootloader.

I'm trying to upload my sketches using usbtinyisp but couldn't succeed. I believe i made the connections correctly yet when I typ in cmd: avrdude -c usbtiny -p m328p i get the error: avrdude -c usbtiny -p m328p

Same thing happens when I use the Arduino IDE and select "upload using programmer"

I took some pictures of my wiring but it might be hard to see the connections.

Thank you.

Hi Aerovisual

Are you using a crystal (2 connections) or ceramic resonator (3 connections)?

If it's a crystal, connected between pins 9 and 10, you should have two 22pF capacitors from those pins to GND.

Also, try a pullup resistor on pin 1.

Regards

Ray

Thx for the reply!

I did try to hook two 22pf caps to the crystal and connect them to the ground but had no progress.

tomorrow i will try the pull up resistor.

funny thing is most of the schematics or the tutorials dont even mention the caps or the resistors. Maybe they're just lucky?

thx again.

The de facto standard:

Of course, it was a wiring issue =)

Thanks for the help fellas, that setup gonna stay like that forever!