I'm about to try out RT1020 MCU. I've been looking into MIMXRT1020-EV for a start. After importing SDK, I've noticed 'evkmimxrt1020_flashloader' example.
As far as I understand, there is an option to encrypt an image and load it into external FLASH and store the KEY into RT1020 to decrypt on the fly and execute the code.
- Is the procedure on how to encrypt the FLASH, set the key in RT1020 device described anywhere? The 'evkmimxrt1020_flashloader' does not contain any documentation, as far as I can see.
- Is there any performance penalty when using encrypted image?