I've got a brand new Arduino DUE board (R3). First time I uploaded the basic blink program everything worked the way it should. Then I tried to upload a serial communication program and that is when I started to get the "SAM-BA operation failed" error. Tried the blink program again and now I'm getting the error message there too. Tried power cycling the board but with the same problem. Tried power cycling the computer as well but no luck. Running Win7 64 bit ultimate and Arduino 1.5.2.
This is the output
Binary sketch size: 9 860 bytes (of a 524 288 byte maximum) - 1% used Erase flash Write 9940 bytes to flash [ ] 0% (0/39 pages) [======= ] 25% (10/39 pages) [=============== ] 51% (20/39 pages) [======================= ] 76% (30/39 pages) [==============================] 100% (39/39 pages) Verify 9940 bytes of flash [ ] 0% (0/39 pages) SAM-BA operation failed [======= ] 25% (10/39 pages)