Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.31 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.31 KB

WATCHDOG BREAKDOWN

Two watchdogs :

  • IMX internal ARM chip watchdog:
  • (APX external apx chip watchdog, this repo concerns IMX Watchdog only

IMX WATCHDOG

http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6SLRM.pdf

Devregs (tool for reading and setting registers) :

0x20bc000 watchdog :

  • write 0x0034 activate with 0.5 sec timout
  • write 0xff34 activate with 128sec timeout
  • example : devregs 0x20BC000 0xFF34

0x20bc002 ping address:

  • write 0x5555 and subsequently 0xAAAA for reset timer (this is what the wd_keepalive service is for)
  • example :
    • devregs 0x20BC002 0x5555
    • devregs 0x20BC002 0xAAAA

syntax for devregs is :

  • read : devregs 0x20bc000
  • write : devregs 0x20bc000 0x0034

this repo installs :