
EPM-4 (Lynx)
AMD ÉlanSC520 processor module with 10/100 Ethernet, and PC/104-Plus interface.


AMD ÉlanSC520 processor module with 10/100 Ethernet, and PC/104Plus interface


This page includes recent changes or improvements that have been made to this product. These changes may affect its operation or physical installation in your application. Please read the following information.
The EPM-4 Support Page, at http://www.VersaLogic.com/private/lynxsupport.asp contains additional information and resources for this product including:

and PC/104Plus interface
REFERENCE MANUAL

WWW . VERSALOGIC . COM
3888 Stewart Road Eugene, OR 97402
(541) 485-8575 Fax (541) 485-5712
Although every effort has been made to ensure this document is error-free, VersaLogic makes no representations or warranties with respect to this product and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.
VersaLogic reserves the right to revise this product and associated documentation at any time without obligation to notify anyone of such changes.
PC/104 and the PC/104 logo are trademarks of the PC/104 Consortium.
Contents Copyright ©2009 · All Rights Reserved





Table of Contents

Description
The EPM-4 (Lynx) is a 486-based processor board in a compact PC/104-Plus format. It is specifically designed for OEM control projects requiring compact size, high reliability, and long product lifespan / availability. Its features include:
The EPM-4 is a complete computer system in one board. It may be used alone or with expansion modules. It features a PC/104-Plus expansion interface for fast PCI-based interface to a wide variety of PC/104 and PC/104-Plus stacking modules. This card is designed to be used primarily as an Ethernet node processor card.
It is fully compatible with popular operating systems including Windows 95/98/NT/NTE/, CE, QNX, Linux, RT-Linux, and other Real Time Operating Systems (see the VersaLogic OS Compatibility Chart).
On-board I/O includes 10/100 Mbit Ethernet, IDE, four COM ports, floppy and two general- purpose timer inputs.
This exceptional processor card was designed from the ground up for OEM applications with longevity and reliability as the main focus. It is fully supported by the VersaLogic design team. Both hardware and software (BIOS) customization are available in quantities as low as 25 pieces. Each board is subjected to 100% functional testing and is backed by a limited two-year warranty.
EPM-4 Reference Manual Introduction – 1

Specifications are typical at 25°C with 5.0V supply unless otherwise noted.
Board Size:
3.55" x 3.775" (PC/104 standard). Storage Temperature:
–40° C to 85° C Operating Temperature:
EPM-4c, g 0° C to +60° C (100 FPM airflow) EPM-4e, h -40° C to +85° C (free air, extended temperature versions) Power Requirements: (with keyboard, mouse, and hard drive running DOS)
EPM-4c, g 133 MHz +5V ±5% @ 0.94A EPM-4e, h 100 MHz +5V ±5% @ 0.84A, extended temperature versions +3.3V or ±12V may be required by some expansion modules System Reset:
Vcc sensing, resets below 4.70V typ.
Watchdog timeout BBSRAM Interface:
2 MB option mapped into high memory IDE Interface:
Industry standard 2mm 44-pin non-latching style, CompactFlash socket. LPT/Floppy Interface:
Supports one floppy drive or parallel port. Ethernet Interface:
Autodetect 10BaseT/100BaseTX based on Intel 82551ER. 12K transmit/receive buffer. COM1 and COM2 Interface:
RS-232, 16C550 compatible, 115K baud max. COM3 and COM4 Interface:
RS-422/485, 16C550 compatible, 460K baud max. Connectors:
Utility: 2mm 50-pin shrouded IDE: 2mm 44-pin Floppy/LPT: 2mm 20-pin shrouded Ethernet: RJ45 Power: 0.1” 10-pin CompactFlash Type II socket BIOS: General Software embedded BIOS with OEM enhancements Field upgradeable with Flash BIOS Upgrade Utility Bus Speed:
PC/104 – Fully functional with most PC/104 devices. See the Expansion Bus section for details. Embedded-PCI (PC/104-Plus) – Full compliance, 3.3V or 5V modules RoHS: EPM-4g, h – Full compliance Weight:
EPM-4c, g – 0.117 kg (0.275 lbs) EPM-4e, h – 0.116 kg (0.255 lbs) Specifications are subject to change without notice.
Introduction – 2 EPM-4 Reference Manual
Technical Specifications


EPM-4 Reference Manual Introduction – 3
EPM-4 Block Diagram

The EPM-4g and EPM-4h are RoHS-compliant. These models are functionally identical to the non-RoHS version of the boards.
In 2003, the European Union issued Directive 2002/95/EC regarding the Restriction of the use of certain Hazardous Substances (RoHS) in electrical and electronic equipment.
The RoHS directive requires producers of electrical and electronic equipment to reduce to acceptable levels the presence of six environmentally sensitive substances: lead, mercury, cadmium, hexavalent chromium, and the presence of polybrominated biphenyls (PBB) and polybrominated diphenyl ethers (PBDE) flame retardants, in certain electrical and electronic products sold in the European Union (EU) beginning July 1, 2006.
VersaLogic Corporation is committed to supporting customers with high-quality products and services meeting the European Union’s RoHS directive.
Adapter cables for the EPM-4 are available in RoHS compliant and RoHS noncompliant versions. Compliance or noncompliance is indicated by the part number prefix. “CBR” indicates RoHS compliance. “CBL” indicates RoHS noncompliance. For applications that require RoHS compliance, use only the RoHS compliant (“CBR” version) cables. Availability of RoHS noncompliant cables may be limited.
Introduction – 4 EPM-4 Reference Manual
RoHS-Compliant Version

If you have problems that this manual can’t help you solve, first visit the EPM-4 Product Support web page below. If you have further questions, contact VersaLogic for technical support at (541) 485-8575. You can also reach our technical support engineers via e-mail at Support@VersaLogic.com.
If your product requires service, you must obtain a Returned Material Authorization (RMA) number by calling (541) 485-8575.
Please provide the following information:
Warranty Repair All parts and labor charges are covered, including return shipping charges for UPS Ground delivery to United States addresses.
Non-warranty Repair All non-warranty repairs are subject to diagnosis and labor charges,
parts charges, and return shipping fees. We will need to know what shipping method you prefer for return back to your facility, and we will need to secure a purchase order number for invoicing the repair.
EPM-4 Reference Manual Introduction – 5
Technical Support



Overview
After removing the board from its protective wrapper, place the board on a grounded, static-free surface, component side up. Use an anti-static foam pad if available.
The board should also be protected during shipment or storage by keeping inside a closed metallic anti-static envelope.
EPM-4 Reference Manual Configuration / Operation – 7

Initial Configuration and Setup
The following list describes the components recommended for setting up a typical development system.
Configuration / Operation – 8 EPM-4 Reference Manual

CMOS Setup / Boot Procedure
+ + | System Bios Setup - Basic CMOS Configuration | | (C) 2002 General Software, Inc. All rights reserved | + | DRIVE ASSIGNMENT ORDER: | Date:>JAN 1, 1980 | Typematic Delay : 250 ms | | Drive A: Floppy 0 | Time: 00 : 00 : 00 | Typematic Rate : 30 cps | | Drive B: (None) | NumLock: Disabled | Seek at Boot : None | | Drive C: IDE 0/Pri Master + + Show "Hit Del" : Enabled | | Drive D: (None) | BOOT ORDER: | Config Box : Enabled | | Drive E: (None) | Boot 1st: Drive A: | F1 Error Wait : Enabled | | Drive F: (None) | Boot 2nd: Drive C: | Parity Checking : (Unused) | | Drive G: (None) | Boot 3rd: (None) | Memory Test Tick : Enabled | | Drive H: (None) | Boot 4th: (None) | Debug Breakpoints: (Unused) | | Drive I: (None) | Boot 5th: (None) | Debugger Hex Case: Upper | | Drive J: (None) | Boot 6th: (None) | Memory Test : StdLo FastHi | | Drive K: (None) + | (Loader): (Unused) | ATA DRV ASSIGNMENT: Sect Hds Cyls | Memory | + + Ide 0: 3 = AUTOCONFIG, LBA | Base: | | FLOPPY DRIVE TYPES: | Ide 1: 3 = AUTOCONFIG, LBA | 633KB | | Floppy 0: 1.44 MB, 3.5" | Ide 2: Not installed | Ext: | | Floppy 1: Not installed | Ide 3: Not installed | 63MB | +
+ + | System BIOS Setup - Custom Configuration | | (C) 2002 General Software, Inc. All rights reserved | + + + | D0000h 64k page function : ISA bus | COM1 (3F8h) RS-232 : IRQ4 | | PLD register base I/O : 0E0h | COM2 (2F8h) RS-232 : IRQ3 | | Force Ethernet 10-BaseT : Disabled | COM3 (3E8h) RS-422/485 : Disabled | | PS/2 Mouse (IRQ12) : Enabled | COM4 (2E8h) RS-422/485 : Disabled | | LPT1 (378h) : Disabled | GP Timer 0 : Disabled | | Parallel Port Mode : FDD | GP Timer 1 : Disabled | | CPU Speed : 133 MHz | Watchdog Timer : Disabled | | Cache Mode : Wr-back | PCI Int A : IRQ11 | | Write Buffer : Enabled | PCI Int B : IRQ11 | | GP Bus Timings : Normal | PCI Int C (Ethernet) : IRQ11 | | Console Redirection : Auto | PCI Int D : IRQ11 | + + +
EPM-4 Reference Manual Configuration / Operation – 9
Basic CMOS Configuration · Custom Configuration

If there is no video device detected during boot up, BIOS keyboard and screen I/O can be redirected to the COM2 RS-232 serial port. CMOS configuration can be modified over this redirected console. ANSI or VT102 terminal emulation is recommended.
When console redirection is enabled, press CTRL-C on the terminal emulator to enter CMOS Setup; the BIOS ignores DEL from a PS/2 keyboard. This is normal operation of the Lynx. COM2 is configured for standard serial port communication:
Console redirection remains active when POST completes and the operating system boots. Text- based operating systems such as DOS and Linux can be controlled over this connection.
To enable console redirection, there must be no video device detected, the console redirection option in Custom Configuration must be set to Auto, and there must be a terminal (such as Windows HyperTerm) detected at COM2.
Configuration / Operation – 10 EPM-4 Reference Manual
Console Redirection

CMOS Setup / IDE Configuration
The Lynx has a single IDE channel to connect up to two hard disks, CompactFlash modules or CD-ROM drives. This basic IDE interface operates using PIO mode 0, resides on the ISA bus, and does not support the drive address register at I/O address 3F7h. It has been tested successfully on a wide variety of operating systems.
IDE devices include hard disk drives, CD-ROM drives, and some CompactFlash modules.
There are 3 fields in the Basic CMOS Configuration screen that are relevant to IDE setup: IDE Drive Geometry, Drive Assignment Order, and Boot Order.
IDE Drive Geometry Most desktop PCs have two IDE channels, each capable of supporting two IDE devices in a slave/master configuration or a single IDE device in a single (or master only) configuration. In the IDE Drive Geometry list:
IDE 0 corresponds to primary channel, master/single drive. IDE 1 corresponds to primary channel, slave drive. IDE 2 corresponds to secondary channel, master/single drive. IDE 3 corresponds to secondary channel, slave drive.
The Lynx uses the first IDE channel only. IDE 2 and IDE 3 are unused
All modern IDE devices use LBA mode. When setting up an IDE device, leave the drive geometry set to LBA mode unless your hard drive requires a different mode.
CD-ROM drives that will be used as boot devices should be set accordingly in the Drive Geometry list.
After a hard drive has been declared in the IDE Drive Geometry field, it must be assigned a DOS drive letter, even if you are not using the DOS operating system. Normally, "Drive C:" will be assigned to the IDE device that you wish to boot from.
Do not attempt to assign a drive letter to a CD-ROM drive. The drivers required to use these devices will automatically assign a drive letter to the device when loaded.
This field allows you to specify the order in which the BIOS looks for boot devices.
EPM-4 Reference Manual Configuration / Operation – 11

CMOS Setup / Advanced Configuration
Usually, the drive you specify here corresponds to the declaration in the Drive Assignment Order field.
A CD-ROM drive can be inserted into the boot order by selecting “CDROM” at the desired boot order position.
Default: ISA bus
ISA bus Memory accesses to the D0000h page will be sent to the ISA bus for use by PC/104 expansion modules. This setting is required when flashing the BIOS with the FBU utility.
BIOS Ext The D0000h page is mapped to sector 1 in the flash chip, which may contain 3rd party Ethernet boot code or any other BIOS extension (not included). If there is a such an extension present, it will be called by the BIOS. The BIOS extension can be programmed into the flash chip with the FBU utility. For remote booting via Ethernet, the recommended boot ROM is Managed PC Boot Agent from Argon Technology Corporation.
RAM System RAM is exposed in the D0000h page.
Default: 0E0h Specifies the location of the PLD register in I/O space. It can be moved to 1E0h in case of an address conflict within add-in module.
Default: Disabled When enabled, this will disable the Ethernet media data rate auto-negotiation and force it to 10- BaseT mode.
Configuration / Operation – 12 EPM-4 Reference Manual

CMOS Setup / Advanced Configuration
Default: Enabled When disabled, IRQ12 is freed for other devices.
Default: IRQ7 Allows you to disable or specify the IRQ used by LPT1 on the SMSC FDC37B727 Super I/O. When disabled, the IRQ and I/O space are freed.
Default: SPP This option allows the user to change the communication mode of the parallel port. The options are: SPP, SPP/EPP1.9, ECP, ECP/EPP1.9, Printer, SPP/EPP1.7, ECP/EPP1.7, and FDD. The FDD option must be set if a floppy drive is used.
Default: 133 MHz The maximum clock rate for the ÉlanSC520 Microcontroller is 133 MHz. It can optionally be set to 100 MHz for a slight power savings. If an extended temperature board version is detected, the default will change to 100 MHz.
Default: Write-Back The 16 kb L1 cache can be configured for either write-through or write-back mode. This option controls the CACHE_WR_MODE in the CPUCTL register (MMCR offset 02h).
Default: Enabled When the write buffer is enabled, it buffers all write activity from the CPU, PCI bus, or GP bus. This option controls the WB_ENB bit in the DBCTL register (MMCR offset 40h).
Default: Normal The GP (ISA) bus timings may need to be slowed to accommodate ISA Plug-n-Play cards. This option modifies registers in the GP Bus Controller, MMCR offsets C08h through C10h.
EPM-4 Reference Manual Configuration / Operation – 13

CMOS Setup / Advanced Configuration
Default: IRQ4 Allows you to disable or specify the IRQ used by internal UART1 on the ÉlanSC520 Microcontroller. When disabled, the IRQ and I/O space are freed.
Default: IRQ3 Allows you to disable or specify the IRQ used by internal UART2 on the ÉlanSC520 Microcontroller. When disabled, the IRQ and I/O space are freed.
Default: Disabled Allows you to disable or specify the IRQ used by UART1 on the SMSC FDC37B727 Super I/O. When disabled, the IRQ and I/O space are freed.
Default: Disabled Allows you to disable or specify the IRQ used by UART2 on the SMSC FDC37B727 Super I/O. When disabled, the IRQ and I/O space are freed.
Default: Disabled These internal SC520 devices can be disabled or enabled by assigning an IRQ. Enabling these devices only sets up the IRQ assignment; it is up to the user to set up device operation. Refer to the ÉlanSC520 Microcontroller User's Manual for details.
Default: IRQ11 These options allow manual IRQ routing of PCI devices.
Configuration / Operation – 14 EPM-4 Reference Manual

Using Custom CMOS Defaults
The Lynx BIOS has the capability to store CMOS defaults in the on-board flash chip. This storage area is non-volatile, enabling the Lynx to run with user-specified CMOS defaults without a battery installed.
If custom defaults are specified, they will be used instead of the factory defaults any time CMOS memory needs to be reset. CMOS is reset when any of the following occur:
There are 4 options on the main BIOS setup screen that control CMOS defaults.
Saves the current CMOS settings to the custom defaults. These settings will be used any
time CMOS is reset. If there are already custom defaults specified, they will be overwritten.
Discards the current CMOS settings and uses the saved custom defaults. This operation
will fail if no custom defaults have been previously saved.
Deletes custom CMOS settings stored in flash. Factory default settings will be used any
time CMOS is reset.
Discards the current CMOS settings and uses factory defaults, even if custom defaults have been specified. If CMOS is later reset, custom defaults will be used if available.
EPM-4 Reference Manual Configuration / Operation – 15




The EPM-4 complies with all PC/104-Plus standards. Dimensions are given below to help with pre-production planning and layout.

Figure 1. Dimensions (Not to scale. All dimensions in inches.)
EPM-4 Reference Manual Reference – 17


Figure 2. Height Dimensions (Not to scale. All dimensions in inches.)
Reference – 18 EPM-4 Reference Manual
Physical Dimensions

The EPM-4 uses pass-through PC/104 and PC/104-Plus connectors so that expansion modules can be added to the top or bottom of the stack. PC/104 (ISA) modules must NOT be positioned between the Lynx and any PC/104-Plus (PCI) modules on the stack. The PC/104 pass-through connector on the EPM-4 Rev 4 is keyed (pins B10 and C19 missing) to provide greater compatibility with other PC/104 compliant devices.
The entire assembly can sit on a tabletop or it can be secured to a base plate. When bolting the unit down, make sure to secure all four standoffs to the mounting surface to prevent circuit board flexing. Standoffs are secured to the top circuit board using four pan head screws. Refer to the drawing on page 17 for dimensional details.
An extractor tool is available (part number VL-HDW-201) to separate the modules from the stack.

Figure 3. PC/104 Card Added to Top of Stack
EPM-4 Reference Manual Reference – 19
Physical Dimensions


On the EPM-4 Rev 4 and above, the pass-through PC/104 (ISA) connector is keyed (pins B10 and C19 missing) for greater compatibility with PC/104 devices, as shown in the figure below.
Pin numbering begins on the side with a larger row offset
Figure 5. PC/104 (ISA) Connector Keying
Reference – 20 EPM-4 Reference Manual
External Connectors

The table below notes the function of each connector, as well as mating connectors and cables, and the page where a detailed pinout or further information is available.

‡Pin 1 Location X Coord. Y Coord.
J1 PC/104-Plus AMP 1375799-1 34 .450 3.139
J2 LPT / Floppy FCI 89947-720 DB-25 to floppy
J5 CompactFlash Type I & II 28
12” 2mm IDE cable 2mm to 0.1” adapter 28 3.050 2.247
J7 COM Ports, Keyboard, Mouse, GP Timer inputs, Power LED, Push-button reset, PC speaker, LED
FCI 89947-350LF CBL/CBR-5009A 12” 2mm latching 50- pin to 50-pin
J8 Main Power Input Berg 69176-010 (Housing) + Berg 47715-000 (Pins)
J9 PC/104 AMP 1375795-2 34 .050 0.200 ‡ Relative to lower left hand mounting hole. See page 17.
EPM-4 Reference Manual Reference – 21
External Connectors


Figure 6. Jumper Block Locations
Reference – 22 EPM-4 Reference Manual
Jumper Block Locations

Table 2: Jumper Summary
V1 Battery Power Jumper [1-2] In – Discharge CMOS Memory [2-3] In – Standard Operation
[1-2] In [3-4] In
[1-2] In and [3-4] In – RS-485 Endpoint [1-2] In and [3-4] Out – RS-485 Intermediate [1-2] Out and [3-4] In – RS-422
[5-6] In [7-8] In
[5-6] In and [7-8] In – RS-485 Endpoint [5-6] In and [7-8] Out – RS-485 Intermediate [5-6] Out and [7-8] In – RS-422
V3 Rev. 4.xx and earlier
CompactFlash Master/Slave Section In — Master IDE Device Out — Slave IDE Device
V3 Rev. 5.xx
CompactFlash Master/Slave Section In — Slave IDE Device Out — Master IDE Device
V4[1-2] System BIOS Selector In — Run Time System BIOS occupies E0000h to FFFFFh Out — Master System BIOS occupies E0000h to FFFFFh
V4[3-4] General Purpose Input Bit In — Bit D0 in SCR register reads as 1 Out — Bit D0 in SCR register reads as 0
EPM-4 Reference Manual Reference – 23

Main power is applied to the EPM-4 through a 10-pin polarized connector. Mating connector Berg 69176-010 (Housing) + Berg 47715-000 (Pins). See the table below for connector pinout and page 20 location information.

Some manufacturers include a pin-1 indicator on the crimp housing that corresponds to pin-10 of the J8 power connector.

Some manufacturers include a pin-1 indicator here that corresponds to pin-10 of the power connector pinout
Reference – 24 EPM-4 Reference Manual
Power Supply

The EPM-4 only requires +5 volts (±5%) for proper operation. The voltage required for the RS- 232 ports is generated with an on-board DC/DC converter. A variable low-voltage supply circuit provides power to the CPU and other on-board devices. The exact power requirement of the EPM-4 depends on several factors peripheral connections, type and number of expansion modules, and attached devices. For example, AT keyboards typically draw their power directly from the EPM-4, and driving long RS-232 lines at high speed can increase power demand. Reducing the CPU speed from 133 MHz to 100 MHz via the BIOS settings will save approximately 0.5 W.
Batteries of different voltages are used on different revisions of the EPM-4, as shown below:
Min. Operating
Reorder Part No.
Voltage
Rev 4 and above 3.0V 2.5V T-HB3/5-2
Rev 2 3.5V 3.0V T-HB3/5-3
If the operating voltage drops below the minimum, contact the factory for a replacement. Life expectancy under normal use is approximately 10 years.
EPM-4 Reference Manual Reference – 25
Power Supply

CPU
The ÉlanSC520 Microcontroller has a 32-bit, low-voltage AMD Am5x86 microprocessor at its core. The maximum clock rate is 133 MHz. The Am5x86 has 16 kb of unified cache that supports write-back and write-through policies. It is a high-performance 486 CPU achieving performance results equal to a Pentium 75.
The EPM-4 has 64MB of SDRAM soldered on board.
Jumper V1 can be moved to position [1-2] for 30 seconds to erase the contents of the CMOS RAM. Be sure to move the jumper back to position [2-3] for normal operation.
After the CMOS RAM is cleared, the system will load default CMOS RAM parameters the next time the board is powered on. The default CMOS RAM setup values will be used in order to boot the system whenever the main CMOS RAM values are blank, or when the system battery is dead or has been removed from the board.
The EPM-4 features a year 2000 compliant, battery-backed 146818 compatible real time clock/calendar chip. Under normal battery conditions, the clock will maintain accurate timekeeping functions during periods when the board is powered off.
The CMOS Setup utility (accessed by pressing the [DEL] key during a system boot) can be used to set the time/date of the real time clock.
Reference – 26 EPM-4 Reference Manual

Battery Backed Static RAM
The EPM-4 can be ordered with an optional 2 MB of Battery Backed Static RAM (BBSRAM). This BBSRAM is powered by the boards RTC battery when main power is turned off. Jumper V1, which is used to clear CMOS RAM, does not affect the BBSRAM.
The BBSRAM is located at the absolute address of (0x08000000) in one continuous 2 MB block. Serial Ports
The EPM-4 features two on-board 16550 based serial channels located at standard PC I/O addresses. COM1 and COM2 are RS-232 (115.2K baud) serial ports.
COM3 and COM4 can be operated in RS-422 or RS-485 modes. Two additional non-standard baud rates are also available (programmable in the normal baud rate registers), up to 460K baud.
Interrupt assignment for each COM port is handled in CMOS Setup, and each port can be independently enabled or disabled.
All four serial ports are protected against ESD damage. This protection exceeds 15KV human body model.
There are no configuration jumpers for COM1 and COM2 because it only operates in RS-232 mode.
Jumper V2 is used to configure COM3 and COM4 for RS-422/485 operation. See page 23 for jumper configuration details.
The TxD+/TxD– differential line driver can be turned on and off by manipulating the DTR handshaking line.
The following code example shows how to turn the line driver for COM3 on and off:
mov dx,03ECh ; Point to COM3 Modem Control register in al,dx ; Fetch existing value or al,01h ; Clear bit D0 out dx,al ; Turn DTR on (enables line driver) in al,dx ; Fetch existing value and al,0FEh ; Set bit D0 out dx,al ; Turn DTR off (disables line driver)
EPM-4 Reference Manual Reference – 27

IDE Hard Drive / CompactFlash / CD-ROM Interface
One IDE interface is available to connect up to two IDE devices, such as hard disks, CD-ROM drives or CompactFlash (CF) media. Use CMOS Setup to specify the drive parameters of the attached drives. An activity indication LED is provided on the EPM-4. The yellow LED of D5 (See page 22) will show that activity is detected on the IDE interface. A 2mm 44-pin connector (J6) and a CF socket (J5) are provide on the board. Jumper V3 determines if the CF media plugged into J5 is the IDE Master or slave (see Table 2). Note: The IDE port is a simple interface compatible with PIO mode 0.
J6 Pin
Signal Name
IDE Signal Name
Function
1 HRST* Host Reset Reset signal from CPU 2 Ground Ground Ground 3 IDE7 DATA 7 Data bit 7 4 ID8 DATA 8 Data bit 8 5 ID6 DATA 6 Data bit 6 6 ID9 DATA 9 Data bit 9 7 ID5 DATA 5 Data bit 5 8 ID10 DATA 10 Data bit 10 9 ID4 DATA 4 Data bit 4 10 ID11 DATA 11 Data bit 11 11 ID3 DATA 3 Data bit 3 12 ID12 DATA 12 Data bit 12 13 ID2 DATA 2 Data bit 2 14 ID13 DATA 13 Data bit 13 15 ID1 DATA 1 Data bit 1 16 ID14 DATA 14 Data bit 14 17 ID0 DATA 0 Data bit 0 18 ID15 DATA 15 Data bit 15 19 Ground Ground Ground 20 NC NC No connection 21 IDEDRQ IDEDRQ DMA/Request 22 Ground Ground Ground 23 IOWR* HOST IOW* I/O write 24 Ground Ground Ground 25 IORD* HOST IOR* I/O read 26 Ground Ground Ground 27 RDY Ready Wait control 28 HAEN ALE Address latch enable 29 IDEDACK IDEACK DMA/Ack. 30 Ground Ground Ground 31 HINT HOST IRQ10 IRQ10 32 XI16* HOST IOCS16* Drive register enabled 33 PA1 HOST ADDR1 Address bit 1 34 NC NC No connection 35 PA0 HOST ADDR0 Address bit 0 36 PA2 HOST ADDR2 Address bit 2 37 ECS0* HOST CS0* Reg. Access chip select 0 38 ECS1* HOST CS1* Reg. Access chip select 1 39 NC NC No connection 40 Ground Ground Ground 41 5V Power Power 42 5V Power Power 43 Ground Ground Ground 44 NC NC No connection
Reference – 28 EPM-4 Reference Manual

The 50-pin utility connector (J7) incorporates the COM ports, keyboard and mouse, general- purpose inputs, and the reset button and speaker. Table 5 shows the function of each pin and the pinout to the connectors of the CBL/CBR-5009 I/O board.
J7 Pin
J7 Pin
CBR-5009 Connector
Pin
Signal
CBR-5009 Connector
Pin
Signal
1 COM1 1 Data Carrier Detect COM4 RS-422 RS-485 2 J3 6 Data Set Ready 26 J5 1 Ground Ground
3 (Top) 2 Receive Data 27 5 TxD+ (1)
4 7 Request to Send 28 4 TxD– (1)
5 3 Transmit Data 29 – Ground Ground
6 8 Clear to Send 30 2 RxD– TxD/RxD–
7 4 Data Terminal Ready 31 3 RxD+ TxD/RxD+
8 9 Ring Indicator 32 – Ground Ground
9 5 Ground 33 Mouse T4 +5V (Protected) 10 COM2 10 Data Carrier Detect 34 J4 T1 Mouse Data
11 J3 15 Data Set Ready 35 T3 Ground
12 (Bottom) 11 Receive Data 36 T5 Mouse Clock
13 16 Request to Send 37 PBRESET (2) 1 Pushbutton Reset 14 12 Transmit Data 38 S1 2 Ground
15 17 Clear to Send 39 GP Timer 3 Ground 16 13 Data Terminal Ready 40 Inputs 4 GP Timer Input 1
17 18 Ring Indicator 41 J2 – Ground
18 14 Ground 42 5 GP Timer Input 0
COM3 RS-422 RS-485 43 Keyboard B4 +5V (Protected) 19 J6 1 Ground Ground 44 J4 B1 Keyboard Data
20 5 TxD+ (1) 45 B3 Ground
21 4 TxD– (1) 46 B5 Keyboard Clock
24 3 RxD+ TxD/RxD+ 49 Speaker – +5V (Protected) 25 – Ground Ground 50 SP1 SP1+ Speaker Drive
(1) Do not connect to these pins in RS-485 mode. (2) The Pushbutton Reset signal (PBRST#) is also routed to pin 2 of J2 (CBL/CBR-5009). A
pushbutton can be attached to pins 2 and 1 (Ground) of J2. (3) Pin 2 of D1 (CBL/CBR-5009) is connected to +5V (Protected), which provides power to the IDE
LED. Pin 4 of D1 is connected to Ground.
EPM-4 Reference Manual Reference – 29
Utility Connector (J7)

KEYBOARD/MOUSE INTERFACE A standard PS/2 keyboard and mouse interface is accessible through connector J7. This device is protected against ESD damage by IC 61000-402 rated transient voltage suppressor components.
The high-density I/O connector J7 includes an output signal for attaching a software controlled LED. Connect the cathode of the LED to J7[48]; anode to J7[47]. An on-board resistor limits the current to 15 mA when the circuit is turned on. The 5V supply for this feature is protected by a self resetting fuse. This 1 Amp fuse is used to protect KB, mouse, speaker, and LED. The programmable LED is controlled by the PIO24 pin on the ÉlanSC520 microcontroller. It can be turned on and off by writing the word 0100h to MMCR offsets 0C3Ah and 0C36h, respectively. The MMCR base address defaults to DF00:0 (segment : offset address).
The external LED is duplicated with an on-board LED. The green LED in D5 (See page 22) is also controlled by the PIO24 pin.
A miniature 8 ohm speaker can be connected between J7[49] and J7[50].
The 5V supply for this feature is protected by a self resetting fuse. This 1 Amp fuse is used to protect KB, mouse, speaker, and LED.
A normally open, momentary action push-button reset switch can be connected between J7[37] and J7[38]. Shorting J7[37] to ground will cause the EPM-4 to reboot.
Two flexible general-purpose timer inputs can be used for timing and counting applications. Each timer is capable of generating an interrupt, selectable via the BIOS Custom Configuration screen. For more information, see chapter 17 in the ÉlanSC520 Microcontroller User’s Manual.
Reference – 30 EPM-4 Reference Manual
Utility Connector (J7)

Parallel / Floppy Port
The EPM-4 includes a standard bi-directional/EPP/ECP compatible LPT port which resides at the PC standard address of 378h. The port can be enabled or disabled and interrupt assignments can be made via the CMOS setup screen. The LPT mode is also set via the CMOS setup screen.
This connector uses IEC 61000-4-2-rated TVS components to help protect against ESD damage.
The parallel port can be used as a floppy disk interface. Select “FDD” as the LPT mode in CMOS Setup and connect a floppy disk drive to the parallel port cable (CBL/CBR-2003) using the floppy disk cable (CBL/CBR-2501). The diagram below shows how to connect the drive.
VL-CBL/CBR-2003 VL-CBL/CBR-2501
P ARALLEL / F LOPPY P ORT P INOUT
Centronics Signal
Floppy Signal
Signal Direction
1 Strobe DS0* Out 2 Auto feed RPM Out 3 Data bit 1 INDEX* In/Out 4 Printer error HDSEL* In 5 Data bit 2 TRK0* In/Out 6 Reset FDIR Out 7 Data bit 3 WP* In/Out 8 Select input STEP* Out 9 Data bit 4 RDATA* In/Out 10 Data bit 5 DSKCHG In/Out 11 Data bit 6 N.C. In/Out 12 Data bit 7 MTR0* In/Out 13 Data bit 8 N.C. In/Out 14 Ground GND — 15 Acknowledge DS1* In 16 Ground GND — 17 Port Busy MTR1* In 18 Ground GND — 19 Paper End WDATA* In 20 Select WGATE* In
EPM-4 Reference Manual Reference – 31
DB-25 connectors · EPM-4 Floppy

The EPM-4 features an industry-standard 10baseT / 100baseTX Ethernet interface based on the Intel 82551ER Ethernet controller. This PCI based interface chip is widely supported. Drivers are readily available to support a variety of operating systems such as QNX, VxWorks and other RTOS vendors.
The Ethernet interface shares PC/104-Plus interrupt “INTC”. The CMOS Setup screen is used to select the IRQ line routed to INTC*.
Two colored LEDs (D1) located next to the RJ-45 connector provide an indication of the Ethernet status as follows:
ETHERNET CONNECTOR A board-mounted RJ-45 connector is provided to make connection with category 5 Ethernet cable. The Ethernet controller will autodetect 10BaseT/100BaseTX connections.
Function 4 IGND Isolated Ground 5 IGND Isolated Ground 6 R– Receive Data – 3 R+ Receive Data + 7 IGND Isolated Ground 8 IGND Isolated Ground 2 T– Transmit Data – 1 T+ Transmit Data +
This device is protected against ESD damage by IEC 61000-4-2 rated transient voltage suppressor components.
Reference – 32 EPM-4 Reference Manual
Ethernet Interface · J4 Pin · Signal Name

There is a flexible watchdog timer integrated into the ÉlanSC520 Microcontroller. It supports a time-out period up to 30 seconds, and can generate an interrupt, NMI, or system reset when time- out occurs. The watchdog registers are protected by write key sequences.
See the following pseudo code as a simple example of watchdog operation.
MMCR_base = DF00:0h ; segment:offset address WDTMRCTL = MMCR_base + 0CB0h MemWrite WDTMRCTL, 03333h ; Key sequence to allow write access to ; control MemWrite WDTMRCTL, 0CCCCh ; register. These are 16-bit memory writes. MemWrite WDTMRCTL, 0C010h ; Enable watchdog timer. 4 second timer. ; Reset on timeout. Begin program loop
; perform useful instructions here that ; will never take more than 4 ; seconds to complete. MemWrite WDTMRCTL, 0AAAAh ; Key sequence to reset the timer ; countdown MemWrite WDTMRCTL, 05555h ; These are 16-bit memory writes. End program loop
For detailed programming instructions for the integrated watchdog timer, see chapter 19 of the ÉlanSC520 Microcontroller User's Manual, and chapter 16 of the Register Set Manual.
EPM-4 Reference Manual Reference – 33
Watchdog Timer

The EPM-4 will accept up to eight expansion modules, up to four of which can be PC/104-Plus (PCI) expansion modules. The EPM-4 uses 3.3V PCI signaling but is 5V tolerant.
PC/104-Plus modules can be secured directly to the top or bottom of the EPM-4. Make sure to correctly configure the "slot position" jumpers on each PC/104-Plus module appropriately. PC/104 modules must not be positioned between the EPM-4 and any PC/104-Plus modules on the stack.
The EPM-4 is compliant with revision 2.0 of the PC/104-Plus spec. and can support four bus master capable PC/104-Plus modules.
The BIOS automatically allocates I/O and memory resources. However, manual PCI Interrupt routing will be used.
PC/104 modules are stacked on top the EPM-4. 16-bit modules first followed by 8-bit PC/104 modules.
The ÉlanSC520 Microcontroller uses a General-Purpose (GP) bus that is implemented as the ISA bus on the Lynx. The GP bus is similar in function to the ISA bus, but not functionally identical. Nearly all PC/104 devices in use today will work on the Lynx without modification.
Here is a summary of the differences between a legacy ISA bus and the GP bus implementation on the Lynx.
For a more detailed description of the GP bus and its differences from a standard ISA bus, see chapter 13 in the ÉlanSC520 Microcontroller User's Manual.
PC/104–Plus Modules No hardware configuration is necessary except to jumper the expansion module for the correct slot number.
Reference – 34 EPM-4 Reference Manual
Expansion Bus

PC/104 Modules PC/104 I/O modules should be addressed in the 104h – 3FFh address range. Care must be taken to avoid the I/O addresses shown in the On-Board I/O Devices table on page 37. These ports are used by on-board peripherals and video devices.
EPM-4 Reference Manual Reference – 35
Expansion Bus

Memory and I/O Map
ÉLANSC520 MEMORY MAPPED CONFIGURATION REGION (MMCR) REGISTERS
Much of the functionality incorporated into the ÉlanSC520 Microcontroller, such as the watchdog timer, CPU speed control, and general-purpose timer, can be controlled and monitored through the Memory Mapped Configuration Region (MMCR) registers. The MMCR registers occupy 4KB of memory space. For convenience, these registers are made available at boot time in the first megabyte of system RAM, at DF000h.
Wherever the MMCR is located, its 4KB footprint will cover and take precedence over the underlying memory space function. For example, when the D0000h page function is set to ISA bus, DF000h through DFFFFh will instead by occupied by the MMCR. For this reason, the maximum BIOS extension size is reduced from 64KB to 60KB.
In the event of an address conflict, the MMCR base address can be moved at any time with an I/O write to the Configuration Base Address Register (CBAR), located at I/O address FFFCh. Refer to the ÉlanSC520 Register Set Manual for further details.
The lower 1 MB memory map of the EPM-4 is arranged as shown in the following table.
Comment E0000h FFFFFh System BIOS DF000h DFFFFh MMCR Registers (see note) D0000h DEFFFh ISA memory, BIOS extension, or RAM C0000h CFFFFh Reserved for Video BIOS A0000h BFFFFh Reserved for Video RAM 00000h 9FFFFh System DRAM
End Address
Reference – 36 EPM-4 Reference Manual

Memory and I/O Map
The following table lists the common I/O devices in the EPM-4 I/O map. User I/O devices should be added in the 104h – 3FFh range, using care to avoid the devices already in the map as shown below.
See ÉlanSC520 register set manual 000h-0FFh Special Control Register 0E0h Revision Indicator Register 0E1h Map and Paging Control Register 0E3h Primary IDE Controller 1F0h – 1F6h COM 4 Serial Port 2E8h – 2EFh COM 2 Serial Port 2F8h – 2FFh COM 3 Serial Port 3E8h – 3EFh Floppy Disk Controller 3F0h – 3F7h COM1 Serial Port 3F8h – 3FFh CBAR FFFCh-FFFFh
EPM-4 Reference Manual Reference – 37
I/O Device · Standard I/O Addresses

Default interrupt settings on the Lynx have been selected to maintain PC/AT compatibility. They can be re-routed to satisfy customer constraints. Use the custom configuration screen in BIOS setup to configure IRQ’s on the Lynx Not all devices can use all IRQ’s. Refer to Figure 8 for a description of allowable IRQ assignments for each device.

Figure 8. Interrupt Circuit Diagram


0 Timer 0 1 Keyboard 2 Slave PIC cascade 3 COM2 4 COM1 5 Unused 6 Floppy drive 7 Unused 8 Real-Time Clock 9 Unused 10 Unused 11 PCI Interrupt A,B,C,D 12 PS/2 Mouse 13 Math Co-processor 14 IDE controller 15 Unused
Reference – 38 EPM-4 Reference Manual
Interrupt Configuration

D7 D6 D5 D4 D3 D2 D1 D0
Reserved Reserved SB-SEL Reserved GPI
Bit Mnemonic Description
D7-D6 — Reserved — These bits have no function.
D5 SB-SEL BIOS Selector Input — Indicates the status of jumper V4[1-2] SB-SEL = 0 Jumper V4 [1-2] = Out (Master BIOS) SB-SEL = 1 Jumper V4 [1-2] = In (Run Time BIOS)
D4-D1 — Reserved — These bits have no function.
D0 GPI General Purpose Input — Indicates the status of TTL input GPI = 0 Jumper V4 [3-4] = Out GPI = 1 Jumper V4 [3-4] = In
EPM-4 Reference Manual Reference – 39
Special Control Register

D7 D6 D5 D4 D3 D2 D1 D0
PC4 PC3 PC2 PC1 PC0 REV1 REV0 ET
This register is used to indicate the revision level of the EPM-4 product.
D7-D3 PC4-PC0 Product Code — These bits are hard coded to represent the product type. The EPM-4 will always read as 11011. Other codes are reserved for future products. PC4 PC3 PC2 PC1 PC0 Product Code 1 1 0 1 1 EPM-4 Note: These bits are read-only.
D2-D1 REV1-REV0 Revision Level — These bits are represent the EPM-4 circuit revision level. REV1 REV0 Revision Level 0 0 Current product release 0 1 Reserved 1 0 Reserved 1 1 Reserved
D0 ET Extended Temperature — This bit indicates whether the board is an extended temperature version or not. 0 – EPM-4c – Standard Temperature 1 – EPM-4e – Extended Temperature
Reference – 40 EPM-4 Reference Manual
Revision Indicator Register

Map and Paging Control Register
D7 D6 D5 D4 D3 D2 D1 D0
FPGEN Reserved PG2 PG1 PG0
Bit Mnemonic Description
D7 FPGEN FLASH Paging Enable — Enables a 64KB page frame from E0000h to EFFFFh. Used to gain access to the on-board FLASH memory. FPGEN = 0 FLASH page frame disabled. FPGEN = 1 FLASH page frame enabled.
D6-D3 — Reserved — These bits have no function.
D2-D0 PG2-PG0 Page Select — Selects which 64K block of FLASH will be mapped into the page frame. Memory Range within PG2 PG1 PG0 FLASH 000000h to 00FFFFh 0 0 1 010000h to 01FFFFh 0 1 0 020000h to 02FFFFh 0 1 1 030000h to 03FFFFh 1 0 0 040000h to 04FFFFh 1 0 1 050000h to 05FFFFh 1 1 0 060000h to 06FFFFh 1 1 1 070000h to 07FFFFh .
EPM-4 Reference Manual Reference – 41




D1 Power and Programmable LEDs Dialight 552-0211 LEDx2 T1 3/4 PC Mount Red/Red
J1 High Density Connector FCI 98414-F06-50U 2mm, 50 pins, keyed, latching header
J2 Timer and Reset input Conta-Clip 10250.4 5 pin screw terminal
J3 COM1, COM2 Kycon K42-E9P/P-A4N Dual stacked DB-9 male
J4 PS/2 Keyboard and Mouse Kycon KMDG-6S/6S-S4N Dual stacked PS/2 female
S1 Reset Button E-Switch 800SP9B7M6RE Right angle momentary switch
SP1 Speaker Challenge Electronics DBX05 Miniature speaker
EPM-4 Reference Manual Appendix A — CBL/CBR-5009 – 43


1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19 20 21 22
J1 1 3 5 7 9 11 13 15 17 19
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 35 37 39
36 38 40 41 44 42 43 46 48 50
1 1 2 2 3 3 4 4 5 5
1 1 2 2 3 3 4 4 5 5
1 1 2 2 3 3 4 4 5 5
Figure 11. CBL/CBR-5009 Schematic
Appendix A — CBL/CBR-5009 – 44 EPM-4 Reference Manual

Appendix B — References
Integrated 32-bit CPU Advanced Micro Devices, (www.amd.com/epd) ÉlanSC520 Ethernet Controller Intel Corporation, (www.intel.com/design) 82551ER PC/104 Specification PC/104 Consortium, (www.pc104.org) PC/104 Resource Guide PC/104-Plus Specification PC/104 Consortium, (www.pc104.org) PC/104 Resource Guide General PC Documentation Microsoft Press (www.microsoft.com/learning/books) The Programmer’s PC Sourcebook General PC Documentation Powell's Books (www.powells.com) The Undocumented PC
EPM-4 Reference Manual Appendix B — References – 45
Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.