11.6. How to get SE Platform Information and UID¶
Follow any one of the following methods to get the SE platform information.
11.6.1. Using TeraTerm and pre-built binary¶
A pre-built binary for se05x_GetInfo is available in binaries
directory for FRDM-K64F and iMX-RT1060.
You would need to install a serial terminal application, like TeraTerm.
Install TeraTerm on your system. To setup TeraTerm, refer
Flash the pre-built binary on your hardware.
View the logs on TeraTerm.
You would be able to see a log like this:
The highlighted log is the SE UID, OEF ID and JCOP Platform ID.
11.6.2. Using VCOM and binary¶
Flash VCOM binary present in
binariesdirectory accorfing to your board.Check VCOM Port number in device manager.
- Build project
se05x_GetInfowith the following configuration: SMCOM:VCOMHost:PCWindows
- Build project
Run the built binary as:
se05x_GetInfo.exe COMxx
Where COMxx is the VCOM port number obtained from step 2.
You would be able to see a log like this:
The highlighted log is the SE UID, OEF ID and JCOP Platform ID.
11.6.3. Using ssscli Tool¶
Flash VCOM binary present in
binariesdirectory accorfing to your board.Check VCOM Port number in device manager.
Run the following commands in
binaries/PCWindows/sssclidirectory:ssscli.exe connect se050 vcom COMxx ssscli.exe se05x uid ssscli.exe disconnect
Where COMxx is the VCOM Port number obtained in step 2.
You would be able to see a log like this:
The highlighted log is the SE UID
11.6.4. SE Platform Information on Android platform¶
SE will have preconfigured information with which one can verify the functionalities it supports.
Follow the steps in AOSP build Environment Setup as a pre-requisite.
After successful compilation of Android keymaster,
se05xGetInfo.binwill get generated in$ROOT_DIR/android-root/out/target/product/<BOARD_NAME>/testcases/se05xGetInfo/armand$ROOT_DIR/android-root/out/target/product/<BOARD_NAME>/testcases/se05xGetInfo/arm64directories.To get the platform information on Android, follow below steps:
adb root && adb wait-for-device && adb remount adb push testcases/se05xGetInfo/arm/se05xGetInfo /system/vendor/bin/se05xGetInfo adb reboot adb root && adb wait-for-device && adb remount adb shell cd system/vendor/bin ./se05xGetInfo
In
adb logcat | grep "NXPKeymasterDevice"respected information will be shown.
An example log of SE platform information is given below.
The highlighted log is the SE UID, OEF ID and JCOP Platform ID.
