5 embedded functions, 1 watchdog timer, Watchdog timer – ADLINK ETX-CV User Manual

Page 14

Advertising
background image

ETX-CV User’s Manual

Page 14

5 Embedded Functions

All embedded board functions on ADLINK’s Computer on Modules are supported at the operating
system level using the ADLINK Intelligent Device Interface (AIDI) library. The AIDI API
programming interface is compatible and identical across all supported ADLINK Computer on
Modules and all supported operating systems. The AIDI library includes a demo program to
demonstrate the library’s functionallity.

5.1 Watchdog Timer

The ETX-CV implements a Watchdog timer that can be used to
automatically detect software execution problems or system hangs and
reset the board if necessary. The Watchdog timer consists of a counter
that counts down from an initial value to zero. When the system is
operating normally, the software that sets the intial value periodically
resets the counter so that the it never reaches zero. If the counter
reaches zero before the software resets it, the system is presumed to be
malfunctioning and a reset signal is asserted.

The AIDI Library Watchdog functions support Watchdog control of the board. If the Watchdog
begins countdown and reaches zero, it will access the CPU's RESET signal to reset the system.
This application must call another function named AidiWDogTrigger that triggers the Watchdog to
restart to prevent system reset.

AIDI Demo Program
- Watchdog Tab

The AIDI Demo Program allows
retrieval of the current Watchdog
status and updating of the
Watchdog settings

If the Watchdog is enabled, the
user can click the WDT Trigger
button to manually reset the
counter and prevent the system
from resetting

Advertising