timeout connecting with programmer

Binary sketch size: 5,226 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

  • i dont know what else to try. please help. i have the mega 2560

This is the programming (writing code) forum.

Try here

Mark

Have you got the correect com port selected and the right board selected?