imx2-wdt race condition

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

imx2-wdt race condition

593 Views
benoitmoffet
Contributor III

Is there a way to reboot a iMX6D with an active watchdog without the race condition between the normal reboot process and the watchdog itself? When the imx2-wdt is opened and we reboot the system which run linux kernel 3.10.17. About 20% of the time I get a WDG reboot.

Labels (4)
0 Kudos
1 Reply

446 Views
Yuri
NXP Employee
NXP Employee

1.
Perhaps the issue relates to the fact, that “when the system comes out of reset, this register
[SRC_SRSR] will have bits set corresponding to all the reset sources that occurred during system reset.
Software has to take care to clear this register by writing one after every reset that occurs so that the
register will contain the information of recently occurred reset”.

 

2.
If not used, ONOFF should be a no connect – please check.

Have a great day,
Yuri

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

0 Kudos