RTCS Watchdog Interference

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RTCS Watchdog Interference

跳至解决方案
1,117 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
863 次查看
christian_fisch
Contributor II

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
863 次查看
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 项奖励
回复
864 次查看
christian_fisch
Contributor II

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

0 项奖励
回复
863 次查看
danielchen
NXP TechSupport
NXP TechSupport

Thank your for your sharing.

Regards

Daniel

0 项奖励
回复