AnsweredAssumed Answered

i.MX7D Watchdog reset status register, WDOG1_WRSR always report POR when wdog times out and resets the board.

Question asked by Swetang Sharma on Jun 15, 2018
Latest reply on Jun 19, 2018 by Swetang Sharma

Hi,

 

We have a custom board based using i.MX7D (MCIMX7D3DVK10SC). Our BSP is based on NXP kernel release imx_4.9.11_1.0.0_ga and boot loader release uboot-imx rel_imx_4.9.x_1.0.0_ga.

 

I am using and/or configuring WDOG1 similar to that of SABRE board.  When the board boots, I do "echo 1 > /dev/watchdog0" to start the watchdog and then do not reset timeout (starve the wdog). This leads to board reset and reboot the system. I then break into u-boot and do "md.w 0x3028004 1" to read WDOG_WRSR from uboot. It reports 0010 that maps to POR. It doesn't map to TOUT (wdog timeout). Also, I added printk statements in watchdog driver to print bootstatus from kernel. This too reports 0010 (POR).

 

The same behavior is observed with SABRE board as well.

 

Any help to get this resolved is appreciated.

 

imx7d watchdog wdog

Outcomes