I'am working on SAMD21 and now I'd like to implement the possibility to encrypted my firmware. I googled but I didn't find any good results, is it possible to do this with an SAMD21? Is anyone have a doc or a tutorial where I can learned how to developped this ?
Thanks for the pdf, what I'd like to do is described in your pdf p.36
One program tool is used to transfer the firmware between a PC and the bootloader. The other one is necessary to encrypt the firmware before sending it
So I'll search if I find the same doc dor SAM21 beceause the pdf is for SAM3/4
Have you looked on the Microchip website. This is a link to the web page for "AT02333: Safe and Secure Bootloader Implementation for SAM3/4". The second link (below the app note) is to a zip file that may contain the files you are looking for.