So i have been working with arduino boards for a while, though never a mega until the last few months. Long story short i can upload anything to, 2 separate mega 2560 R3 boards. I was able to for a while on many different computers then after about a month one kept having this error pop up during the upload process. "avrdude: stk500v2_ReceiveMessage(): timeout". I had a second board that i wasn't using so i set the one giving me issues aside and moved on to the other board. and for about a week it worked just fine with different programs and then it started to do the same. Now i have 2 separate boards that don't work, and i think i have tried most trouble shooting methods for this issue. Yes i know this a common issue but i still haven't found a solution to my problem but i will say what i have tried so far.
Its not a programming issue, ive tried my code and example code and nothing will load on to the boards.
I don't think its an hardware issue either, ive tried different computers, different cords, with power adapters and without, and many more possibilities.
Probably not my drivers ive tried reinstalling them dozens of times, and in the past the exact same set up worked, nothing changed computer on the computer just the board stopped working.
Firmware, and this is where it becomes more muddled to me, i have not tried reloading boot loader for many reasons, but I don't believe that is the issue based off how the tx rx pins are responding. So i also saw a solution that had you connect the tx and rx pins and see if in the serial monitor would mirror your sent data. This did not work for me, the rx led would flash but nothing more then that when i sent information. The suggestion there said to try to reload the ATmelmega16u2 firmware back on the device by using flip. I tried this and could not get flip to ever detect my device even after resetting the board by connecting the ground and reset pins together for a short period of time.
So that's where i am at, if i missing something please let me know. I have tried for about a week reading forums and trying things my self in order to get these boards to work, as a result ive tried so many things now it would take much more time then i care to spend to type them all out.