Diamond Systems HERCULES-EBX HRC400-5A128 User manual

GF
HERCULES-EBX™
High Integration EBX CPU
with Ethernet and Data Acquisition
Models HRC400-5A128, HRC550-5A128, HRC550-5N128, HRC750-5A256
User Manual
Document # 765800
Revision 1.02
Copyright 2003
Diamond Systems Corporation
8430-D Central Ave.
Newark, CA 94560
Tel (510) 456-7800
www.diamondsystems.com

Hercules-EBX CPU User Manual V1.02 Page 2
HERCULES-EBX High-Integration EBX CPU with Ethernet and Data Acquisition
TABLE OF CONTENTS
1. DESCRIPTION ................................................................................................................................6
2. FEATURES .....................................................................................................................................7
3. HERCULES BOARD DRAWING ............................................................................................................9
4. I/O HEADERS .............................................................................................................................. 11
4.1 PC/104 Bus Connectors .......................................................................................................... 11
4.2 PC/104+ Bus Connector ......................................................................................................... 12
4.3 PS/2 Connector – J6................................................................................................................ 14
4.4 Utility Connector – J7 ............................................................................................................. 14
4.5 Data Acquisition (Digital I/O) Connector – J8 (For Models with Data Acquisition) ............. 17
4.6 Data Acquisition (Analog I/O) Connector – J9 (Models with Data Acquisition Only) ........... 18
4.7 Ethernet – J10 / J11 ................................................................................................................ 19
4.8 Audio I/O Connector – J12 ..................................................................................................... 19
4.9 Speaker Connector – J13 ........................................................................................................ 20
4.10 CD Input Connector – J14 ......................................................................................................21
4.11 External Auxiliary Power Connector – J15 ............................................................................ 21
4.12 Primary IDE (44-pin) – J16 .................................................................................................... 22
4.13 Secondary IDE (40-pin) – J17................................................................................................. 23
4.14 Serial Port I/O Connector – J18 ............................................................................................. 24
4.15 External Battery Connector – J20........................................................................................... 25
4.16 USB 2/3 and 0/1 Headers – J21, J22 ......................................................................................26
4.17 USB1 Connector- J23.............................................................................................................. 26
4.18 LCD Panel (LVDS Interface) Connector – J24 ....................................................................... 27
4.19 VGA Connector – J25 .............................................................................................................27
4.20 Video / TV Out Connector – J26 ............................................................................................. 28
4.21 CPU Fan Connector – J27...................................................................................................... 29
4.22 LCD Backlight Connector – J28 ............................................................................................. 29
4.23 Low-Voltage Power Input Connector – J29 ............................................................................ 30
4.24 <OPTIONAL> High-Voltage Power Input Connector – J30.................................................. 31
4.25 <OPTIONAL> Compact Flash Slot – J34 .............................................................................. 32
4.26 <OPTIONAL> Disk-On-Chip – U28 socket ........................................................................... 32
5. JUMPER CONFIGURATION ........................................................................................................... 33
5.1 J4: System Configuration ........................................................................................................33
5.2 J5: Data Acquisition Configuration ........................................................................................ 35
5.3 J19 : PCI VI/O Voltage Setting ............................................................................................... 36
5.4 J33: Data Acquisition Calibration Test Points ....................................................................... 37
5.5 CRISIS RECOVERY: System Recovery Contacts .................................................................... 38
6. SYSTEM FEATURES .......................................................................................................................... 39
6.1 System Resources .................................................................................................................... 39
6.2 COM Port / FPGA Control Registers...................................................................................... 40
6.3 Console Redirection to a Serial Port....................................................................................... 40
6.4 Watchdog Timer ...................................................................................................................... 42
6.5 Failsafe Mode / BIOS Recovery .............................................................................................. 43
6.6 Flash Memory ......................................................................................................................... 43
6.7 Backup Battery ........................................................................................................................ 43
6.8 System Reset............................................................................................................................ 44
6.9 On-Board Video ...................................................................................................................... 44
7. BIOS ........................................................................................................................................... 45
7.1 BIOS Settings .......................................................................................................................... 45
7.2 BIOS Download / Crisis Recovery .......................................................................................... 47
7.3 BIOS COM Port Settings......................................................................................................... 47
7.4 BIOS Console Redirection Settings ......................................................................................... 49
8. SYSTEM I/O................................................................................................................................. 50
8.1 Ethernet................................................................................................................................... 50
8.2 Serial Ports.............................................................................................................................. 50

Hercules-EBX CPU User Manual V1.02 Page 3
8.2.1 RS-232 Mode ..........................................................................................................................................51
8.2.2 RS-485 Mode ..........................................................................................................................................51
8.3 PS/2 Ports................................................................................................................................ 52
8.4 USB Ports................................................................................................................................ 52
9. NOTES ON OPERATING SYSTEMS AND BOOTING PROCEDURES ............................................... 53
9.1 Windows Operating Systems Installation Issues ..................................................................... 53
9.1.1 Driver installation ...................................................................................................................................53
9.1.2 BIOS Settings for Windows....................................................................................................................53
9.1.3 CompactFlash Under Windows...............................................................................................................54
9.2 DOS Operating Systems Installation Issues ............................................................................ 54
9.3 CompactFlash Compatability Issues under DOS .......................Error! Bookmark not defined.
10. DATA ACQUISITION CIRCUIT – I/O MAP AND REGISTER DESCRIPTIONS ...................................... 55
10.1 Data Acquisition Circuitry I/O Map........................................................................................ 56
10.1.1 Base Address.........................................................................................................................................56
Register Map Bit Assignments.........................................................................................................................58
10.1.2 Page 0 Register Definitions...................................................................................................................62
10.1.3 Page 1 Register Definitions...................................................................................................................72
10.1.4 Page 2 Register Definitions...................................................................................................................76
10.1.5 Page 3 Register Definitions...................................................................................................................77
11. DATA ACQUISITION CIRCUIT CONFIGURATION ............................................................................ 78
12. ANALOG-TO-DIGITAL INPUT RANGES AND RESOLUTION ............................................................. 79
12.1.1 Overview...............................................................................................................................................79
12.1.2 Input Range Selection ...........................................................................................................................79
12.1.3 Input Range Table.................................................................................................................................79
12.2 Performing an A/D Conversion............................................................................................... 80
12.2.1 Select the input channel ........................................................................................................................80
12.2.2 Select the input range............................................................................................................................80
12.2.3 Wait for analog input circuit to settle....................................................................................................80
12.2.4 Perform an A/D conversion on the current channel ..............................................................................81
12.2.5 Wait for the conversion to finish...........................................................................................................81
12.2.6 Read the data from the board ................................................................................................................81
12.2.7 Convert the numerical data to a meaningful value ................................................................................83
12.3 A/D Scan, Interrupt, and FIFO Operation .............................................................................. 84
12.4 Hercules-EBX A/D Operating Modes...................................................................................... 85
13. DIGITAL-TO-ANALOG OUTPUT RANGES AND RESOLUTION.......................................................... 87
13.1 Description.............................................................................................................................. 87
13.2 Resolution................................................................................................................................ 87
13.3 Output Range Selection ........................................................................................................... 87
13.4 D/A Conversion Formulas and Tables .................................................................................... 88
13.4.1 Generating an Analog Output ...............................................................................................................90
13.4.2 Compute the D/A code for the desired output voltage ..........................................................................90
13.4.3 Write the value to the selected output channel Registers ......................................................................90
13.4.4 Set Registers for Channel......................................................................................................................90
13.4.5 Wait for the D/A to update....................................................................................................................91
13.5 Analog Circuit Calibration Resources .................................................................................... 92
13.6 Analog Circuit Calibration Procedures .................................................................................. 93
13.7 Using EEPROM ...................................................................................................................... 94
13.7.1 Reading Value from EEPROM .............................................................................................................94
13.7.2 Writing value to EEPROM ...................................................................................................................94
13.8 Digital I/O Operation.............................................................................................................. 95
13.9 Special Digital I/O Operation – Port E................................................................................... 96
13.9.1 DIO Handshaking Operation.................................................................................................................97
13.9.2 DIO Pull-up/Down Settings ..................................................................................................................97
14. COUNTER/TIMER OPERATION..................................................................................................... 99
14.1 Counter 0 – A/D Sample Control ............................................................................................ 99
14.2 Counter 1 – Counting/Totalizing Functions ............................................................................ 99
14.3 Command Sequences............................................................................................................. 100
15. PULSE-WIDTH MODULATION OPERATION ................................................................................ 102
15.1 Pulse-Width Modulation Example......................................................................................... 103
16. WATCHDOG TIMER PROGRAMMING.......................................................................................... 105
16.1 Example : Watchdog Timer With Software Trigger .............................................................. 105
16.2 Example : Watchdog Timer With Hardware Trigger ............................................................ 106
17. DATA ACQUISITION SPECIFICATIONS........................................................................................ 107

Hercules-EBX CPU User Manual V1.02 Page 4
18. FLASHDISK MODULE................................................................................................................. 108
18.1 Installing the Flashdisk Module ............................................................................................ 108
18.2 Configuration ................................................................................................................... 108
18.3 Using the Flashdisk with Another IDE Drive ............................................................... 108
18.4 Power Supply .................................................................................................................. 108
19. “UTILITY” BOARD ..................................................................................................................... 109
20. DATA ACQUISITION TEST BOARD .............................................................................................. 110
20.1 Connecting the DAQ Test Board .................................................................................. 110
20.2 DAQ Board DIO interface .............................................................................................. 111
20.2.1 DIO A – DIO B loopback ...................................................................................................................111
20.2.2 DIO C – DIO D – DIOE loopback ......................................................................................................111
20.2.3 Special Functions ................................................................................................................................112
20.3 DAQ Board Analog Testing........................................................................................... 114
20.3.1 Analog Output Connections ................................................................................................................114
20.3.2 Analog Input Connections...................................................................................................................114
20.3.3 General DAQ Testing Suggestions / Comments .................................................................................114
21. FLASH DISK PROGRAMMER BOARD ......................................................................................... 116
22. I/O CABLES ............................................................................................................................... 117
23. MOUNTING PC/104(+) CARDS ONTO A HERCULES-EBX BASEBOARD ................................... 119
24. COMPACT FLASH....................................................................................................................... 119
25. CUSTOMIZATION OPTIONS ........................................................................................................ 119
TABLES
Table 1: J1,J2 – PC/104 Connector Pinouts ..................................................................................11
Table 2: J3 – PC/104+ Connector Pinout.......................................................................................12
Table 3: J6 - PS/2 Connector Pinout ..............................................................................................14
Table 4: J7 - Utility Connector Pinout .............................................................................................14
Table 5: J8 – Data Acquisition (DIO) Header Pinout......................................................................17
Table 6: J9 – Data Acquisition (Analog I/O) Header Pinout ...........................................................18
Table 7: J11 – Ethernet Header Pinout ..........................................................................................19
Table 8: J12 – Audio I/O Connector Pinout ....................................................................................19
Table 9: J13 – Amplified Speaker Connector Pinout......................................................................20
Table 10: J14 – CD Input Connector Pinout...................................................................................21
Table 11: J15– Auxiliary Power Connector Pinout .........................................................................21
Table 12 : J16 – Primary IDE Connector Pinout.............................................................................22
Table 13: J17 – Secondary IDE Connector Pinout.........................................................................23
Table 14: J18 – RS232 Serial Port Connector Pinout ....................................................................24
Table 15: J18 – RS485 Serial Port Connector Pinout ....................................................................25
Table 16: J20 – External Battery Input ...........................................................................................25
Table 17: J21 and J22 – USB Header Pinout.................................................................................26
Table 18: J23 – On-board USB Connector Pinout .........................................................................26
Table 19: J24 – LCD Connector Pinout..........................................................................................27
Table 20: J25 – VGA Header Pinout ..............................................................................................27
Table 21: J26 – Video Out Header Pinout......................................................................................28
Table 22: J27 – CPU Fan Connector Pinout ..................................................................................29

Hercules-EBX CPU User Manual V1.02 Page 5
Table 23: J28 – LCD Backlight Connector Pinout ..........................................................................29
Table 24: J29 – Main Power Input Connector Pinout .....................................................................30
Table 25: J30 – Optional High-Voltage Power Input Pinout ...........................................................31
Table 26: J19 – PC/104+ (PCI) VIO Power Selection ....................................................................36
Table 27: J33 – DAQ Test Point Pinout..........................................................................................38
Table 28: System Resources .........................................................................................................39
Table 29: I/O COM3/4 Control Register Definition .........................................................................40
Table 30: Crisis Recovery Loopback..............................................................................................47
Table 31: J11 – Ethernet Connector...............................................................................................50
Table 32: COM PORT Default Resource Listing............................................................................50
Table 33: Data Acquisisition : Analog Input Range ........................................................................79
Table 34: A/D Operating Modes .....................................................................................................86
Table 35: Calibration Control Signal Listing ...................................................................................92
Table 36: Calibration Multiplexed Signal Control............................................................................92
Table 37: Trim-DAC (AD8801) Outputs..........................................................................................93
Table 38: DIO Data and Control Registers (Page 0) ......................................................................95
Table 39: DIOCTR0 (DIO3-0 Alternate Functions).........................................................................96
Table 40: DIOCTR1 (DIO7-4 Alternate Functions).........................................................................96
Table 41: DIO Pull-Up/Down Configuration....................................................................................98
Table 42: PWM Control Signal Truth Table..................................................................................102
Table 43: Hercules-EBX Cable Kit (DSC#C-HRCEBX-KIT)........................................................117
FIGURES
Figure 1 : J4 – System Configuration Header ................................................................................33
Figure 2 : J4 – Default Jumper Settings .........................................................................................33
Figure 3 : J4 –IRQ Jumper Setting Examples ................................................................................34
Figure 4 : J4 – Power and Termination Settings ............................................................................34
Figure 5 : J5 – Data Acquisition Configuration Header ..................................................................35
Figure 6 : J5 – Default Jumper Settings .........................................................................................36
Figure 7 : J5 – DIO Pull-up/Pull-Down Examples...........................................................................36
Figure 8 : Possible VIO Settings for J19.........................................................................................37
Figure 9 : Watchdog Timer Block Diagram.....................................................................................42
Figure 10 : DIOLATCH / ACK Handshaking Diagram ....................................................................97
Figure 11 : Utility Board (for J7)....................................................................................................109
Figure 12 : Data Acquisition (DAQ) Test Board............................................................................110
Figure 13 : ACC-IDEEXT FlashDisk Programmer Board .............................................................116
Figure 14 : Hercules-EBX Cable Kit .............................................................................................118

Hercules-EBX CPU User Manual V1.02 Page 6
HERCULES High-Integration EBX CPU with Ethernet and Data Acquisition
1. DESCRIPTION
Hercules is an embedded CPU board in an EBX form factor that integrates a complete embedded
PC, consisting of the following subsystems onto a single compact board:
♦ CPU
♦ Core PC Chipset (including memory controller, PCI interface, and ISA interface)
♦ Video
♦ Sound
♦ Ethernet
♦ Analog I/O
A detailed list of features is shown on the next page.
Hercules-EBX conforms to the EBX standard with expansion support via PC/104+, an embedded
standard that is based on the ISA and PCI buses and provides a compact, rugged mechanical
design for embedded systems. PC/104 modules feature a pin and socket connection system in
place of card edge connectors, as well as mounting holes for stand-offs in each corner. The result
is an extremely rugged computer system fit for mobile and miniature applications. PC/104
modules stack together with 0.6” spacing between boards (0.662” pitch including the thickness of
the PCB). A mechanical drawing of a standard PC/104 board is shown on page 122.
For more information on PC/104, visit www.pc104.org.
Hercules-EBX uses the PCI bus internally to connect the Ethernet circuit to the processor. It uses
the ISA bus internally to connect serial ports 3 and 4, as well as the data acquisition circuit, to the
processor. Both the ISA and PCI buses are brought out to expansion connectors for the
connection of add-on boards. Diamond Systems manufactures a wide variety of compatible
PC/104 add-on boards for analog I/O, digital I/O, counter/timer functions, serial ports, and power
supplies.

Hercules-EBX CPU User Manual V1.02 Page 7
2. FEATURES
System Features
Processor Section
♦ Via Eden Processor running at 400MHz with integrated math co-processor
♦ Pentium-class platform including SDRAM and PCI-based IDE controller and USB
Core System
♦ 128MB SDRAM system memory (standard)
♦ 100MHz memory bus
♦ 2MB 16-bit wide integrated flash memory for BIOS and user programs
♦ 2D VGA Video graphics engine (VESA-style VGA output with DDC Monitor support)
♦ 33MHz PCI Bus
I/O
♦ 4 serial ports, 115.2kbaud max
♦ 2 ports 16550-compatible
♦ 2 ports 16850-compatible with 128-byte FIFOs and RS485 capability
♦ 4 full-featured powered USB ports
♦ 2 IDE drive connectors (standard 40-pin IDE and 44-pin version for notebook drives)
♦ Accepts solid-state flash disk modules directly on board
♦ 10/100 BaseT full-duplex PCI bus mastering Ethernet (100Mbps or 10Mbps)
♦ IrDA port (requires external transceiver)
♦ PS/2 keyboard and mouse ports
♦ LEDs
♦ Interface for speaker and additional external LEDs
System Features
♦ Plug and play BIOS with IDE auto detection, 32-bit IDE access, and LBA support
♦ Built-in fail-safe boot ROM for system recovery in case of BIOS corruption
♦ User-selectable COM2 terminal mode
♦ On-board lithium backup battery for real-time-clock and CMOS RAM
♦ ATX power switching capability
♦ Programmable watchdog timer
♦ Wide input (5V – 28V) power supply*
♦ Extended temperature range operation (-40 to +85oC)
* - limitations apply below 6V input

Hercules-EBX CPU User Manual V1.02 Page 8
Data Acquisition Subsystem
Analog Input
♦ 32 single-ended / 16 differential inputs, 16-bit resolution
♦ 250KHz maximum aggregate A/D sampling rate
♦ Programmable input ranges/gains with maximum range of ±10V / 0-10V
♦ Both bipolar and unipolar input ranges
♦ 5 ppm/oC drift accuracy
♦ Internal and external A/D triggering
♦ 2048-sample FIFO for reliable high-speed sampling and scan operation
Analog Output
♦ 4 analog outputs, 12-bit resolution
♦ ±10V and 0-10V output ranges
♦ Simultaneous update
♦ Adjustable output range (optional)
Digital I/O
♦ 32 programmable digital I/O, 3.3V and 5V logic compatible
♦ Enhanced output current capability: –8/+12mA max
♦ Selectable pull-up/down resistors on board
Counter/Timers
♦ 1 24-bit counter/timer for A/D sampling rate control
♦ 1 16-bit counter/timer for user counting and timing functions
♦ Programmable gate and count enable
♦ Internal and external clocking capability

Hercules-EBX CPU User Manual V1.02 Page 9
3. HERCULES BOARD DRAWING

Hercules-EBX CPU User Manual V1.02 Page 10
I/O Connectors with locations (pin 1 relative to upper-left mounting hole)
J1 PC/104 8-bit bus connector (2.700, -5.050 in)
J2 PC/104 16-bit bus connector (3.500, -5.250 in)
J3 PC/1-4+ PCI bus connector (3.100, -2.112 in)
J6 PS/2 Header (6.945, -5.015 in)
J7 Utility Header (7.240, -5.320 in)
J8 Data Acquisition Digital I/O Header (7.570, -2.620 in)
J9 Data Acquisition (Analog) Header (7.121, -2.829 in)
J10 Ethernet (RJ45) (7.284, -2.233 in)
J11 Ethernet (Header) (7.200, -1.610 in)
J12 Audio I/O Header (7.680, -0.730 in)
J13 Speaker Header (7.300, -0.460 in)
J14 CD Input Header (7.680, -0.260 in)
J15 External Power Connector (out) (7.310, 0.130 in)
J16 Primary IDE (44-pin, laptop) (4.833, -1.627 in)
J17 Secondary IDE (40-pin standard) (5.060, -0.030 in)
J18 Serial Port I/O Connector (2.730, -0.030 in)
J20 External Battery (2.935, -1.177 in)
J21 USB2/3 Header (1.910, -0.030 in)
J22 USB0/1 Header (1.080, -0.030 in)
J23 USB1 Connector (0.637, -0.031 in)
J24 LCD Panel connector (0.132, -1.974 in)
J25 VGA Header (0.040, -3.240 in)
J26 Video/TV Out Header (-0.080, -3.920 in)
J27 CPU Fan (-0.100, -4.240 in)
J28 LCD Backlight Header (0.950, -5.430 in)
J29 Low-Voltage (5-28V) Input Power Header (2.310, -5.430 in)
J30 High-Voltage Input Header <OPTIONAL> (2.110, -5.170 in)
J34 CompactFlash (Bottom) <OPTIONAL> (5.287, -1.343 in)
Configuration Jumper Blocks
J4 System configuration jumper block (3.095, -1.267 in)
J5 Data acquisition configuration jumper block (6.220, -4.105 in)
J33 Data Acquisition Test Points (5.792, -3.015 in)

Hercules-EBX CPU User Manual V1.02 Page 11
4. I/O HEADERS
All cables mentioned in this chapter are included in Diamond Systems’ cable kit C-HRCEBX-KIT.
These cables are further described in chapter 22. Some cables are also available individually.
4.1 PC/104 Bus Connectors
The PC/104 bus is essentially identical to the ISA Bus except for the physical design. It specifies
two pin and socket connectors for the bus signals. A 64-pin header J1 incorporates the 62-pin 8-
bit bus connector signals, and a 40-pin header J2 incorporates the 36-pin 16-bit bus connector
signals. The additional pins on the PC/104 connectors are used as ground or key pins. The
female sockets on the top of the board enable stacking A PC/104 board on top of the board. The
Hercules-EBX board should be the bottom board of a PC/104 stackup.
In the pinout figures below, the tops correspond to the left edge of the connector when the board
is viewed from the primary side (side with the CPU chip and the female end of the PC/104
connector) and the board is oriented so that the PC/104 connectors are along the bottom edge of
the board.
View from Top of Board
J2: PC/104 16-bit bus connector J1: PC/104 8-bit bus connector
Ground D0 C0 Ground IOCHCHK- A1 B1 Ground
MEMCS16- D1 C1 SBHE- SD7 A2 B2 RESET
IOCS16- D2 C2 LA23 SD6 A3 B3 +5V
IRQ10 D3 C3 LA22 SD5 A4 B4 IRQ9
IRQ11 D4 C4 LA21 SD4 A5 B5 -5V
IRQ12 D5 C5 LA20 SD3 A6 B6 DRQ2
IRQ15 D6 C6 LA19 SD2 A7 B7 -12V
IRQ14 D7 C7 LA18 SD1 A8 B8 0WS-
DACK0- D8 C8 LA17 SD0 A9 B9 +12V
DRQ0 D9 C9 MEMR- IOCHRDY A10 B10 Key (pin cut)
DACK5- D10 C10 MEMW- AEN A11 B11 SMEMW-
DRQ5 D11 C11 SD8 SA19 A12 B12 SMEMR-
DACK6- D12 C12 SD9 SA18 A13 B13 IOW-
DRQ6 D13 C13 SD10 SA17 A14 B14 IOR-
DACK7- D14 C14 SD11 SA16 A15 B15 DACK3-
DRQ7 D15 C15 SD12 SA15 A16 B16 DRQ3
+5V D16 C16 SD13 SA14 A17 B17 DACK1-
MASTER- D17 C17 SD14 SA13 A18 B18 DRQ1
Ground D18 C18 SD15 SA12 A19 B19 Refresh-
Ground D19 C19 Key (pin cut) SA11 A20 B20 SYSCLK
SA10 A21 B21 IRQ7
SA9 A22 B22 IRQ6
SA8 A23 B23 IRQ5
SA7 A24 B24 IRQ4
SA6 A25 B25 IRQ3
SA5 A26 B26 DACK2-
SA4 A27 B27 TC
SA3 A28 B28 BALE
SA2 A29 B29 +5V
SA1 A30 B30 OSC
SA0 A31 B31 Ground
Ground A32 B32 Ground
Table 1: J1,J2 – PC/104 Connector Pinouts

Hercules-EBX CPU User Manual V1.02 Page 12
4.2 PC/104+ Bus Connector
J3/P3
Pin A B C D
1 GND/5.0V KEY2Reserved +5 AD00
2 VI/O AD02 AD01 +5V
3 AD05 GND AD04 AD03
4 C/BE0* AD07 GND AD06
5 GND AD09 AD08 GND
6 AD11 VI/O AD10 M66EN
7 AD14 AD13 GND AD12
8 +3.3V C/BE1* AD15 +3.3V
9 SERR* GND SB0* PAR
10 GND PERR* +3.3V SDONE
11 STOP* +3.3V LOCK* GND
12 +3.3V TRDY* GND DEVSEL*
13 FRAME* GND IRDY* +3.3V
14 GND AD16 +3.3V C/BE2*
15 AD18 +3.3V AD17 GND
16 AD21 AD20 GND AD19
17 +3.3V AD23 AD22 +3.3V
18 IDSEL0 GND IDSEL1 IDSEL2
19 AD24 C/BE3* VI/O IDSEL3
20 GND AD26 AD25 GND
21 AD29 +5V AD28 AD27
22 +5V AD30 GND AD31
23 REQ0* GND REQ1* VI/O
24 GND REQ2* +5V GNT0*
25 GNT1* VI/O GNT2* GND
26 +5V CLK0 GND CLK1
27 CLK2 +5V CLK3 GND
28 GND INTD* +5V RST*
29 +12V INTA* INTB* INTC*
30 -12V Reserved Reserved GND/3.3V KEY2
Table 2: J3 – PC/104+ Connector Pinout

Hercules-EBX CPU User Manual V1.02 Page 13
The PC/104+ bus is essentially identical to the PCI Bus except for the physical design. It specifies
a single pin and socket connector for the bus signals. A 120-pin header J3, arranged as 4 30-pin
rows, incorporates a full 32-bit, 33MHz PCI Bus. The additional pins on the PC/104+ connectors
are used as ground or key pins. The female sockets on the top of the board enable stacking
another PC/104+ board on top of the board. The Hercules-EBX board should be the bottom board
of a PC/104+ stackup.
In the pinout figures above, the top corresponds to the left edge of the connector when the board
is viewed from the primary side (side with the CPU chip and the female end of the PC/104+
connector) and the board is oriented so that the PC/104 connectors are along the bottom edge of
the board and the PC/104+ connector is in the center of the Hercules-EBX board.
NOTE:
The PCI board interface is designed to allow different voltage-levels for the signaling interface.
The problem to be avoided in defining a keying mechanism within the specification was to prevent
a 3.3V-only device which is not 5V tolerant from receiving signals that are at a 5V signal rail. In a
standard PCI interface, this is handled by blocking a portion of the edge connector such that the
female connector is keyed as either “3.3V” or “5V”. The intention in doing this was to provide a
way to prevent a 3.3V-only card in a 5V system. Many vendors chose to implement a “universal”
edge connector that could fit into either configuration – this was typically done in one of two ways:
1) Use 3.3V signaling that is 5V-tolerant; or
2) Use the VIO pins on the PCI edge connector to power the I/O drive circuitry (or the
maximum voltage overshoot protection circuitry) on the card.
From a system perspective, the primary question is: which standard can you support? Many card
vendors chose to implement a specific standard (such as “5V only”) and then connect the VIO
signals to the internal power rail (such as “5V”) signals on the PCI edge connector. While this is a
violation of the more recent PCI specification, it was also relatively common, especially for card
developers who began developing PCI cards before the standard was updated for 3.3V support.
On the Hercules-EBX, all of the PCI circuitry is driven with 3.3V circuitry, but all of the circuitry is
5V tolerant. Given this, the Hercules-EBX main board can support either 3.3V or 5V-only cards.
For this reason, the connector is not keyed (to prevent one or the other types of cards from being
inserted). Rather, the main EBX board allows you to select which I/O voltage to use for a given
PC/104+ card (or set of cards).
Many PC/104+ cards are universal, in which case the voltage setting will not matter (provided
that it is set to either 3.3V or 5V). For cards that have a definite requirement, make sure that the
VIO jumper is set to the appropriate position. See page 36 for the details on this setting.
As per the specification, a 5V-only card can be recognized by the keying postion at location A1
(they have male pin A1 cut and female location A1 should be blocked).
Similarly, cards that are to have 3.3V power should have pin D30 cut (and female location D30
plugged).
Cards without either keying mechanism should be “universal” and should work with either I/O
voltage provided.
DO NOT MIX cards that have different I/O keying requirements (i.e., do not stack a card that has
pin A1 cut with a card that has pin D30 cut).

Hercules-EBX CPU User Manual V1.02 Page 14
4.3 PS/2 Connector – J6
An 8-pin connector is provided for PS/2 Mouse and keyboard. This connector mates with
Diamond Systems’ cable no. 698022, which terminates the cable to two PS/2 Female connectors.
The connections are:
1 +5V In Keyboard PS/2 : pin 4
2 Keyboard Data Keyboard PS/2 : pin 1
3 Keyboard Clock Keyboard PS/2 : pin 5
4 Ground Keyboard PS/2 : pin 3
5 +5V In Mouse PS/2 : pin 4
6 Mouse Data Mouse PS/2 : pin 1
7 Mouse Clock Mouse PS/2 : pin 5
8 Ground Mouse PS/2 : pin 3
Table 3: J6 - PS/2 Connector Pinout
Note: 2 and 6 on the Mini-Din-6 PS/2 connectors are unused.
Connector Part Numbers
J6 plug on CPU board: Digikey 640456-8
Mating Connector for J6 (Cable-mount socket): Molex 22-01-3087
PS/2 Connector: CUI MD60SP
4.4 Utility Connector – J7
A 20-pin connector provides access to the standard button/LED connections:
Ground 1 2 Reset Key
Ground 3 4 Power Button
Network : Activity LED 5 6 +3.3V Standby
Network : 100MBit link 7 8 +3.3V Standby
+5V In 9 10 IDE LED
Power LED 11 12 External Battery
Watch Dog Timer - Input 13 14 Ground
SPEAKER 15 16 Watch Dog Timer - Output
+5V In 17 18 IRTX (IR Transmit)
IRRX (IR Receive) 19 20 Ground
Table 4: J7 - Utility Connector Pinout
Notes on J7 Signals
Reset Key Connection between this pin and Ground will generate a Reset
condition. The board will be in a reset state (with non-standby power
rails disabled) until “Reset Key” is removed from ground.
ATX Power Button This should be tied to ground whenever the “Power Button” is to be
depressed. The “Power Button” has different functionality, depending
on the current system mode (as well as what software is currently in
operation). In general,
• If the board is powered down, then toggling (i.e., tie to ground
briefly, then release) this button turns the system on, causing all
non-standby voltages to become active. NOTE: depending on the
default configuration, the system will usually power-up immediately
as power is applied.

Hercules-EBX CPU User Manual V1.02 Page 15
• If the system is currently powered up and active, then toggling (i.e.,
tie to ground briefly, then release) this button will cause a system
power-down event to be initiated. Typically, this will power-down
the monitor, hard drive, and any other non-essential functions. The
system must be operating for this to function; this will not function at
all if software is not executing (crash).
Under Windows (and some other OSes), this power-down event
may cause the system to shut down. Typically, this is software-
configurable via an option setting for the given OS.
• If the system is currently powered up and active, then holding this
button for 4 seconds will cause a forced system shutdown. This is
a hardware power-down, which can be detrimental to many OSes
due to the fact that they are not given adequate time to initiate shut-
down sequencing. This should only be used in dire circumstances
when the system itself is locked up (due to system instability or a
software crash, for example). After powering the system down in
this manner, the system will remain powered down until the power
button is toggled (tied to ground again and released).
When ATX is enabled, a momentary contact between this pin and
Ground causes the CPU to turn on and a contact of 4 seconds or longer
will generate a power shutdown. ATX power control is enabled with a
jumper on jumper block J4 (see page 33).
+5V This pin is a switched power pin that is turned on and off with the ATX
power switch or with the +5V input.
+3.3V Standby This pin is a special “standby voltage” that is provided, regardless of
system power-down mode. This voltage will be present anytime the
system has power connected, regardless of current system power-down
state. This voltage is not intended as a major power-source for external
devices; it is intended to allow external display of current system power
status. This power supply should not be used unless absolutely
necessary; in that case, it should only be used as a source for LED
display (or similar power draw).
Network: Activity LED This pin provides a signal that is the same as the LED marked “ACT” on
the main board. It lights during receive or transmit activity on the
Ethernet connection. An LED should be tied between power and this
pin
Network: 100MBit link This pin provides a signal that is the same as the LED marked “100” on
the main board. It lights whenever a 100MBit Ethernet link is
established. An LED should be tied between power and this pin.
IDE LED Referenced to +5V Out. Requires a series resistor. Connect LED
directly between this pin and resistor (to +5V).
Power LED Referenced to +5V Out. Does not require a series resistor. Connect
LED directly between this pin and +5V Out. Note that this displays the
system main power; if the system is in a power-down mode, this LED
may be inactive while the system is still receiving power to its standby
voltage sources.

Hercules-EBX CPU User Manual V1.02 Page 16
Speaker The signal on this pin is referenced to +5V Out. Connect a speaker
between this pin and +5V Out.
IR Receive / Transmit These pins are used for IrDA functions. They should be connected to
an external IrDA transceiver, when needed. IR communications require
that COM PORT 2 be set for “IR” mode for the IR serial port functionality
to be active.
External Battery This pin is an additional power connection for an external +3V power
source (in addition to connector J20). Note that these two sources are
not directly connected and may both be driven by separate external
battery power sources. Typical power draw from this battery source will
average under 4uA of current.
Watchdog Input/Output These signals are signals are used in conjunction with the on-board
FPGA and Data Acquisition circuitry to provide full watchdog timer
functionality. See page 42 for details on these capabilities.
Connector Part Numbers
J7 plug on CPU board: PHYCO 2120-20S
Both cable-mount and board-mount connectors are available to mate with J7:
Cable-mount socket: Phyco 1100-10
Board-mount socket: Samtec SSM-112-S-DV-A or
Oupiin 2043-2X12TDP

Hercules-EBX CPU User Manual V1.02 Page 17
4.5 Data Acquisition (Digital I/O) Connector – J8 (For Models with Data Acquisition)
Hercules-EBX Models with Data Acquisition include a 50-pin header labeled J8 for all digital data
acquisition I/O. This header is located on the right side of the board. Pin 1 is the lower right pin
and is marked on the board. Diamond Systems’ cable no. C-50-18 provides a standard 50-pin
connector at each end and mates with this header.
DIO A0 1 2 DIO A1
DIO A2 3 4 DIO A3
DIO A4 5 6 DIO A5
DIO A6 7 8 DIO A7
DIO B0 9 10 DIO B1
DIO B2 11 12 DIO B3
DIO B4 13 14 DIO B5
DIO B6 15 16 DIO B7
DIO C0 17 18 DIO C1
DIO C2 19 20 DIO C3
DIO C4 21 22 DIO C5
DIO C6 23 24 DIO C7
DIO D0 25 26 DIO D1
DIO D2 27 28 DIO D3
DIO D4 29 30 DIO D5
DIO D6 31 32 DIO D7
DIO E0 / PWM0 33 34 DIO E1 / PWM1
DIO E2 / PWM2 35 36 DIO E3 / PWM3
DIO E4 / GATE1 37 38 DIO E5 / TOUT1
DIO E6 / DIOLATCH 39 40 DIO E7 / GATE0
EXTTRIG 41 42 TOUT0
ACK 43 44 WDI
WDO 45 46 FXA
FXB 47 48 FXB
+5V 49 50 Digital Ground
Table 5: J8 – Data Acquisition (DIO) Header Pinout
Signal Name Definition
DIO A7-A0 Digital I/O port A; programmable direction
DIO B7-B0 Digital I/O port B; programmable direction
DIO C7-C0 Digital I/O port C; programmable direction
DIO D7-D0 Digital I/O port D; programmable direction
DIO E7-E0 Digital I/O port E; programmable direction
Note : E3-E0 may be configured for PWM signals; see page 102
PWM3-PWM0 Pulse-Width Modulation Outputs (4 independent channels)
Note : E7-E4 may be configured for counter/timer signals; see page 96
GATE 1-0 Gate inputs for Counter/Timer 1 and 0
TOUT1 Counter/Timer 1 output
DIOLATCH Handshaking line used (with ACK signal below) for automated digital
data transfers
Ext Trig External A/D trigger input, External Counter/Timer 1 input
Tout 0 Counter/Timer 1 output
+5V Out Connected to switched +5V supply (output only! Do not connect to
external supply)

Hercules-EBX CPU User Manual V1.02 Page 18
Digital Ground Digital ground (0V - reference); used for digital circuitry only
WDO Watchdog Timer Output (from Hercules-EBX board)
WDI Watchdog Timer Input (to Hercules-EBX board)
ACK Handshaking line used (with DIOLATCH signal) for automated digital
data transfers
FXA, FXB These lines should be left unconnected
NOTE: The watchdog timer circuit is described on page 42 of this manual. It may be programmed
directly or with Diamond Systems’ Universal Driver software.
Connector Part Numbers
J8 plug on CPU board: Phyco 2120-50S
Ribbon Cable Plug: Standard 2x25 0.1” female ribbon cable header
4.6 Data Acquisition (Analog I/O) Connector – J9 (Models with Data Acquisition Only)
Single-Ended Differential
Vout 0 1 2 Vout 1 Vout 0 1 2 Vout 1
Vout 2 3 4 Vout 3 Vout 2 3 4 Vout 3
Output Ground 5 6 Output Ground Output Ground 5 6 Output Ground
Vin 0 7 8 Vin 16 Vin 0 + 7 8 Vin 0 -
Vin 1 9 10 Vin 17 Vin 1 + 9 10 Vin 1 -
Vin 2 11 12 Vin 18 Vin 2 + 11 12 Vin 2 -
Vin 3 13 14 Vin 19 Vin 3 + 13 14 Vin 3 -
Vin 4 15 16 Vin 20 Vin 4 + 15 16 Vin 4 -
Vin 5 17 18 Vin 21 Vin 5 + 17 18 Vin 5 -
Vin 6 19 20 Vin 22 Vin 6 + 19 20 Vin 6 -
Vin 7 21 22 Vin 23 Vin 7 + 21 22 Vin 7 -
Vin 8 23 24 Vin 24 Vin 8 + 23 24 Vin 8 -
Vin 9 25 26 Vin 25 Vin 9 + 25 26 Vin 9 -
Vin 10 27 28 Vin 26 Vin 10 + 27 28 Vin 10 -
Vin 11 29 30 Vin 27 Vin 11 + 29 30 Vin 11 -
Vin 12 31 32 Vin 28 Vin 12 + 31 32 Vin 12 -
Vin 13 33 34 Vin 29 Vin 13 + 33 34 Vin 13 -
Vin 14 35 36 Vin 30 Vin 14 + 35 36 Vin 14 -
Vin 15 37 38 Vin 31 Vin 15 + 37 38 Vin 15 -
Input Ground 39 40 Input Ground Input Ground 39 40 Input Ground
Table 6: J9 – Data Acquisition (Analog I/O) Header Pinout
Signal Name Definition
Vout3-0 Analog output channels 3 – 0
Output Ground Analog ground; 0V reference for VOut3 - 0
Vin 31 ~ Vin 0 Analog input channels 31 – 0 in single-ended mode
Vin 15 + ~ Vin 0 + High side of input channels 15 – 0 in differential mode
Vin 15 - ~ Vin 0 - Low side of input channels 15 – 0 in differential mode
Input Ground Analog ground; 0V reference for VIn31 - 0
NOTE: These reference grounds are NOT decoupled from the power grounds – they are
indirectly connected to the power supply input (and other on-board ground/0V references). Do

Hercules-EBX CPU User Manual V1.02 Page 19
not assume that these grounds are floating; do not apply a high-voltage input (relative to the
power input ground) to these ground signals or to any other board I/O pin.
Connector Part Numbers
J9 plug on CPU board: Phyco 2120-40S
Ribbon Cable Plug: Standard 2x20 0.1” female ribbon cable header
4.7 Ethernet – J10 / J11
1 Common
2 RX-
3 Common
4 RX+
5 TX-
6 TX+
Table 7: J11 – Ethernet Header Pinout
J11 is a 1x6 pin header. It mates with Diamond Systems’ cable no. 698002, which provides a
panel-mount RJ-45 jack for connection to standard CAT5 network cables.
J10, which may be used instead of J11, provides an on-board RJ45. For development, J10
may be more useful, but it is anticipated that most embedded applications will make the
J11 connection more useful (for panel-mount network connection).
Ensure that only one connection or the other (J11 or J10) is used; both connectors are
NOT independent and neither will function if they are both attached.
Connector Part Numbers
J10 RJ45 Receptacle on CPU board: Capsco Sales, Inc. GD-PNS-88
J11 plug on CPU board: Digi-Key Corp. 640456-6
Mating connectors:
J10 RJ45 Connector: Standard RJ45 (Ethernet patch cable)
J11 Cable Connector: MOLEX # 16-02-0096
4.8 Audio I/O Connector – J12
1 LEFT Headphone / Line Out
2 RIGHT Headphone / Line Out
3 Audio Ground
4 LEFT Line Input
5 RIGHT Line Input
6 LEFT AUX Input
7 RIGHT AUX Input
8 Audio Ground
9 Power Reference for Microphone
10 Microphone Input
Table 8: J12 – Audio I/O Connector Pinout

Hercules-EBX CPU User Manual V1.02 Page 20
Signal Name Definition
Headphone / Line Out Line Level output, capable of driving headphones
Referred to as “Headphone Out” in most sound documentation
Line Input Line-Level input; referred to as “Line In” in most sound documentation
Auxiliary Input Line-Level input; referred to as “AUX In” in most sound documentation
Microphone Input Microphone-level mono input; phantom power provided via pin 9
The sound chip used is AC97-compatible. The “Line Out” is powered and used for the amplified
speaker output (See J13 below). The line-level output listed above is listed as either “Headphone
Out” or “Line Out 2” in most of the software and documentation for this sound interface.
Connector Part Numbers
J12 Connector on CPU board: Digi-Key Corp. A1925
J12 Mating Cable Connector: Molex 22-01-3107
4.9 Speaker Connector – J13
1 Speaker LEFT High (+)
2 Volume – LOW
3 Speaker LEFT Low (-)
4 Volume – MID
5 Line-level Mono Output
6 Audio Ground
7 Speaker RIGHT Low (-)
8 Volume – HIGH
9 Speaker RIGHT High (+)
10 No-Connect
Table 9: J13 – Amplified Speaker Connector Pinout
Signal Name Definition
Speaker LEFT +/- Speaker Connection Pair for LEFT speaker (4 Ohm Speaker)
Speaker RIGHT +/- Speaker Connection Pair for RIGHT speaker (4 Ohm Speaker)
Mono Output Line-Level mono output (for reference)
Volume – LOW, MID, HIGH These are volume controls for the attached speakers.
NOTES:
• Volume Control: The volume control is capable of 32 discrete levels, ranging from a 20dB
maximum gain down to -85dB (Muted). The main volume control is the “MID” line: this may
be tied to the center tap of a potentiometer with “HIGH” on one side and “LOW” on the other
to give a full range of power control.
o Shorting “MID” to “LOW” will mute the speaker audio.
o Shorting “MID” to “HIGH” will provide maximum gain.
o Default (with no connection) provides 10dB of gain.
• Maximum Output Power: The maximum output power is specified to provide up to 2 Watts
into a 4 Ohm speaker load. Note that this output power is drawn from the on-board 5V
supply.
This manual suits for next models
3
Table of contents