standlone arduino

hi my friends i have built the schematic of the max232 the first time i have tested it by attaching the rx and tx and open the serial monitor and sebd somthing and it work good but when it attached to my atmega328 and send the code i have the next message:

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