Dialog Semiconductor customer support - store value into flash and retrieve https://support.dialog-semiconductor.com/resource-keywords/store-value-flash-and-retrieve en How to know whether reset is due to watchdog timer? https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/how-know-whether-reset-due-watchdog

Dear Dialog_Support,

I have stored one variable's value into flash and i want to retrieve that value after reset occurs by watchdog timer. But i am not able to recognize that reset occurs due to watchdog or any other reason. I have read this post
https://support.dialog-semiconductor.com/how-could-i-know-whether-reset-...
I came to know that if we declare variable in retention RAM then we can retrieve it after watchdog. And another solution is use external memory. As my application don't have any external memory, i have to declare variable into retention RAM. I have tried to do so but I could not retrieve its value after watchdog reset. So can you suggest me any example that storing value into retention RAM and retrieving back after device gets reset.
Thank you in Advance

With Regards,
Ruchi Patel

Device: 
Mon, 11 Jun 2018 05:20:57 +0000 Ruchi Patel 193282 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/how-know-whether-reset-due-watchdog#comments