Using Teensy 4x Encryption

Note Icon Note:

This is available in Visual Micro from version 2021.11.08.1 onwards.


For detailed information on how Teensy Encryption works, see the PJRC website article here:

If you need to lock the code on your Teensy 4.x board to prevent unauthorised access to your source by downloading from the board, this new feature in the Teensyduino platform is for you!

Note Icon Note:

Once a board is locked, it can only run encrypted code, and the key.pem file MUST be the correct one.
Ensure you backup the key file you lock your boards with to ensure this is not lost else you will not be able to update the boards in the future.