user54819: I am planning on making my own custom PCB of a SAMD21 board. I would like to ask if anyone has experience uploading arduino bootloader on a J-link Mini although adafruit has a guide on this device, its not uploading a arduino bootloader.
On a related note which pins should I connect it to my SAMD21 chip ? 

user1387: The Atmel EDBG would work for Arduino Zero since that has the EDBG chip. With Jlink, you can use Atmel Studio. Once the Jlink is connected to the chip via the 10 pin SWD header, goto the programmer option in Atmel Studio, select the chip and programmer and burn your firmware with the selected programmer. You can follow a tutorial here which walks through it.

54819: <p>I am planning on making my own custom PCB of a SAMD21 board. I would like to ask if anyone has experience uploading arduino bootloader on a <a href="https://www.mouser.com/ProductDetail/Segger-Microcontroller/80891?qs=sGAEpiMZZMve4%2FbfQkoj%252BGJy0Rcfgzx64YhEx8e9g%2FU=" rel="nofollow noreferrer">J-link Mini</a> although adafruit has a <a href="https://learn.adafruit.com/assets/69849" rel="nofollow noreferrer">guide</a> on this device, its not uploading a arduino bootloader.</p>

<p>On a related note which pins should I connect it to my SAMD21 chip ? </p>


 1387: <p>The Atmel EDBG would work for Arduino Zero since that has the EDBG chip. With Jlink, you can use Atmel Studio. Once the Jlink is connected to the chip via the 10 pin SWD header, goto the programmer option in Atmel Studio, select the chip and programmer and burn your firmware with the selected programmer. You can follow a tutorial <a href="https://learn.adafruit.com/how-to-program-samd-bootloaders/programming-the-bootloader-with-atmel-studio" rel="nofollow noreferrer">here</a> which walks through it.</p>
