6 embedded functions, 1 watchdog timer, 1 watchdog – ADLINK nanoX-TC User Manual

Page 21: Timer

Advertising
background image

Page 21

Express-IA533 User’s Manual

Page 21

Express-IA533 User’s Manual

nanoX-TC User’s Manual

Page 21

6 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 ADLINK Computer on Modules
and all supported operating systems. The AIDI library includes a demo program to
demonstrate the library’s functionallity.

6.1 Watchdog Timer

The nanoX-TC 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. The watchdog application must call another function named AidiWDogTrigger that
restarts the Watchdog timer in order 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