zephyriot / zephyr-issues

0 stars 0 forks source link

Add Atmel SAM family watchdog (WDT) driver #1537

Closed nashif closed 7 years ago

nashif commented 7 years ago

Reported by Souvik Kumar Chakravarty:

In SAME70, the Watchdog is enabled by default at boot. If the Watchdog driver is disabled, it will result in periodic resets.

(Imported from Jira ZEP-1684)

nashif commented 7 years ago

by Souvik Kumar Chakravarty:

Disable the Watchdog at SoC Init. The Watchdog driver, if enabled, will re-enable it back.

nashif commented 7 years ago

by Souvik Kumar Chakravarty:

Need to add a watchdog driver to handle this, since the watchdog disable (WDDIS) bit can only be set once.

nashif commented 7 years ago

by Souvik Kumar Chakravarty:

Code review Done by Piotr

nashif commented 7 years ago

by Souvik Kumar Chakravarty:

Watchdog Timer with basic functionality was delivered. It can only disable the watchdog at boot to prevent platform resets due to WDT expiry.

nashif commented 7 years ago

by Souvik Kumar Chakravarty:

Basic Watchdog timer implemented with disable watchdog at boot.