This video goes into the process of repairing a defective SAMD21 microprocessor on a SparkFun SAMD21 Dev Breakout board. This process would be adaptable to any microcontroller board that uses this ARM M0 style processor. The video covers removing the defective chip and replacing it with a factory fresh unit. The video also goes over how to place a bootloader on the chip that can work with the Arduino IDE (Integrated Development environment).
The video mentions an article that describes how to configure an inexpensive CMSIS-DAP programming interface for programming the bootloader. The link to this article is: https://interrupt.memfault.com/blog/g...