How to unbrick a dead XIAO using ST-LINK and OpenOCD

The openocd should use “0.11.0-arduino2”, but your log seems to use “0.10.0-arduino7”.
The folder “0.11.0-arduino2” is located at /.adruino15/packages/Seeeduino/tools/openocd/.

If you have another XIAO_SAMD21, the method in the link below is easy and successful.