avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout

How to fix this? I am new here.

Can be caused by many reasons. Post detailed log.