Hardware requirements

  • Mini/micro USB cable

  • MIMXRT1180-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

EdgeLock Enclave secure Sub-System Driver Example:

****************** Load EdgeLock FW ***********************
EdgeLock FW loaded and authenticated successfully.

****************** Generic Crypto AES-CBC ******************
AES-CBC Generic crypto encryption success and output matches expected result.

AES-CBC Generic crypto decryption success and output matches original message.

****************** Generic Crypto AES-CTR ******************
AES-CTR Generic crypto encryption success and output matches expected result.

AES-CTR Generic crypto decryption success and output matches original message.

****************** Generic Crypto AES-OFB ******************
AES-OFB Generic crypto encryption success and output matches expected result.

AES-OFB Generic crypto decryption success and output matches original message.

****************** Generic Crypto AES-GCM ******************
AES-GCM Generic crypto encryption success and output matches expected result.

End of Example with SUCCESS!!