load sketch to stand alone atmega328p-pu chip

hello,

I bought this FT232RL USB to Serial adapter module USB TO RS232 Max232 for Arduino download | eBay ftdi from ebay and i tried to upload skethes to atmega 328 chip.
you can see in the attached photo the breadboard i used.
the black wire goes to the DTR pin
the white wire goes to the TX pin
the orange wire goes to the Rx pin

in order to power the chip i used 5v power supply and also connected the - of the power supply to the GND pin.

the problem is that i cannot upload skecthes.

am i doing something wrong? maybe there's problem in the board from ebay?
thanks,
Etay

the problem is that i cannot upload skecthes.

What happens when you try ?

UKHeliBob:

the problem is that i cannot upload skecthes.

What happens when you try ?

First I see: Binary sketch size: 1,084 bytes (of a 30,720 byte maximum)
And after couple of seconds (in red): avrdud: stk500_getsync(): not in sync resp=0x00

I tried to press the reset button after the first line appeared but still I always get the second line.

What do you think?

Have you installed the bootloader?

codlink:
Have you installed the bootloader?

yes i did. i used Nick Gammon guide to do that...

And after couple of seconds (in red): avrdud: stk500_getsync(): not in sync resp=0x00

I get that sometimes when I choose the wrong board/processor type. Sometimes it is some other factor that usually goes away if I reboot the Arduino IDE and reset the board.

naut:

And after couple of seconds (in red): avrdud: stk500_getsync(): not in sync resp=0x00

I get that sometimes when I choose the wrong board/processor type. Sometimes it is some other factor that usually goes away if I reboot the Arduino IDE and reset the board.

Hey,

Which board to you choose from the list?

For the '328, you should be choosing the Uno..

I've got a UNO with a 328p-pu on COM port 37 and a Duemilanove with a 328p-pu on COM port 38, so I gotta choose the right one when I'm uploading a sketch.

codlink:
For the '328, you should be choosing the Uno..

That depends on the bootloader that was uploaded to the chip. I have a 328 that has the Duemilanove bootloader on it and, as a result, requires the board to be set to Duemilanove.

UKHeliBob:

codlink:
For the '328, you should be choosing the Uno..

That depends on the bootloader that was uploaded to the chip. I have a 328 that has the Duemilanove bootloader on it and, as a result, requires the board to be set to Duemilanove.

Hello,
i loaded the bootloader from Nick's Gammon site so it's Uno

best wishes,
Etay