Secure Memory Backup error

Hi All,

I am currently using AR7598 with 17.10.0.m1.rc28 legato framework. When I write in secure memory from my application I am getting below error. Is anybody face the similar issue and let me know the root cause.

Jan 6 00:08:11 swi-mdm9x40 user.err Legato: =ERR= | secStore[596]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 808 | Sending QMI_SWI_SFS_BACKUP_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=3.[0x03]
Jan 6 00:08:11 swi-mdm9x40 user.err Legato: =ERR= | secStore[596]/le_pa_secStore T=main | pa_secStore_qmi.c BackupSfs() 1531 | Unexpected QMI response -6 (LE_FAULT)

Hi All,

Looks like its a permission issue ? . Is AR7598 not support QMI_SWI_SFS_BACKUP_REQ_V01 ? or I am doing something wrong here .Please guide me.

Thanks
Jithesh

Hello @jithesh,

QMI_SWI_SFS_BACKUP_REQ_V01 is not implemented on AR759x modem side as it is unnecessary for this product. Secure storage files are actually stored inside modem EFS, and AR759x modem is managing with EFS backup/restore.
So, it is not necessary to do SFS backup/restore with QMI interface. It is anyway recommended to call le_mdmCfg_StoreCurrentConfiguration to backup your items after a write operation.

If you are facing a higher level issue, you should provide a log retrieved this way:
# log level debug secStore/*
# logread -f > logread.log

KR.