Hi there,
I am trying to validate the SE050E chip interfaced in our custom IMX8MP based board using the middleware example se05x_GetInfo. I have built and deployed the middleware using the application note AN13027.pdf . Since the SE is interfaced with the i2c-4 so i have modified the
static char* default_axSmDevice_name = "/dev/i2c-1";
to static char* default_axSmDevice_name = "/dev/i2c-3"; in simw top/hostlib/hostLib/platform/linux/i2c_a7.c file.
Still I am facing the error:
root@imx8mp-lpddr4-evk:~# se05x_GetInfo
App :INFO :PlugAndTrust_v04.05.00_20231201
App :INFO :Running se05x_GetInfo
App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.
smCom :ERROR:Failed writing data (nrWritten=-1).
smCom :ERROR: - Error in I2C Write.....
smCom :ERROR:phNxpEseProto7816_SendRawFrame Error phNxpEse_WriteFrame
smCom :ERROR:TransceiveProcess Transceive send failed, going to recovery!
smCom :ERROR:phNxpEseProto7816_Open failed
smCom :ERROR: Failed to Open session
sss :ERROR:SM_I2CConnect Failed. Status 7012
App :ERROR:sss_session_open failed
App :ERROR:ex_sss_session_open Failed
App :ERROR:!ERROR! ret != 0.
I have also attached the cmake-conf.txt for cmake configuration.
Can anyone suggest if any other changes are required in the source?