Upload stopped working

Everything was working great. Edited my code, uploaded... all worked fine.
Made another edit, uploaded, code compiles, message on screen says "uploading", green bar moves about 90% of the way... then stops
Have tried:

  • unplugging USB cable
  • reset button
  • switching to uploading "Example" code
    Continues to behave the same way.
    Any suggestions? Is there a way I can reset the board to its default values?
    Regards
    Andy

There is a lot of causes for that problem. You need to google some troubleshooting guides and send more details (switch usb cables, test in another computer, with other sketch, etc). There is no "defaults" in the arduino.

I ended up following the steps from this note:

Boils down to pulling TX to low and then I was able to upload.
After this, I had to remove the RX to be able to do further uploads due to getting:

  • stk500_getsync(): not in sync: resp=0x00

Regards

Andy