Trouble programming Arduino Mega 2560

Hello Ben,

I hope that every thing with you is OK

I am trying to upload a line follower robot program to an arduino mega 2560, but I face a problem on it.

While uploading the program I got an error message including
" 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"

How can I solve this problem ?

Best Regards

Fadel Al-Ali

Hello.

Are you running the most current IDE? You might try posting this on the Arduino Forum for better feedback.

- Jeremy