[U-Boot-Users] when to call the WATCHDOG_RESET()

Hi All, In my device initialization and other routines, how do I decide exactly when to call WATCHDOG_RESET ()?
Thanks & Regards Apoorv Sangal
************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **************************************************************************

In message 3D9FDCA910DD4445896A0BE5ECF009D4017EB335@bla.satyam.com you wrote:
In my device initialization and other routines, how do I decide exactly when to call WATCHDOG_RESET ()?
Estimate the time needed to run your code, and look up the minimum watchdog trigger time in your hardware specs. Than make sure you trigger the WD often enough.
Usually, there only few places where this is critical - check for those parts of the code before the timer interrupt is running, and after it for parts where interrupts get disabled (like when uncompressing a Linux kernel image).
Most systems behave harmless, but there are a few nasty ones like the LWMON board with a watchdog that needs triggering after a maximum of 80 millisec...
Best regards,
Wolfgang Denk
participants (2)
-
Apoorv_Sangal
-
Wolfgang Denk