MKR1000 Error Compiling

Hello,

I just bought my first MKR1000, and am trying out the "Love You Pillow" project.

I have installed the four libraries and the SAMD board.

However, I have problem uploading the FirmwareUpdater example onto the board after uploading the api.telegram.cc:443 certificate.

This is the error message I got:

Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino MKR1000"

Sketch uses 16248 bytes (6%) of program storage space. Maximum is 262144 bytes.
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:43
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
Boot Flash   : true
BOD          : true
BOR          : true
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.849 seconds

Write 16568 bytes to flash (259 pages)

[=======                       ] 24% (64/259 pages)
[==============                ] 49% (128/259 pages)
[======================        ] 74% (192/259 pages)
SAM-BA operation failed
An error occurred while uploading the sketch

[============================= ] 98% (256/259 pages)
[==============================] 100% (259/259 pages)
done in 0.110 seconds

Verify 16568 bytes of flash with checksum.
Verify successful
done in 0.024 seconds
CPU reset.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Any help is appreciated. Thanks!

Do you have your MKR1000 connected to a USB 3 port on your computer? If so, connect it to a USB 2.0 port or to a USB 2.0 hub plugged into the USB 3 port.

pert:
Do you have your MKR1000 connected to a USB 3 port on your computer? If so, connect it to a USB 2.0 port or to a USB 2.0 hub plugged into the USB 3 port.

Thanks for the reply.

I connected it to a USB 2.0 port. There were no errors compiling, but there were the same errors when uploading.

Is there anything that I am doing wrongly?