Seeed Xiao as DAPLink to burn bootloader the SAMD11 boards¶
Xiao to DAPLink¶
ref .How to use Arduino Boards as DAPLink Device
Install the DAPLink Arduino Libraries¶
-
Seeed_Arduino_DAPLink -> Code -> Download ZIP -> Seeed_Arduino_DAPLink-master .zip
-
Open the Arduino IDE, and click sketch -> Include Library -> Add .ZIP Library, and choose Downloads/Seeed_Arduino_DAPLink-master.zip
Install the Adafruit_TinyUSB_Arduino Library¶
- Adafruit TinyUSB Library for Arduino -> Code -> Download ZIP -> Adafruit_TinyUSB_Arduino-master.zip
Note
If you have an error caused Adafruit_TinyUSB_Library when uploading sketch to Xiao, Use Adafruit_TinyUSB_Library Version 0.10.5 .
- Open the Arduino IDE, and click sketch -> Include Library -> Add .ZIP Library, and choose Downloads/Adafruit_TinyUSB_Arduino-master.zip
Setup Xiao in Arduino¶
-
Preference -> Additional Boards Manager URLs
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
-
Tool -> Boards -> Boards manager -> Search
Xiao
- Install
Seeed SAMD Boards
Open the sketch¶
- Unzip Seeed_Arduino_DAPLink-master.zip
- Open Seeed_Arduino_DAPLink-master/examples/simple_daplink/simple_daplink.ino
Upload the sketch to Xiao¶
- Upload the sketch to Xiao
- LEDs on Xiao one green -> two blue
Make Xiao to SWD adapter boards¶
Wiring¶
ref .How to use Arduino Boards as DAPLink Device
ref. class site
Eagle¶
ref. Eagle holes making
1 2 |
|
BOM¶
Item | Qty | Price | Link |
---|---|---|---|
Seeed Xiao | 1 | 4.9USD, 556JPY | seeed, digikey, Amazon 3P |
Pin Header(1x7) | 2 | some | |
Pin Socket(1x7) | 2 | some | |
wire from THT resistor | 2 | almost free |
Boards¶
Install OpenOCD¶
Mac¶
ref. OpenOCD
1 |
|
Download bootloader for SAMD11¶
- SAMD11C14A Arduino-Compatible Bootloader -> Download -> zip
- Unzip -> Download/atsamd11-master
Burn bootloader¶
Connection¶
PC(USB-C) - Xaio(SWD) - SAMD11_Board
3.3V will be supplied via SWD
Burn¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
Last update: November 22, 2021