Upload Timeout Error on Mega 2560 - Not Sure What Changed

If your RX ,TX of arduino is connected to any circuit,,uplaoding will be failed,,cause it needs RX,TX pin for uploading programme,so First remove the RX,TX connection,uplaod the code ,then connect again to your as usual circuit