sleep affecting watchdog timeout

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

sleep affecting watchdog timeout

1,073件の閲覧回数
pratyushtomar
Contributor IV

I have an i.mx6UL board and I am running watchdog daemon in this. I am facing following problem.

In watchdog.conf file I have set watchdog-timeout = 20 seconds. This board reboots after 20 seconds if I kill watchdog daemon with SIGINT signal and this behaviour is expected. But if I put board to sleep using echo mem > /sys/power/state and I kill watchdog daemon once I wake up board the board reboots after more than watchdog-timeout = 20 seconds. In fact it boots after more than 2 minutes.

Is this expected behaviour? Shouldn't the board reboot after 20 seconds since I have set watchdog-timeout = 20 seconds? What does it take more than 2 minutes if I put board to sleep? Even the default watchdog-timeout is 1min in i.mx6UL.

ラベル(3)
0 件の賞賛
返信
1 返信

899件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Pratyush

wdog behaviour in low power modes is defined by WDOGx_WCR

WDZST, WDW bits, so one can check them.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信