Go Down

Topic: what programmer to use to install a zero bootloader on bare chip samd21g (Read 221 times) previous topic - next topic


I was wondering if anyone can point me to a simple programmer that works with the Arduino IDE to program  a samd21g? In the past I have purchased cheap programmers  and been able to program a few simple chips. I have heard in the past that any board with the same chip could do it but I have found no support for this. I have heard that a arduino zero can do it. I am using a open source board for a reflow oven project. I am new to this and trying to learn. I would appreciate it if someone could point me in the correct direction as to a board to use and where I could find out the process. If there is more information you need to see if you can help in any way, just let me know.
Thanks for your time.


You should be able to turn any Arduino board into a programmer using this:

Although several other forum members have used that successfully, I couldn't get it to work (most likely user error). I ended up buying one of these J-Link clones:
and using it with this:

More details on my findings here:

Note that, if you qualify for it, the official Segger J-Link EDU Mini is not really all that much more expensive than that Chinese clone and might offer advantages that are well worth the extra expense. I was trying to find the absolute cheapest option to burn a bootloader, so I didn't try the J-Link EDU Mini.


There are a lot fewer choices for "programmers" applicable to ARM boards.
It might be worth installing (and ignoring most of) one of the Microchip IDEs and getting a SNAP programmer.
(In theory, ARM programmers/debuggers are standardized (CMSIS DAP.)  In practice, it seems not so much :-( )


I would like to thank both pert and westfw for their replies to help me program the samd21g chips for my reflow oven project. I am not sure how to put it all together to program it through or with the arduino ide, but I will go through it all and purchase the programmer mentioned above to see if I can figure it out. The program given is written using the arduino ide. I tried to attach the zip file to see if that might let you have any more incite, but I could not seem to get it to attach.
Thanks again for the help.

Go Up