U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual

Page 60

Advertising
background image

U-boot Deployment

COMX-P2020 BSP User Guide (6806800L84B)

60

The above command means that once we enable the watchdog and don't reset the
watchdog or disable the watchdog in 32 seconds, the system will reboot automatically.
The time of the watchdog can be set from 1 -124 seconds.

4. Reset Watchdog

There are two ways to reset the watchdog:

a. A transition (high-to-low or low-to-high) can be applied to the Watchdog Input pin

(WDI) which connects with the GPIO10.

b. The processor can perform a WRITE of the Watchdog Register. The time-out period

then starts over.

Here we use the first way to reset watchdog. The command: "wdg reset" can be used to
reset the watchdog:

=> wdg enable 20

=> wdg reset

=> wdg reset

5. Disable Watchdog

We can disable the watchdog by the command: "wdg disable":
=> wdg enable 20

=> wdg disable

Advertising