By the way, this is the output when I try to flash a sketch.
This same environment works fine with another Wio Tracker I have
Sketch uses 10072 bytes (3%) of program storage space. Maximum is 262144 bytes.
Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
Chip ID : 10010005
Version : v2.0 [Arduino:XYZ] Apr 18 2017 09:45:16
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 5.005 seconds
Write 10332 bytes to flash (162 pages)
[=========== ] 39% (64/162 pages)
SAM-BA operation failed
An error occurred while uploading the sketch