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

Hi, Pedotech
I’m glad I could help you.
You may also find the following link useful.