I am using M66 for a project which requires to store at most 5 Contact numbers in the EEPROM.
The Contacts should not get erased after restarting the Module if power is lost. (Battery backup is not an option as power shortage timing can’t be assured)
I tried using the OpenCPU functions :
1)s32 Ql_SecureData_Store(u8 index , u8* pData, u32 len)
2)s32 Ql_SecureData_Read(u8 index, u8* pBuffer, u32 len)
Although, it seems that data written using these functions is possible to retrieve only if module is not shut down after writing into secure memory.
Once the module is shut down, when next time it’s powered up, all data written in secure memory is lost.
I also referred to documentation but of no use.
Can anyone help me how to go ahead in this case?
I want to store the contacts and retrieve even after module is shut down and started again.
Thank you.