Table of Contents

Seeduino Xiao

xiao.jpg

This is a tiny ARM board with a very unreliable bootloader which contrasts greatly with the hardware.

TODO

[3585232.736302] usb 1-1.3: new full-speed USB device number 109 using dwc_otg
[3585232.878743] usb 1-1.3: New USB device found, idVendor=2886, idProduct=802f, bcdDevice= 1.00
[3585232.878764] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3585232.878780] usb 1-1.3: Product: Seeed femto M0
[3585232.878795] usb 1-1.3: Manufacturer: Seeed
[3585232.878811] usb 1-1.3: SerialNumber: 1D5A0BE850553133352E3120FF0A183C
[3585232.881320] cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device

Programming needs new version of BOSSA, however, the board can boot into MASS STORAGE mode and BOSSA will not work in this case. Things are not particularly reliable with USB bus hangs and even Linux kernel panics.

$ sudo stty -F/dev/ttyACM1 1200

$ sudo /home/darron/.arduino15/packages/Seeeduino/tools/bossac/1.7.0-arduino3/bossac --port=ttyACM1 -U true -i
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v1.1 [Arduino:XYZ] Nov 27 2019 16:35:59
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
$ ll
total 513K
-rwxr-xr-x 1 root root 524288 Dec 25  2018 CURRENT.UF2
-rwxr-xr-x 1 root root    111 Dec 25  2018 INDEX.HTM
-rwxr-xr-x 1 root root    101 Dec 25  2018 INFO_UF2.TXT

$ cat IN*
<!doctype html>
<html><body><script>
location.replace("https://www.seeedstudio.com/");
</script></body></html>
UF2 Bootloader v3.7.0-33-g90ff611-dirty SFHWRO
Model: Seeeduino XIAO
Board-ID: SAMD21G18A-XIAO-v0

SAMD21G18

http://packs.download.atmel.com/

https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html

https://wiki.seeedstudio.com/Seeeduino-XIAO/

arduino

File → Preferences → Additional Boards Manager URLs

https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json

Tools→ Board → Boards Manager → Filter your search

Seeeduino XIAO

Bootloader