I modified the sensor_profile example and added more tasks. The whole system will connect AP, send/receive some information and enter hibernation every two minutes. After running 10+ hours, it looks like the queue is corrupt. Msg can be sent to the queue but the task waiting never receives the msg. I enable the watchdog, it works, when this scenarios happens, the watchdog resets the system.
But when the system comes back from the watchdog reset, all the queues don't work. ( msg can be sent but no task able to receive it). A hard reset (button sw1) or power on can solve it. so the watch dog reset is different from a hard rest. I like to know what's the functions ( PRCMSOCReset(void) ?) for the hard reset. Thanks.