Watchdog in User Land

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

Watchdog in User Land

316 Views
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 Kudos
1 Reply

312 Views
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 Kudos