Hi @Kan_Li ,
As mentioned in my post there is no issue between the client and AccessManager. The command "se05x_ConcurrentEcc -authid 0x7DA00001 -keyid 0xEF001234 -cnt 100 -port 127.0.0.1:8040" which I used was taken from the plug and trust middleware document by NXP only. I have shared the document.
The below mentioned log proves that the client and accessManager are in good communication.
New client connection from 127.0.0.1. Client ID: 4
Command 0x00 from client 4
Also our requirement is that the client should communicate with AccessManager using JRCPv1 protocol as mentioned in the plug and trust middleware document.
ajitsj3_0-1659589934647.png
The log below shows that there some issue w.r.t I2C communication between AccessManager and se05x.
smCom :ERROR:opening failed...
Failed to open the i2c bus: No such file or d[12776.642027] systemd-coredump[8359]: EXE '/home/root/accessManager' is not in coredump whitelist, skipping.
irectory
smCom :INFO :Pass i2c device address in the format <i2c_port>:<i2c_addr(optional. Default 0x48)>.
smCom :INFO :Example ./example /dev/i2c-1:0x48 OR ./example /dev/i2c-1
smCom :ERROR:phPalEse_i2c_open_and_configure Failed retry
Anyways I tried the command that you sent which is not ideal for us. Even this failed too.
# accessManager &
# Starting accessManager (Rev.1.1).
Protect Link between accessManager and SE: YES.
accessManager JRCPv1 (T1oI2C SE side)
******************************************************************************
Server: waiting for connections on port 8040.
Server: only localhost based processes can connect.
#
# EX_SSS_BOOT_SSS_PORT=127.0.0.1:8040 se05x_ConcurrentEcc
App :INFO :PlugAndTrust_v04.01.03_20220331
App :INFO :
App :INFO :Running Elliptic Curve Cryptography Example se05x_ConcurrentEcc
App :INFO :
App :ERROR:Auth key Id not passed
App :WARN :
usage:
se05x_ConcurrentEcc.exe
-authid <auth object id to open Session >
-keyid <Key id to store Key>
-cnt <no of times to loop the operation >
-port <port to be connected >
App :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:101 Function:ex_sss_entry
App :INFO :ex_sss Finished
App :ERROR:ex_sss_entry Failed
App :ERROR:!ERROR! ret != 0.
So my question is that there must be a way to specify the i2c device node information to accessManager. Please let us know that.
Thanks and regards
Ajit S J