Description of hardware watchdog and software watchdog

User avatar
kolban
Posts: 131
Joined: Tue Jun 16, 2015 1:09 pm
Location: Fort Worth, Texas, USA

Description of hardware watchdog and software watchdog

Postby kolban » Tue Jul 07, 2015 1:07 am

I understand that a watchdog timer resets the device if control is given to user code and control is not returned within a given time period.

I am starting to read about the concepts of a "hardware" watchdog and a "software" watchdog. These result in the following questions:

- What is the difference between the hardware and software watchdogs?
- What are the timing values for these separate watchdogs?
- What might go wrong if user code were to keep control for too long?
- Is there a way to "yield" control back to the OS from user code but return control and state/context to where I yielded from?
- Do os_delay_us() timers yield control back to the OS?

Many thanks ... Neil

Who is online

Users browsing this forum: No registered users and 96 guests