Hello,
I am trying to set up my new XIAO (I just got this from Amazon)…
When I try to flash the blink program I get the following error:
[code]Arduino: 1.8.12 (Mac OS X), Board: “Seeeduino XIAO M0, Arduino, Off”
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users//Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users//Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users//Documents/Arduino/libraries -fqbn=Seeeduino:samd:seeed_XIAO_m0:usbstack=arduino,debug=off -vid-pid=0X2886_0X002C -ide-version=10812 -build-path /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789 -warnings=none -build-cache /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_cache_971185 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/Users//Library/Arduino15/packages/arduino/tools/bossac/1.7.0 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/Users//Library/Arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0.path=/Users//Library/Arduino15/packages/arduino/tools/bossac/1.7.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.openocd.path=/Users//Library/Arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.openocd-0.9.0-arduino.path=/Users//Library/Arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.CMSIS.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users//Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users//Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users//Documents/Arduino/libraries -fqbn=Seeeduino:samd:seeed_XIAO_m0:usbstack=arduino,debug=off -vid-pid=0X2886_0X002C -ide-version=10812 -build-path /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789 -warnings=none -build-cache /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_cache_971185 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/Users//Library/Arduino15/packages/arduino/tools/bossac/1.7.0 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/Users//Library/Arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0.path=/Users//Library/Arduino15/packages/arduino/tools/bossac/1.7.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.openocd.path=/Users//Library/Arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.openocd-0.9.0-arduino.path=/Users//Library/Arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.CMSIS.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
Using board ‘seeed_XIAO_m0’ from platform in folder: /Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6
Using core ‘arduino’ from platform in folder: /Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6
Detecting libraries used…
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=”"“Blink.ino”""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed”” “-DUSB_PRODUCT=“Seeed XIAO M0"” -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino/Adafruit_TinyUSB_Core -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/variants/XIAO_m0 /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes…
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=””“Blink.ino”""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed”” “-DUSB_PRODUCT=“Seeed XIAO M0"” -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino/Adafruit_TinyUSB_Core -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/variants/XIAO_m0 /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/sketch/Blink.ino.cpp -o /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch…
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD “-D__SKETCH_NAME__=””“Blink.ino”""" -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Seeed”” "-DUSB_PRODUCT=“Seeed XIAO M0"” -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino/Adafruit_TinyUSB_Core -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/Users//Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/cores/arduino -I/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/variants/XIAO_m0 /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/sketch/Blink.ino.cpp -o /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/sketch/Blink.ino.cpp.o
Compiling libraries…
Compiling core…
Using previously compiled file: /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/core/variant.cpp.o
Using precompiled core: /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_cache_971185/core/core_Seeeduino_samd_seeed_XIAO_m0_usbstack_arduino,debug_off_341b10e855848f5b2af733e609b8fae5.a
Linking everything together…
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-gcc -L/var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789 -L/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/variants/XIAO_m0 -Os -Wl,–gc-sections -save-temps -T/Users//Library/Arduino15/packages/Seeeduino/hardware/samd/1.6.6/variants/XIAO_m0/linker_scripts/gcc/flash_with_bootloader.ld -Wl,-Map,/var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/Blink.ino.map -o /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/Blink.ino.elf --specs=nano.specs --specs=nosys.specs -Wl,–start-group -mcpu=cortex-m0plus -mthumb -Wl,–cref -Wl,–check-sections -Wl,–gc-sections -Wl,–unresolved-symbols=report-all -Wl,–warn-common -Wl,–warn-section-align -L/Users//Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Lib/GCC/ -larm_cortexM0l_math /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/sketch/Blink.ino.cpp.o /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/core/variant.cpp.o -lc_s -lm /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/…/arduino_cache_971185/core/core_Seeeduino_samd_seeed_XIAO_m0_usbstack_arduino,debug_off_341b10e855848f5b2af733e609b8fae5.a -Wl,–wrap,_write -Wl,–end-group
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-objcopy -O binary /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/Blink.ino.elf /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/Blink.ino.bin
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-size -A /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/Blink.ino.elf
Sketch uses 10180 bytes (3%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port /dev/cu.usbmodem1401
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Mac-Bluetooth-Inc, /dev/cu.usbmodem1401, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Mac-Bluetooth-Inc, /dev/tty.usbmodem1401, } => {}
Uploading using selected port: /dev/cu.usbmodem1401
/Users//Library/Arduino15/packages/arduino/tools/bossac/1.7.0/bossac -i -d --port=cu.usbmodem1401 -U true -i -e -w -v /var/folders/6n/9ccqtt314v1g7yx3hp540_cw0000gn/T/arduino_build_571789/Blink.ino.bin -R
Set binary mode
readWord(addr=0)=0x20002dd8
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v1.1 [Arduino:XYZ] Sep 23 2019 00:45:35
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x20002dd8
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device : ATSAMD21G18A
readWord(addr=0)=0x20002dd8
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Chip ID : 10010005
version()=v1.1 [Arduino:XYZ] Sep 23 2019 00:45:35
Version : v1.1 [Arduino:XYZ] Sep 23 2019 00:45:35
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security : false
Boot Flash : true
readWord(addr=0x40000834)=0x7000a
BOD : true
readWord(addr=0x40000834)=0x7000a
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.790 seconds
Write 10444 bytes to flash (164 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
SAM-BA operation failed
An error occurred while uploading the sketch
[=========== ] 39% (64/164 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[/code]
I have tried different usb cables and different ports.
Thank you for your help.
F