Appendix
- 54 -
4.2 IRQ Map
4.3 Example of Watch Dog codes
struct product myproduct = {1, 0, "ITX-7415", 2, 3, 1, 1};
int main(void) {
typedef int (*DLLPROC)(ARGS);
DLLPROC BoardInit;
DLLPROC BoardClose;
DLLPROC WatchdogStart;
DLLPROC WatchdogStop;
HMODULE lib;
lib = LoadLibrary("libarborpu-0.dll");
if (!lib){
fprintf(stderr,"Could not find the Arbor Platform Utilities Library ... \N");
exit(0);
}
BoardInit = (DLLPROC) GetProcAddress(lib, "BoardInit");
WatchdogStart = (DLLPROC) GetProcAddress(lib, "WatchdogStart");
WatchdogStop = (DLLPROC) GetProcAddress(lib, "WatchdogStop");
BoardClose = (DLLPROC) GetProcAddress(lib, "BoardClose");
/* Initialize Arbor Board */
BoardInit(&myproduct);
WatchdogStart(10);
/* Close Arbor Board */
BoardClose();
}
Appendix
- 53 -
Item
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
IRQ
IRQ_0
IRQ_1
IRQ_2
IRQ_3
IRQ_4
IRQ_5
IRQ_6
IRQ_7
IRQ_8
IRQ_9
IRQ_10
IRQ_11
IRQ_12
IRQ_13
IRQ_14
IRQ_15
Description
System Timer
Keyboard Controller
VGA and Link to Secondary PIC
COM 2
COM 1
PCI Device
Floppy Controller
Parallel Port
CMOS/RTC Timer
ACPI
PCI Device
PCI Device
PS/2 Mouse
FPU exception
IDE Controller
PCI Express Controller
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <windows.h>
struct product {
unsigned char vendorid;
unsigned int boardid;
char *name;
unsigned char watchdogid;
unsigned char gpioid;
unsigned char eepromid;
unsigned char hardwaremonitorid;
};
Summary of Contents for EmCORE-v7002
Page 1: ......
Page 2: ...EmCORE v7002 VIA Eden 3 5 Embedded Board User s Manual Version 1 0 2008 04...
Page 4: ...Introduction 1 Introduction 1 Chapter 1...
Page 10: ...1 11 Board Dimensions Introduction 7...
Page 11: ...Installation 2 Chapter 2 Installation 8...
Page 22: ...BIOS 19 BIOS 3 Chapter 3...