Reputation: 1224
I'am working on SAMD21, but now I'd like to implement the possibility to ecrupted firmware. Is it possible on the SAMD21? I find this pdf this is exactly what I want to do page 36 but this for SAM3/4 AT02333
I googled, but I found nothing for SAMD21, is anyone have a doc or maybe source code tutorial ? My idea is to encrypted my firmware with AES128, so I know I need to create implement that in bootloader but I've never done that...
Upvotes: 0
Views: 183
Reputation: 186
Yes, you could implement firmware encryption on SAMD21 as well as a lot of other MCUs. The idea of firmware encryption does not depend on exact chip or even MCU architecture. The main things are:
As you can see, there is nothing here about protocols, encryption methods, or microcontroller type - all this up to you. The main thing that is needed from the microcontroller is the presence of a protection bit and a memory area for the bootloader. You could use any of the Safe and Secure Bootloader Implementation Tutorial and adopt it to SAMD21 accordingly.
Upvotes: 0