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

check this - http://www.instructables.com/id/A-solution-to-avrdude-stk500getsync-not-in-syn/ -