NXP EdgeLock, AN13027 Application note

AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
Rev. 1.1 — 7 December 2020 Application note
Document information
Information Content
Keywords EdgeLock SE05x, Plug & Trust middleware, i.MX 8M
Trust middleware using the EdgeLock SE05x development boards and i.MX 8M board. It provides detailed instructions for connecting the boards, installing the software, running the EdgeLock SE05x Plug & Trust project examples and executing the ssscli tool
NXP Semiconductors
EdgeLockTM SE05x Quick start guide with i.MX 8M
Revision history
Revision history
Revision number Date Description
1.0 2020-10-21 First document release.
1.1 2020-12-07 Updated to latest template and fixed broken links
AN13027
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
2 / 26
NXP Semiconductors

1 How to use this document

The Plug & Trust middleware includes a set of project examples that demonstrate the use of EdgeLock SE05x product family in the latest IoT security use cases. This document provides detailed instructions to run project examples for EdgeLock SE05x in i.MX 8M board. The main body of this document should be used in this sequence:
1. Order board samples. Section 2 contains the ordering details of the demo boards required in this document;
2. Prepare the hardware. Section 3 describes how to setup the OM-SE05xARD and i.MX 8M boards.
3. Flash the microSD card image. Section 4 describes how to create a micro-SD card with the Linux image with the pre-installed Plug & Trust middleware.
4. Run project examples. Section 5 describes how to run EdgeLock SE05x included in Plug & Trust middleware.
Supplementary material is provided in the appendices.
AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
3 / 26
NXP Semiconductors

2 Hardware required

The EdgeLock SE05x works as an auxiliary security device attached to a host controller, communicating with through an I²C interface. To follow the instructions provided in this document, you need an EdgeLock SE05x development board and a i.MX 8M MCU board, acting as a host controller.
EdgeLock SE05x development boards ordering details
The EdgeLock SE05x support package provides development boards for evaluating EdgeLock SE050 and EdgeLock SE051 features. Select the development board of the product you want to evaluate. Table 1 details the ordering details of the EdgeLock SE05x development boards.
Table 1. EdgeLock SE05x development boards.
Part number 12NC Description Picture
OM-SE050ARD 935383282598 SE050 Arduino
AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
®
compatible development kit
OM-SE051ARD 935399187598 SE051 Arduino
compatible development kit
®
Note: The pictures in this guide will show OM-SE050ARD, but OM-SE051ARD can be used as well with the same configuration.
i.MX 8M MCU board ordering details
Table 2 details the ordering details for the i.MX 8M board.
Table 2. i.MX 8M development kit details
Part number 12NC Content Picture
MCIMX8M-EVK 935378743598 i.MX 8M evaluation kit
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
4 / 26
NXP Semiconductors

3 Boards setup

This section explains how to prepare the OM-SE05xARD boards and i.MX 8M board to run the EdgeLock SE05x Plug & Trust middleware project examples. Follow these steps:
1. Connect the OM-SE05xARD to the i.MX 8M board. The i.MX 8M board does not
AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
come with an Arduino connector, so you have to connect the Arduino shield of the OM-SE05xARD board to the J801_I2C connector of the i.MX 8M board using wires.
Table 3 details the jumper connection
Table 3. Wire connection OM-SE05xARD - i.MX 8M
OM-SE05xARD (# jumper - # pin)
J2 - Pin 10 J801 - Pin 1 SCL
J2 - Pin 7 J801 - Pin 2 Ground
J2 - Pin 9 J801 - Pin 3 SDA
J8 - Pin 3 J801 - Pin 5 3.3 Volt supply
I.MX 8M (# jumper - # pin) Description
and Figure 1 illustrate the wiring between boards.
Figure 1.  Connection between OM-SE05xARD and i.MX 8M boards
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
5 / 26
NXP Semiconductors
2. Make sure the jumper settings in your OM-SE05xARD board are configured as shown
Note: For more information about the jumper settings, refer to AN12395 (OM- SE05xARD) and AN13016 (OM-SE051ARD) respectively.
AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
in Figure 2:
Figure 2.  Jumper configuration for i.MX 8M board
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
6 / 26
NXP Semiconductors

4 Software setup

The software setup consists of:
1. Preparing a micro-SD card with the pre-compiled Linux image with the preinstalled Plug & Trust middleware for i.MX 8M board, as described in Section 4.1.
2. Installing the USB to UART Bridge VCOM driver in your laptop, as described in
Section 4.2.
3. Installing TeraTerm terminal application, as described in Section 4.3.
4. Booting the i.MX 8M board, as described in Section 4.4.

4.1 Micro-SD card preparation

To prepare the micro-sd card with the pre-compiled Linux image that includes the Plug & Trust middleware, you need to:
1. Download from NXP website the Plug & Trust middleware SD Card Image. This image contains the Plug & Trust middleware pre-installed with already some examples on a bootable SD Card Image.
Note: In case the image provided by NXP does not suit your use case, you can find the explanation of how to create an card image using Yocto in the Plug & Trust middleware documentation (simw-top/doc/dev-platforms/platform_imx8_linux.html) .
2. Download and install Win32 Disk Imager software. Win32 Disk Imager is a Windows open source program to format SD card images. Instead of Win 32 Disk Imager, you could also use any other software for this operation.
3. Plug your micro-SD card in your laptop.
AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
7 / 26
NXP Semiconductors
4. Open Win32 Disk Imager, (1) select from your file system the pre-compiled Linux
AN13027
EdgeLockTM SE05x Quick start guide with i.MX 8M
image you downloaded from the website, and (2) click on the Write button as shown in Figure 3.
Note: the SD card image might come in a ZIP package. Make sure to unzip the package and change the extension to .img before selecting the image file in Win32 Disk Imager.
Figure 3.  Micro-SD card preparation with Win32 Disk Imager software

4.2 Drivers

To install the i.MX 8M drivers, follow these steps:
AN13027 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
Application note Rev. 1.1 — 7 December 2020
8 / 26
Loading...
+ 18 hidden pages