SAM-BA error while uploading

Hello,

the sketch seems to upload and work correctly, but I get the following at the end of the upload process:

[==============================] 100% (400/400 pages)

done in 0.163 seconds

Verify 25600 bytes of flash with checksum.
Verify successful
done in 0.036 seconds
SAM-BA operation failed
CPU reset.
An error occurred while uploading the sketch

Arduino IDE 1.8.5

Anyone knows, what it is about?

What operating system are you using?

Is it the same if you reboot your PC?

Windows 7 64 bit.

No change after rebooting the PC.

Win 7 x64 pro here and not seeing that error with IDE 1.8.5

I do have all the Arduino program locations in my security's exclusions list though.

Am also using USB 2.0 ports only via a powered USB 2.0 hub.

Will try another IDE to be sure.

EDIT

Not seeing it with 1.8.6

Not seen on CREATE

Not seen on 1.9.0 BETA

Given that I am on the same OS I suspect a local issue of some kind.
What that is I am not sure.

Could you try a test by turning off any additional security and using a USB 2.0 port.
Not sure if it will help but it will rule out a couple of common issues.

Hello ballscrewbob,

thank you for responding and thinking about my error issue!

This is my upload information given:

Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
Chip ID : 10010005
Version : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : none
Security : false
Boot Flash : true
BOD : false
BOR : false
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.793 seconds

Write 26088 bytes to flash (408 pages)

[==== ] 15% (64/408 pages)
[========= ] 31% (128/408 pages)
[============== ] 47% (192/408 pages)
[================== ] 62% (256/408 pages)
[======================= ] 78% (320/408 pages)
[============================ ] 94% (384/408 pages)
[==============================] 100% (408/408 pages)
done in 0.161 seconds

Verify 26088 bytes of flash with checksum.
Verify successful
done in 0.036 seconds
CPU reset.

SAM-BA operation failed
An error occurred while uploading the sketch

my USB ports are all 2.0.
I have upgraded to Arduino IDE 1.8.6 and switched off the anti-virus programm - same error.

Will try with an USB hub, as soon as I have got one.

Please contact support@arduino.cc, and link to this forum post.

Someone in some forum says that this error can safely be ignored.