I'm using this arduino uno R3 from last 6months. It even perform well 1month ago. Now it's not able to upload a simple coding. Whenever its done 100% uploading, it's still showing 'Uploading..'; I know that it's take some time to show 'Done upload'..but after 2-3 minutes it's showing 'Problem uploading to board'. Attaching the screenshots here. Please help me out.
I would double check if the right board and port have been selected under the Tools tab.
It's failing at the very first step of upload (it's getting 0x00 back from the board every time). Is anything connected to pins 0 or 1? When you press reset, does the led blink rapidly three times?
Do you have anything connected to pins 0, 1, or reset? Remove those connections, if so.
It's a very uninformative error, and there isn't a straightforward troubleshooting path, since that error is what you get from almost any serious problem after the USB-side of the USB-serial adapter, OR having the wrong board selected so it's expecting the wrong thing back or using the wrong baud rate. There's no way for the computer to get more debugging info - all it can see is what comes back on the serial line.