Watchdog in User Land

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

Watchdog in User Land

503 次查看
Lippa
Contributor I

I have a functional version with watchdog controlled by the kernel  but my need is to control it from my application so to deactivate it on the kernel side and reset the watchdog in my application.
How to do this in user land, is there an api exposed by a lib? or another method?
Thank you
Lippa

0 项奖励
回复
1 回复

499 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Lippa

 

for wdog apis one can look at unit test

https://source.codeaurora.org/external/imx/imx-test/tree/test/wdog?h=imx_5.4.24_2.1.0

and sect.2.11.8 Programming Interface i.MX Linux Reference Manual​

Some wdog fields are once written, so can not be changed

as described for example in sect.70.7.1 Watchdog Control Register (WDOGx_WCR)

i.MX 6Dual/6Quad Applications Processor Reference Manual

 

Best regards
igor

0 项奖励
回复