upload error avrdude: stk500_getsync():not in sync

I'm having the same problem. What baud rate did you use?