Arduino Mega not working

hello,

i have an arduino mega that worked perfectly until this morning. Out of the blue i tried to upload a sketch which i found online to test it and after that the upload procedure was stuck at the end. No matter what code i try to upload it compiles fine, show me the memory usage etc and then it just stops.

I've read some topics online acoording to this but none of them helped. I unistalled the arduino ide more than once, i deleted the libraries and i tried to upload any sketch through the zip version (portable) of the ide.

the error that i am getting when i try to upload the blink example is this:

Arduino: 1.6.12 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Sketch uses 1,462 bytes (0%) of program storage space. Maximum is 253,952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8,183 bytes for local variables. Maximum is 8,192 bytes.
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
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

if anyone have seen this problem before or have any solution please help me..

Thanks in advance.

i cheked with device manager and i have selected the right port on ide but still the same..

I have the same issue with my lenovo Yoga 720 laptop. have you solved the issue yet?