-1

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 ?

  • SWD pins. see the schematic of some SAMD21 Arduino. the connection is same for any bootloader or application upload. it is used for debugging too. – Juraj Sep 20 at 4:54
  • on the github guide he posted, it does not mention on how to upload the arduino bootloader sadly. But thank you for telling me SWD pins are standard on most applications – Jack Sep 20 at 9:43
  • I did it in Arduino IDE. I selected the Atmel EDBG programmer and then Burn Bootloader. all SAMD programmers use the same protocol – Juraj Sep 20 at 9:53
  • @Juraj the Atmel EDBG would work for Arduino Zero since that has the EDBG chip. With Jlink, I usually use Atmel Studio. Once the Jlink is connected to the chip via SWD, just goto the programmer option in Atmel Studio, select the chip and programmer and burn the programmer. It is pretty straightforward. There is a nice tutorial here which walks through it. – karan Sep 23 at 8:37
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.