Watchdog Timer
71
NuPRO-A40H
Appendix A - Watchdog Timer
To use the Watchdog Timer on the NuPRO-A40H, first download
the WDT driver from the product page on the ADLINK website:
www.adlinktech.com/PD/web/PD_detail.php?cKind=&pid=1256
.
Install the driver by extracting the appropriate version for your
Windows operating system (32 or 64-bit), and copying it to the fol-
lowing location:
C:\Windows\System32\drivers
.
A sample program for configuring the NuPRO-A40H’s watchdog
timer is shown below.
A.1 Sample Code
#include <stdlib.h>
#include <float.h>
#include "Sema.h"
#include "SemaLog.h"
#include "ErrorCodes.h"
#include "Debug.h"
#include "Conv.h"
#include "dmi_info.h"
#include "Version.h"
#ifdef WIN32
#include <windows.h>
#else
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#endif
typedef struct
{
bool SetWatchdog;// Set/Reset/Disable watchdog?
word Watchdog;// Num of seconds for wdt to trigger
}tCmdLineArgs;
tCmdLineArgs CmdLineArgs;
char*
ExeName;
Summary of Contents for NuPRO-A40H
Page 6: ...vi Preface This page intentionally left blank ...
Page 9: ...Table of Contents ix NuPRO A40H Important Safety Instructions 83 Getting Service 85 ...
Page 10: ...x Table of Contents This page intentionally left blank ...
Page 12: ...xii List of Figures This page intentionally left blank ...
Page 14: ...xiv List of Tables This page intentionally left blank ...
Page 22: ...8 Introduction 1 6 Mechanical Drawing Figure 1 2 NuPRO A40H Board Dimensions ...
Page 26: ...12 Introduction This page intentionally left blank ...
Page 40: ...26 Hardware Information This page intentionally left blank ...
Page 76: ...62 BIOS Setup Memory Configuration Memory Remap Enabled or Disable Memory remap above 4G ...
Page 88: ...74 Watchdog Timer This page intentionally left blank ...
Page 96: ...82 System Resources This page intentionally left blank ...