Arduino stopped communicate


I have Arduino Mega and it was working fine on my robot until I wanted to upload a new version of my code as I did many times before. This error message has appeared:

avrdude: stk500v2_getsync(): timeout communicating with programmer

Note my Leonard boeard works normaly, so the issue would be on arduino side. Any help would be appreciate. Thanks!