My need sounds fairly simple:
Connect my Atmel-ICE to my XIAO SAMD21(18) that is sitting on the Seeed Xiao Expansion board so I can set a breakpoint in VS Code and hit it.
My experience is with Atmel ATMega MCUs using Atmel Studio as my IDE. It is a simple matter to connect the ICE to my ATMega MCU board from the AVR header on the ICE to my JTAG header on my MCU board. Then - in Atmel Studio, select Atmel ICE as my debugger and go. Everything just works.
I need the same simplicity with the Xiao system.
Right now I have VS Code running platformio extension and I can connect to the USB port of the Xiao board and I can write, upload and run code just fine. But now I need to add hardware debugging to the mix.
My questions are:
What pins on the Atmel ICE connect to what pins on the Xiao Expansion board to make this possible? On the expansion board I see:
- TX-6 (Uart I presume)
- RX-7 (Uart I presume)
What config files need setup in VS Code?
Is VS Code a proper IDE to use for this or should I use some other (Arduino for example)?
The image shows the XIAO components I wish to debug.