Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:seeedxiao [2021/09/11 02:21] darronboards:seeedxiao [2022/11/10 14:39] (current) darron
Line 1: Line 1:
 +====Seeduino Xiao====
 +
 +<wrap right>
 +{{boards:xiao.jpg?200}}
 +</wrap>
 +
 +This is a tiny ARM board with a very unreliable bootloader
 +which contrasts greatly with the hardware.
 +
 TODO TODO
  
Line 9: Line 18:
 [3585232.878811] usb 1-1.3: SerialNumber: 1D5A0BE850553133352E3120FF0A183C [3585232.878811] usb 1-1.3: SerialNumber: 1D5A0BE850553133352E3120FF0A183C
 [3585232.881320] cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device [3585232.881320] cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device
 +</code>
 +
 +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.
 +
 +<code>
 +$ 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
 +</code>
 +
 +<code>
 +$ 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
 </code> </code>
  
Line 23: Line 77:
 arduino arduino
  
-Tools-> Boards Manager "Seeeduino XIAO" ?+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 
  
 +[[https://github.com/Seeed-Studio/ArduinoCore-samd/raw/master/bootloaders/XIAOM0/bootloader-XIAO_m0-v3.7.0-33-g90ff611-dirty.bin|Bootloader]]