Problem uploading specific sketch on MEGA2560 ...

You might want to post your code.

If you have any "!!!" in your code, that will cause an upload hang in some versions of the Mega.

Serial.println("It works!!!");