We encountered a problem on a K60F120M using MQX 4.2.0.2 that seems mainly related to the RTCS module.
Namely when the RTCS module is activated and with a watchdog set to 1 second the system restarts/resets about once a day.
Used modules:
bsp, psp, rtcs and shell.
Configuration for RTCS:
_RTCSTASK_priority = 7;
_RTCSTASK_stacksize = 10000;
_RTCSPCB_init = 4;
_RTCSPCB_grow = 2;
_RTCSPCB_max = 10;
_RTCS_msgpool_init = 4;
_RTCS_msgpool_grow = 2;
_RTCS_msgpool_max = 10;
_RTCS_socket_part_init = 4;
_RTCS_socket_part_grow = 2;
_RTCS_socket_part_max = 10;
The main task which handles the watchdog has a priortity of 15, furthermore this problem persisted after we temporarly removed all code expect initialization of RTCS and watchdog handling.