ATSAMD21 bootloader in custom Board

Hi everyone,

I am planing to design a custom board based on the SAMD21 from Microchip and I would like to program it via the Arduino IDE. That's why I am thinking about burning the bootloader with an Arduino Zero via ISP. It will be my first custom board so I have a few questions :

  • Can I burn the bootloader with an Arduino Zero vie ISP ?
  • If yes, then it means that my custom board needs to have the same pinout as the Zero ?

If you think of another way to burn the bootloader in a SAMD21, don't hesitate to say it !

Thank you

There is no regular "ISP" pins on the Zero, you'll have to use SWD to load a bootloader.

I use Segger Jlink EDU

Do you think this method (link below) won't work ?

owartique:
Do you think this method (link below) won't work ?

https://www.arduino.cc/en/Tutorial/ArduinoISP

no
for SWD you need a jlinker, Atmel ICE, or raspiberry pi with OPENOCD bit bang out swd over gpio