RTCS Watchdog Interference

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTCS Watchdog Interference

Jump to solution
980 Views
christian_fisch
Contributor II

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.

Labels (1)
0 Kudos
1 Solution
726 Views
christian_fisch
Contributor II

Ok the problem is solved, traced down to refreshing the hardware watchdog without interrupts disabled.

View solution in original post

0 Kudos
3 Replies
726 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Christian

Do you use the MQX software watchdog?

I did a quick check with a demo, combined the watchdog and RTCS,  not found this issue. Could you please let me know how to reproduce your issue on my side?

You also can submit a support requests on NXP website if this issue is important and need fast response.

pastedImage_1.png

Regards

Daniel

0 Kudos
727 Views
christian_fisch
Contributor II

Ok the problem is solved, traced down to refreshing the hardware watchdog without interrupts disabled.

0 Kudos
726 Views
danielchen
NXP TechSupport
NXP TechSupport

Thank your for your sharing.

Regards

Daniel

0 Kudos