RadiSys EPC 6A Manual
RadiSys EPC 6A Manual
RadiSys EPC 6A Manual
- ~ ARTISAN®
~I TECHNOLOGY GROUP
with experienced engineers and technicians on staff.
RadiSys Corporation
Hillsboro, OR 97124
(503) 615-1100
www.radisys.com
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC - 6A Hardware Reference
EPC, iRMX, INtime, Inside Advantage and RadiSys are registered trademarks of
RadiSys Corporation. Spirit, DAI, DAQ, ASM, Brahma and SAIB are trademarks
of RadiSys Corporation.
† All other trademarks, registered trademarks, service marks, and trade names
are the property of their respective owners.
October 1998
Copyright 1998 by RadiSys Corporation
All rights reserved.
ii
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Contents
iii
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Read-Modify-Write Operations................................................................................................................. 25
VMEbus Interrupt Handler ............................................................................................................................... 26
VMEbus Interrupt Response............................................................................................................................. 27
VMEbus Mapped Registers .............................................................................................................................. 28
Chapter 5: Theory of Operation
Processor, Coprocessor, and Memory .............................................................................................................. 29
Application Flash Memory or RFA .................................................................................................................. 29
Flash Boot Device............................................................................................................................................. 30
Nonvolatile SRAM Memory ............................................................................................................................ 30
Battery............................................................................................................................................................... 30
Interrupts ........................................................................................................................................................... 31
Watchdog Timer ............................................................................................................................................... 31
EXMbus ............................................................................................................................................................ 31
VMEbus Interface............................................................................................................................................. 32
VMEbus System Controller Functions ............................................................................................................. 32
VMEbus Timing ............................................................................................................................................... 33
Chapter 6: Error Messages
Seven-Segment Display Codes ......................................................................................................................... 35
Phoenix NuBIOS Checkpoints ......................................................................................................................... 36
Support Software .............................................................................................................................................. 39
Chapter 7: Support and Service
In North America .............................................................................................................................................. 41
Technical Support...................................................................................................................................... 41
World Wide Web....................................................................................................................................... 41
Repair Services .......................................................................................................................................... 41
Warranty Repairs................................................................................................................................ 42
Non-Warranty Services ...................................................................................................................... 42
Arranging Service............................................................................................................................... 42
Other Countries.......................................................................................................................................... 43
Appendix A: Connectors
Front Panel LEDs.............................................................................................................................................. 45
Speaker Connector ............................................................................................................................................ 45
Keyboard Connector ......................................................................................................................................... 46
Serial port connectors ....................................................................................................................................... 46
VMEbus Connectors......................................................................................................................................... 46
Appendix B: About the Flash Boot Device
Forced recovery ................................................................................................................................................ 48
When to Reflash the FBD.......................................................................................................................... 49
Before You Begin............................................................................................................................... 49
Reflashing Processes .......................................................................................................................... 49
Force Update ...................................................................................................................................... 49
Appendix C: Registers
Overview........................................................................................................................................................... 54
Memory Control Register (81004h) ................................................................................................................. 54
VME A21–16 Address Register (8130h).......................................................................................................... 55
ID Registers (8140h and 8141h) ....................................................................................................................... 55
Device Type Registers (8142h and 8143h)....................................................................................................... 55
Status/Control Registers (8144h and 8145h) .................................................................................................... 55
Slave Offset Registers (8146h and 9147H) ...................................................................................................... 56
Protocol Registers (8148h and 8149h).............................................................................................................. 57
iv
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Contents
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Figures
Figure 2-1. Jumper locations ..................................................................................................................................................... 6
Figure 3-1. Boot Process. .......................................................................................................................................................... 9
Figure 5-1. Block Diagram........................................................................................................................................................ 29
Figure B-1. EPC-6A FBD Memory Map ................................................................................................................................... 47
Figure B-2. Null Modem Cable Connection .............................................................................................................................. 50
Tables
Table 1-1. Specifications.......................................................................................................................................................... 2
Table 2-1. Jumper locations ..................................................................................................................................................... 6
Table 3-1. Main Menu Selections ............................................................................................................................................ 14
Table 3-2. Clock/Calendar ....................................................................................................................................................... 14
Table 3-3. Drive Configuration................................................................................................................................................ 15
Table 3-4. Configure Floppy Drive A and B ........................................................................................................................... 15
Table 3-5. Configure Fixed Disk C and D ............................................................................................................................... 15
Table 3-6. Edit Subtype............................................................................................................................................................ 16
Table 3-7. VME Control .......................................................................................................................................................... 16
Table 3-8. ULA Setup .............................................................................................................................................................. 17
Table 3-9. Slave Memory Base ................................................................................................................................................ 17
Table 4-1. I/O Map.................................................................................................................................................................. 19
Table 4-2. VME mapped registers .......................................................................................................................................... 28
Table 5-1. Interrupts................................................................................................................................................................. 31
Table 5-2. VMEbus timing...................................................................................................................................................... 33
Table 6-1. Seven-segment display failure codes...................................................................................................................... 35
Table 6-2. Phoenix‘ NuBIOS Auxiliary Checkpoint Codes .................................................................................................... 36
Table 6-3. Phoenix‘ NuBIOS Checkpoint Codes..................................................................................................................... 38
Table 6-4. Phoenix‘ NuBIOS Boot Block Checkpoint Codes ................................................................................................. 39
Table A-1. LEDs ....................................................................................................................................................................... 45
Table A-2. Speaker Connector.................................................................................................................................................. 45
Table A-3. Keyboard Pin-out.................................................................................................................................................... 46
Table A-4. COM1 Connector.................................................................................................................................................... 46
Table A-5. COM2 Connector.................................................................................................................................................... 46
Table B-1. FBD object placement ............................................................................................................................................ 48
vi
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Product Description 1
This manual contains the information you need to install and use the EPC-6A VMEbus
controller. Additional user and programmer manuals discuss the use of software packages
available with the EPC-6A.
The EPC-6A, a high-speed VMEbus module based on the Intel 80486DX2 processor, is a
redesign of the EPC6 VMEbus module which is based on Intel 80386SX processor.
You can use the EPC-6A to:
• Perform VMEbus master accesses.
• Act as a VMEbus slave (by having its dual-port DRAM mapped onto the VMEbus).
• Configure as the VMEbus SLOT-1 system controller.
• Act as an interrupter and interrupt handler.
The EPC-6A computer is also compatible with the IBM PC hardware architecture. The
standard version of the EPC-6A contains, in ROM, a PC-compatible BIOS and a
ROM-based version of Datalight ROM-DOS. The EPC-6A also includes on-board
nonvolatile flash memory supported as a DOS-compatible solid-state disk and file system.
You can store one or more embedded applications on the processor board and
automatically invoke them at system start-up.
The EPC-6A also includes one slot for an EXM expansion module. This allows some of
the I/O of the EPC-6A to be customized for a particular application.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Specifications
This table defines the power and environmental specifications of the EPC-6A.
Table 1-1. Specifications
Characteristic Value
Temperature operating 0 – 60°C ambient
storage –40 – 125°C (without battery; 85°C max with battery
Humidity operating 0 – 90% noncondensing
storage 0 – 95% noncondensing
Altitude operating 0 – 10,000 ft. (3000 m)
storage 0 – 50,000 ft. (15,000 m)
Vibration operating 0.015 inch (0.38 mm) P-P displacement with 2.5 g peak
(max) acceleration over 5–2000 Hz
storage 0.030 inch (0.76 mm) P-P displacement with 5.0 g peak
(max) acceleration over 5–2000 Hz
Shock operating 30 g, 11 ms duration, half-sine shock pulse
storage 50 g, 11 ms duration, half-sine shock pulse
Current typical 5V @ 3.4A, 12V @ 5 mA, –12V @ 10 mA
VME master address A16, A24
master transfer D08(EO), D16, RMW
slave address A16, A24
slave transfer D08(EO),D16,RMW
interrupter (1–7)
interrupt handler D08(O),D16 IH(1–7)
requester ROR,RONR
arbiter RRS,PRI
system controller SYSCLK, IACK daisy chain, bus timer
VXI device type message based
protocols cmdr/master/interrupter
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1: Product Description
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Additional References
PhoenixBIOS† 4.05 Developer’s Reference, Phoenix Technologies, Ltd., 5/22/95 (NOTE:
This document cannot be distributed to customers).
PhoenixBIOS 4.0 Technical Reference, Phoenix Technologies, Ltd., 3/15/94 (NOTE: This
document can be distributed to customers only upon receipt of written permission from
Phoenix Technologies, Ltd.).
PhoenixBIOS PICO OAK Porting Guide, Phoenix Technologies, Ltd., 9/95 (NOTE: This
document can be distributed to customers only upon receipt of written permission from
Phoenix Technologies, Ltd.).
Plug and Play BIOS Specification 1.0A, Compaq Computer Corp., Phoenix Technologies
Ltd., Intel Corp., May 5, 1994.
Memory Products Data Manual, Intel Corporation, 1993.
Intel486† Microprocessor Family Programmer’s Reference Manual, Intel Corporation,
1992.
R400EX Development Specification, Version 3.23, RadiSys Corporation, 1996.
EPC-6A Hardware Specification, RadiSys Corporation, 1997.
Technical Reference, Personal Computer AT, International Business Machines
Corporation, 1985.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Installation 2
Before installing your EPC-6A, you should unpack and inspect it for shipping damage.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Jumpers
The jumpers located on the EPC-6A are used for the following functions:
Table 2-1. Jumper locations
Jumper Function Description
FLASHWE (JP2(1-2)) FBD write-enable Install this jumper to enable writes to
the FBD.
BB_ENB (JP2(3–4)) FBD boot block write enable Install this jumper to enable writes to the
boot block of the FBD.
POSTLP (JP2(5–6)) Manufacturing loop enable Install this jumper to enter the
manufacturing POST loop.
FRCUPDT (JP2(7–8)) Force BIOS recovery Install this jumper to force a BIOS
recovery during the boot process.
SLOT1 (H2) Slot 1 Functionality Install this jumper to enable Slot 1
functionality
SPEAKER (JP3) Speaker Speaker header
Speaker header
RFA write enable
write enabled 1
COM2 header
Battery
JP2
1 System controller jumper—Install if
EPC-6A is VMEbus system controller
VMEbus P1
EPC-6A Insertion
Insert the EPC-6A into a VME chassis as follows:
Make sure that power to your VME system is off. The module is not designed to be
inserted or removed from a live backplane.
When inserting the EPC-6A module, avoid touching the circuit board and
connector pins, and make sure the environment is static-free.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2: Installation
1. Make sure the ejector handles are in the normal non-eject position. (Push the top
handle down and the bottom handle up so that the handles are not tilted.)
2. Slide the EPC-6A module into the VME chassis, making sure the top and bottom
board edges are in the chassis’ card guides. Use thumb pressure on the handles to mate
the module firmly with the VME backplane connector.
3. Tighten the two screws in the top and bottom of the front panel to ensure proper
connector mating and prevent loosening of the module via vibration.
Make sure that power to your VME system is off. EXMs are not designed to be
inserted or removed from live systems.
When inserting an EXM, avoid touching the circuit board, and make sure the
environment is static-free.
1. Remove and save the blank face plate from the EXM slot in the EPC-6A face plate.
2. Slide the EXM into place in the card guides. Push firmly on the EXM front panel to
insert its rear connector.
3. Tighten the thumb screws on the EXM’s face plate.
The EPC-6A can accept most EXM types excluding those that either require a disk BIOS
in the EPC or do not fit by form factor.
Once an EXM is installed, you must to run the BIOS setup program to describe how the
specific EXM should be dynamically configured upon power-up. This is described in 3,
Operation.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
The next step of installation is connecting peripherals, typically a video display and
keyboard, but also perhaps a mouse, modem, printer, etc.
Pin-outs for the EPC-6A front-panel connectors are specified in Appendix A, Connectors.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Operation 3
This chapter contains information about user operation and BIOS setup of the EPC-6A.
Initialization Sequence
The EPC-6A and its BIOS go through these major initialization steps: The seven-segment
display shows information about the EPC-6A’s initialization state.
Reset
1. Display
No
Config Yes
errors?
Log EXM errors
No to SRAM
4. Attempt to boot
from RFA
Done
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3: Operation
11
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
System Reset
The reset switch performs a hardware reset of the EPC-6A and any EXM module, and
then invokes the BIOS initialization process discussed in the previous sections. Removing
and reapplying power to the EPC-6A also causes a hardware reset. Note that if the dot, or
decimal point, in the lower right corner of the 7-segment LED display is illuminated, an
EPC-6A program disabled the reset toggle switch. To reset the EPC-6A in this case, you
must externally signal the VMEbus SYSRESET (unless the EPC-6A program has disabled
this also) or by a power-off/on cycle.
12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3: Operation
Toggle Switch
The front-panel toggle switch has these positions:
• Inactive (normal position):
• Reset: Suspends the EPC-6A; releasing the switch causes a hardware reset.
• Abort: Generates the IRQ11 interrupt.
The interrupt position has two purposes. An application program can install an IRQ11
interrupt handler and thus define the switch in an application-specific fashion. The
second purpose is a special interpretation of the switch during BIOS initialization after
a reset.
Moving the switch to the interrupt position during the five-second operator-override
period (when the display shows a circling light), causes the BIOS to load MS-DOS
from ROM and give control to DOS.
Setup Utilities
Unlike other RadiSys products, the EPC-6A uses, as its primary CMOS setup utility, a
remote setup utility (either serial or across the VMEbus) rather than a monitor/keyboard
based approach. This is due to the EPC-6A’s default configuration, where no keyboard or
video is available. For debug purposes, an EXM video card is installed and the PS/2
keyboard port is available. This means you can use the standard Phoenix CMOS setup
utility.
13
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
+----------------------------------------------------------------------------+
¦ RadiSys Controller Setup Program, Version 2.01 ¦
¦ Copyright 1997 by RadiSys Corporation. All rights reserved. ¦
+----------------------------------------------------------------------------¦
¦ SYS EPC: 6A CPU: 486DX2 Mem: 640K ¦
¦ Info BIOS: 4.05 Mhz: 66 Ext-Mem: 3072K ¦
¦ ¦
¦ Clock Time: 00:05:08 Date: 01/01/97 ¦
¦ ¦
¦ Disks Floppy A: None Floppy B: None ¦
¦ Fixed C: IDE AUTO Subtype C: 541MB 1049C, 16H, 63S ¦
¦ Fixed D: None Subtype D: None ¦
¦ ¦
¦ VME Release mode: RONR (VXI) Arb Mode: Round Robin ¦
¦ Bus Arb Priority: 0 Module ULA: F8 (FE00) ¦
¦ Slave Mem: 400000 (A24) ¦
¦ ¦
¦ EXM ID: None OB1: 0x00 OB2: 0x00 ¦
+----------------------------------------------------------------------------+
Main Menu:
1) Clock 2) Disk 3) VME 4) EXM
5) eXit
Choice:
Clock/Calendar
14
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3: Operation
Drive Configuration
Edit Drive Menu:
1) Floppy A 2) Floppy B 3) Fixed C 4) Fixed D
Choice:
15
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
VME Control
VME Bus Menu:
1) Release Mode 2) Arb Mode 3) Arb Priority 4) Module ULA
5) Slave Mem
Choice:
16
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3: Operation
ULA Menu:
1) F8 (FE00) 2) F9 (FE40) 3) FA (FE80) 4) FB (FEC0)
5) FC (FF00) 6) FD (FF40) 7) FE (FF80) 8) FF (FFC0)
Choice:
EXM Bus
Since there is only one EXM slot available, only one can be configured. When you select
EXM from the main menu, the following prompts display:
Enter the EXM ID = a hex value or ‘none’
Enter the EXM OB1 = a hex value
Enter the EXM OB2 = a hex value
Exit Menu
If you select ‘X’ at the main menu, the exit procedure starts. Changes take effect only after
a reboot.
17
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
18
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Interface 4
This chapter describes the EPC-6A as seen by a program. Wherever possible, users should
avoid direct use of most of these facilities. Hardware features in common with standard
PCs should be accessed by standard BIOS calls. Hardware unique to EPC-6A, such as the
VMEbus interface should be accessed through a variety of software packages and drivers
available with the EPC-6A.
Memory Map
Memory at addresses between 0 and 4 MB (0FFFFFh) are mapped as follows:
Range Content
000000h – 09FFFFh DRAM
0A0000h – 0BFFFFh Uncommitted, EXM bus or VIDBIOS
0C0000h – 0C7FFFh Uncommitted, DRAM, EXM bus or VIDBIOS
0C8000h – 0DFFFFh Uncommitted, mapped to EXM bus
0E0000h – 0EFFFFh Mappable window onto VMEbus
0F0000h – 0FFFFFh System BIOS
100000h – 3FFFFFh DRAM
400000h – F7FFFFh Uncommitted, EXM bus
F80000h – FFFFFFh BIOS ROM
I/O Map
The following defines the I/O addresses decoded by the EPC-6A. It does not define
addresses that might be decoded by the installed EXM.
Table 4-1. I/O Map
Port Functional group Usage
00 DMA Channel 0 address
01 Channel 0 count
02 Channel 1 address
03 Channel 1 count
04 Channel 2 address
05 Channel 2 count
06 Channel 3 address
07 Channel 3 count
08 Command/status
09 DMA request
17
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
18
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4: Programming Interface
19
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
20
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4: Programming Interface
EPC-6A Registers
The next table lists registers in the I/O space specific to the EPC-6A. For detailed
information about each register, see Appendix C, Registers.
EPC-6A Registers
Memory Control Register (81004h) VME Interrupt State Register (8152h)
VME A21–16 Address Register (8130h) VME Interrupt Enable Register (8153h)
ID Registers (8140h and 8141h) VME Event State Register (8154h)
Device Type Registers (8142h and 8143h) VME Event Enable Register (8155h)
Status/Control Registers (8144h and 8145h) Module Status/Control Register (8156h)
Slave Offset Registers (8146h and 9147H) Interrupt Generator Register (815Fh)
Protocol Registers (8148h and 8149h) FSA Address Registers 8380h)
Response Registers (814Ah and 814Bh) Flash Data Register (8383h)
Message High Registers (814Ch and 814Dh) SRAM Data Register 8384h)
Message Low Registers 814Eh and 814Fh) LED Register (8385h)
VME Modifier Register (8151h) Register State after Reset
VMEbus Accesses
Two C-language examples are given here for performing VMEbus accesses through the
E page.
This example performs a 16-bit read from the VMEbus A16 space. It requires setting the
address modifier, relocating the A16 address into the E page (address range E0000–
EFFFF), and then accessing the value pointed to by a C pointer variable.
#define WORD unsigned short
#define LWORD unsigned long
This next example does a byte write into the VMEbus A24 space. Here the upper 8 bits of
the VME address need to be stored in the appropriate registers.
LWORD addr; /* 32-bit A24 address */
BYTE data;
BYTE far * wptr;
21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
*/
outp(0x8130,(WORD)((addr << 10) >> 24); /* A21–A16 */
wptr = (BYTE far *) (0xE0000000L + (addr & 0X0000FFFFL));
*wptr = data; /* Write through window */
The success of the access can be checked either by enabling BERR as an interrupt or by
looking at the BERR bit in the event state register after each access. Since writes are
pipelined, software that looks at the BERR bit should first wait until the DONE bit is set.
It is recommended that rather than performing accesses in this low-level,
hardware-dependent form, the Bus Manager component of the EPConnect software
package be used instead.
The following summarizes the source of the VMEbus address lines for accesses through
the E page.
23 22 21 16 15 0
A24 From From From
port port 486DX2 address
8151 8130 bits 15–0
15 0
A16 From
486DX2 address
bits 15–0
D32 Accesses
Although the 386SX, used in the original EPC6, is a 32-bit processor (for example, 32-bit
registers and operations), its external data bus is 16 bits wide. Any memory operation with
an operand width of 32 bits is broken apart by logic in the processor to two 16-bit
operations. As a result the EPC-6A, using the same VME interface and being a
replacement for the EP6, never performs a VMEbus D32 access.
Byte Ordering
Unlike EPCs that have 32-bit buses, EPC-6A does not contain software-controlled
byte-ordering hardware. The principal reason is that, as described in the previous section,
EPC-6A never performs VMEbus D32 accesses, and therefore there is no feasible way in
hardware to support both forms of byte ordering on what a program would see as a 32-bit
access.
EPC-6A accesses the VMEbus in little-endian (Intel) byte ordering, meaning that, for a
16-bit numerical value, the least-significant byte is assumed to be at the lowest memory
address. This means, for instance, that if a big-endian processor (for example, Motorola
680x0) stored the 16-bit value 0102h, the EPC-6A would interpret its value as 0201h. If a
big-endian processor stored the 32-bit value 01020304h and it were fetched by a program
on the EPC-6A as a 32-bit operand (meaning, as explained above, the EPC-6A would
perform two 16-bit accesses), the EPC-6A program would see the value as 04030201h.
The EPConnect Bus Manager software provides functions for swapping byte ordering
during memory-copy operations.
22
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4: Programming Interface
Read-Modify-Write Operations
VMEbus RMW (read-modify-write) cycles can be performed through use of the
486DX2’s LOCK instruction prefix with certain instructions along with BS16# being
asserted. All of these instructions perform a read followed by a write. When such a read
occurs that is mapped to the VMEbus, the EPC-6A treats it as the start of a VME RMW
cycle. The next VME access from the 486DX2 is treated as the write that terminates the
RMW cycle. For this reason, RMW accesses that cross a 16-bit boundary will not behave
as expected (because the 486DX2 issues two read accesses).
Read-Modify-Write Operations
The EPC-6A provides synchronization integrity in its local DRAM between accesses from
the 486DX2 into the DRAM and RMW VME accesses from other masters into the DRAM.
When a VMEbus slave read access occurs to the local DRAM, the EPC-6A watches the
VMEbus data and address strobes to determine if the cycle is an RMW cycle. If it is,
accesses by the 486DX2 are held up until the terminating access of the RMW cycle occurs.
23
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
When the 486DX2 performs a locked access (for example, via an instruction using the
LOCK instruction prefix) to the local DRAM, VMEbus slave accesses are held up until
the last locked access completes.
IRQ5 K
IRQ6
IRQ7 PC
architecture
SYSFAIL M IRQ10
BERR (sticky) A
S
ACFAIL
K
WDT
VME VME
event event
state enable
register register
Interrupts and events are visible in two state registers. These are unlatched, meaning that a
read of the state register shows the actual state of the signals at the instant of the read. The
exception is BERR, which is a “sticky” bit, meaning that the bit signifies whether BERR
had ever been asserted. The convention used is that a 0 bit signifies an asserted
(interrupting) state.
The primary purpose of the state registers is to let the interrupt handler software determine
which interrupts and events generated the IRQ10 interrupt to the processor. The state
registers can also be read by non-interrupt-handler software to poll for the state of these
signals.
The enable registers allow one to mask selectively these 12 states. A 0 state bit and a
corresponding 1 enable bit causes the PC architecture IRQ10 interrupt to be asserted.
24
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4: Programming Interface
Unlike the 12 input conditions, which are level sensitive inputs, the PC architecture
defines the PC interrupts, such as IRQ10, as edge sensitive. This requires special attention
if you are writing your own interrupt handlers (for example, if you are not using the
functions in the Bus Manager software). Because IRQ10 is edge triggered, you could miss
an incoming interrupt/event that occurs when IRQ10 is disabled, meaning that your
software needs to test for and handle all pending interrupts/events before you leave from
the IRQ10 interrupt handler. To do this correctly, follow the following steps. These steps
assume the reader is familiar with the programming of the 8259 interrupt controller in the
PC architecture.
1. When the IRQ10 interrupt occurs, acknowledge the interrupt by sending
end-of-interrupt to both 8259 interrupt controllers.
2. Depending on your environment, you may wish to switch to another stack (a must
under DOS), and may wish to save the state of the VME modifier and address
registers if you will be using them.
3. To prevent reentry to the interrupt handler, mask off all the interrupts/events or mask
off the IRQ10 interrupt. (Reenable what you have masked off at the end of the
interrupt handler.)
4. Find an enabled pending interrupt/event.
5. If an enabled pending VMEbus interrupt is found, do an interrupt-acknowledge cycle
by setting the IACK bit in the VME modifier register and performing a VMEbus read,
setting address bits A3–A1 to denote the interrupt number. This returns the status/ID
value from the interrupter. For the other controllable conditions (message, sticky
BERR, watchdog timer), you may follow the instructions earlier in this chapter to
remove these interrupting conditions.
6. Perform application-dependent handling of the interrupt/event.
7. If there are still enabled pending interrupts/events, go to step 4. If not, return from the
IRQ10 interrupt handler.
25
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
The registers occupy the first 16 bytes of the 64-byte space; the remainder of the space is
undefined. (Actually, the registers are mapped into each 16-byte chunk of the 64-byte
space.)
Reads and writes of the registers from VME and as I/O ports have identical results and
effects except for the following:
1. Changing the RELM, ARBPRI, and ARBM fields of the status/control register from
VME will appear to have changed the fields (for example, if the register is then read),
but the new values will not effect the EPC-6A’s bus-control logic. To use these fields
for their intended purpose, they must be set by I/O port accesses.
2. A read of the response register from VME clears the LOCK bit (immediately after the
current value of the response register is returned).
26
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Theory of Operation 5
This chapter specifies other information about EPC-6A operation useful to the system
designer. The following diagram shows the major elements of the EPC-6A and data paths
among them.
4 MB
DØ ... 31 MDØ ...
R400 DRAM
RadiSys MAØ ... 9 Slot-1 jumper
A2 ... 31 VME gate
highly inte-
arrays and
grated system
Reset/abort switch control logic
controller LED
Battery display
Speaker 8-bit local bus
Serial
Keyboard SRAM Flash port
connector memory control
29
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
also contains Datalight ROM-DOS (version 6.22, revision 2.1) as a 250KB portion of the
memory space.
The intent of the flash memory is to hold application programs in a standard file-system
format, as opposed to being directly user accessible. Software drivers are provided with
the EPC-6A for this purpose.
Battery
The battery powers the CMOS RAM and TOD clock when system power is not present.
At 60×C, the battery should have a shelf life of over four years. In a system that is
powered on much of the time and where the ambient power-off temperature is less than
60×C, the battery is estimated to have a life of 10 years.
The battery holder is for a 23 mm coin cell, such as a Panasonic BR2330 or
Rayovac BR2335.
To remove or replace the battery, first remove the EXM card guide above the battery by
removing its three mounting screws. The battery cell is held in place by a spring lever. To
remove the battery, apply downward pressure to the cell in the vicinity of the base of the
spring (a small screwdriver may be used), while at the same time applying lateral pressure
to the cell in the direction away from the spring base.
A new cell is installed by sliding it beneath the spring until it snaps into the holder. Ensure
that the spring has not been damaged and that it is in firm contact with, and applying
downward pressure on, the battery cell.
30
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5: Theory of Operation
Interrupts
The following table shows interrupt assignment.
Table 5-1. Interrupts
Interrupt Source
NMI DRAM parity error, EXMbus I/O channel check
IRQ0 Timer (connected to R400 internal 8254 count 0 out)
IRQ1 Keyboard controller (R400 internal)
IRQ2 Cascade interrupt input
IRQ3 COM2 serial port
IRQ4 COM1 serial port
IRQ5 unassigned
IRQ6 unassigned/floppy disk
IRQ7 unassigned
IRQ8 Real-Time clock
IRQ9 unassigned
IRQ10 VME interrupt/event
IRQ11 front-panel toggle switch
IRQ12 not available
IRQ13 coprocessor (FERR)
IRQ14 unassigned/IDE
IRQ15 unassigned
Watchdog Timer
EPC-6A contains a continually running timer having a period of approximately either 8
seconds or 250 milliseconds (software selectable). The watchdog timer event is generated
whenever the period expires. This event may be enabled as a source of the IRQ10 interrupt
or as a complete reset. The timer is reset to its maximum value by an I/O write to the
module status/control register.
EXMbus
The EXM bus, an I/O expansion bus, is provided on a connector to allow the user to insert
one EXMbus module. The EXMbus is very similar to the PC/AT ISA I/O bus. In addition,
it contains a signal -EXMID used for dynamic recognition and configuration of EXMs.
EXMs respond to one or more I/O addresses in the range 100h–107h only when their
–EXMID line is asserted. EXMs are required to return a unique EXM-type identification
byte in response to a read from I/O address 100h. Since the EPC-6A has only a single
EXM slot, its –EXMID line is wired as asserted.
Although IRQ11 is on the EXMbus, IRQ11 is also used by the reset/abort toggle switch
and is driven by a totem-pole driver that has no tristate. Thus the IRQ11 interruptIRQ11
interrupt is not available to EXM modules.
Further information on the EXMbus, its connectors, and standards for building EXMs is
available upon request.
31
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
VMEbus Interface
The EPC-6A connects to the VMEbus J1 connector. All of the VMEbus signals and
voltages on this connector are used except for SERCLK, SERDAT, and +5V STDBY.
The EPC-6A, when configured as an A24 slave, responds with BERR if another bus
master attempts a D32 access into the EPC-6A’s memory. It also responds with BERR if
another master does an access that would map to other than DRAM within the EPC-6A.
The EPC-6A does address pipelining in one circumstance—when the EPC-6A has been
granted the bus while some other master is performing a bus cycle. In this circumstance
the EPC-6A will start its cycle (for example, drive AS* low) before the other master has
removed its data strobes (for example, before DS0* and DS1* are driven high).
The EPC-6A performs write pipelining of 486 write cycles to the VMEbus. The VME
control logic signals completion to the 486 of a write cycle that is mapped to the VMEbus
as soon as the VMEbus AS* signal has been driven low and the data from the 486 has
been latched.
32
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5: Theory of Operation
VMEbus Timing
The following table contains some illustrations of the duration of VMEbus operations.
The times were measured with the EPC-6A in the ROR bus-release mode.
Table 5-2. VMEbus timing
Operation Time
Fill VMEbus slave memory, each iteration of 300 ns + DS-DTACK slave’s write access time
REP,STOSW instructions
Move block of local memory to VMEbus slave 400 ns + the greater of:
memory, each iteration of REP,MOVSW 50 ns
instructions slave’s DS-DTACK write access time
Move block of VMEbus slave memory to local 650 ns + DS-DTACK slave’s read access time
memory, each iteration of REP,MOVSW
instructions
Write access from another master to the DS-DTACK time = 325 ns+ HI
EPC-6A’s DRAM HI is hold-interference time, can range from 0
to 15000 ns, typically is 150 ns
Read access from another master to the DS-DTACK time = 450 ns + HI
EPC-6A’s DRAM HI as defined above
33
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
34
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 6
Error Messages 6
This chapter lists error and warning messages, alphabetized by message text. These are
messages generated by the BIOS and MS-DOS that may be related to your hardware
configuration.
CMOS checksum invalid
Something in the nonvolatile CMOS RAM is incorrect. Run the BIOS setup program to
determine what is wrong, and correct it. If the error occurs repeatedly, the EPC-6A’s
battery has failed. This error is available only on a VGA screen.
CMOS RAM error, check battery / run setup
Something in the nonvolatile CMOS RAM is incorrect. Run the BIOS setup program to
determine what is wrong, and correct it. If the error occurs repeatedly, first try
reinitializing all CMOS RAM parameters. If the problem still occurs, the EPC-6A’s
battery has failed. This error is available only on a VGA screen.
EXM configuration error
The EXM installed (or not installed) does not match the configuration information in the
novolatile CMOS RAM. Hitting any key will allow you to continue, but doing so may
cause problems later if software tries to use the EXM. To correct the problem, enter the
remote setup program, change the information on the setup screen and reboot. This
message is logged to the NVRAM.
Real time clock error - run setup
The battery-backed TOD clock is incorrect. Run the BIOS setup program to determine
what is wrong, and correct it. If the error occurs repeatedly, the EPC-6A’s battery has
failed. This error is available only on a VGA screen.
35
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
36
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 6: Error Messages
37
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
38
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 6: Error Messages
Support Software
The following programs are available for the EPC-6A:
Item Filename Description
RadiSys BIOS ABORTSWI.EXE When placed in the AUTOEXEC.BAT program, this file
reflash tools and alters the EPC-6A’s boot behavior via the toggle switch.
images FLSHDUMP.EXE Dumps the contents of the EPC-6A’s RFA to a 1MB file.
This utility can be used to create “Gold Disks” for the
RFA.
UTILS.TXT Describes the contents of the UTILS directory.
BIOS directory BIOS512K.ROM 512K bios image (used with the FBD command in
forced recovery).
BIOS.ROM 256K bios image (used with the BIOS command in
forced recovery).
BIOS.TXT Describes BIOS images.
Sample directory AUTOEXEC.BAT Sample AUTOEXEC.BAT file which you can use as a
template for the user AUTOEXEC.BAT file.
39
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
40
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 7
Repair Services
Factory Repair Service is provided for all RadiSys products. Standard service for all
RadiSys products covers factory repair with customers paying shipping to the factory and
RadiSys paying for return shipment. Overnight return shipment is available at customer
expense. Normal turn-around time for repair and re-certification is five working days.
41
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Quick Exchange services (immediate shipment of a loaner unit while the failed product is
being repaired) or other extra-cost services can be arranged, but need to be negotiated in
advance to allow RadiSys to pool the correct product configurations. RadiSys does not
maintain a general “loaner” pool. Units are available only for customers that have
negotiated this service in advance.
RadiSys does not provide a fixed-price “swap-out” repair service, as customers have
indicated that issues of serial number tracking and version control make it more
convenient to receive their original products back after repair.
Warranty Repairs
Products under warranty (see warranty information in the front of this manual) will have
manufacturing defects repaired at no charge. Products sent in for warranty repair that have
no faults will be subject to a recertification charge. Extended Warranties are available and
can be purchased at a standard price for any product still under warranty. RadiSys will
gladly quote prices for Extended Warranties on products whose warranties have lapsed;
contact the factory if this applies.
Customer induced damage (resulting from misuse, abuse, or exceeding the product
specifications) is not covered by the standard product warranty.
Non-Warranty Services
There are several classes of non-warranty service. These include repair of customer
induced problems, repairs of failures for products outside the warranty period,
recertification (functional testing) of a product either in or out of warranty, and
procurement of spare parts.
All non-warranty repairs are subject to service charges. RadiSys has determined that
pricing repairs based on time and materials is more cost-effective for the customer than a
flat-rate repair charge. When product is received, it will be analyzed and, if appropriate, a
cost estimate will be communicated to the customer for authorization. After the customer
authorizes the repair and billing arrangements have been made, the product will be
repaired and returned to the customer.
A recertification service is provided for products either in or out of warranty. This service
will verify correct operation of a product by inspection and testing of the product with
standard manufacturing tests. There is a product-dependent charge for recertification.
There are only a few components that are generally considered field-repairable, but,
because RadiSys understands that some customers want or need the option of repairing
their own equipment, all components are available in a spares program. There is a
minimum billing charge associated with this program.
Arranging Service
To schedule service for a product, please call RadiSys RMA Dispatcher directly at (800)
256-5917. Have the product model and serial numbers available, along with a description
of the problem. An RMA Dispatcher will issue a Returned Materials Authorization
(RMA) number, a code number by which we track the product while it is being processed.
Once you have received the RMA number, follow the instructions of the RMA Dispatcher
42
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 7: Support and Service
and return the product to us, freight prepaid, with the RMA number clearly marked on the
exterior of the package. If possible re-use the original shipping containers and packaging.
In any case, be sure you follow good ESD-control practices when handling the product,
and ensure that anti-static bags and packing materials with adequate padding and
shock-absorbing properties are used.
Ship the product, freight prepaid, to:
Product Service Center
RadiSys Corporation
5445 NE Dawson Creek Drive
Hillsboro, Oregon 97124
When shipping the product, include the following information: return address, contact
names and phone numbers in purchasing and engineering, and a description of the
suspected problem. Any ancillary information that might be helpful with the debugging
process will be appreciated.
Other Countries
Contact the sales organization from whom you purchased your RadiSys product for
service and support.
43
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
44
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix A
Connectors A
This chapter specifies the details of the connectors and headers on the EPC-6A The
EXMbus connector is not defined here; its definition is available upon request.
* The Master LED on and the Run LED off indicates that the EPC-6A stopped because either it can’t access
the bus, or because no module responded to the access and the access has not timed out.
Speaker Connector
The speaker header on the EPC-6A circuit board is defined as:
Table A-2. Speaker Connector
Pin Signal Pin Signal
1 Reference voltage 2 Speaker tone
45
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Keyboard Connector
The standard PS2 keyboard connector, available in the front panel, is a 6-pin mini-DIN
connector defined as follows:
Table A-3. Keyboard Pin-out
Pin Signal Pin Signal
1 Data 4 +5V
2 Not used 5 Clock
3 Ground 6 Not used
A second serial port, addressable at PC serial port COM2, COM2 exists in the form of a
10-pin header on the printed-circuit board near the bottom of the front panel. Pin 2 is the
pin closest to the front panel and the bottom. The header is defined as:
Table A-5. COM2 Connector
1 6 Pin Signal Pin Signal
1 Carrier detect 6 Clear to send
2 Data set ready 7 Data terminal ready
3 Receive data 8 Ring indicator
4 Request to send 9 Signal ground
5 10 5 Transmit data unconnected
VMEbus Connectors
EPC-6A has a standard VMEbus P1 connector. It does not access the P1 pins +5VSTDBY,
SERCLK, and SERDAT.
46
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
System BIOS
3FE0000h
(FE000h) 60000h
3FDFFFFh 128KB main block 3 5FFFFh
(N/A)
BIOS extensions
4E000h
Pico Flash BIOS extension
4A000h
MFG BIOS
48000h
3FC0000h Reserved
(N/A) 40000h
3FBFFFFh
(N/A)
128KB main block 2
Reserved
3F80000h
(N/A) 00000h
47
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Forced recovery
A “force recovery” jumper is provided which is readable by the boot block and can force
the boot block to initiate a BIOS recovery sequence. This jumper is readable by the boot
block and can force the boot block to initiate a recovery sequence should the other
methods of initiating the sequence become inaccessible (for example, the System BIOS
becomes corrupted such that the system cannot boot to the OS).
The following table describes the exact sizes and placement of the various code and data
objects present in the FBD:
Table B-1. FBD object placement
Object Name FBD Offset Object Size Write Enable
Boot and recovery code 7C000h 16KB BB write-enable jumper
System BIOS 60000h 96KB In chipset
PicoFlash BIOS extension 4A000h 16KB In chipset
The recovery process occurs because the boot block detects corrupt a BIOS or the force
recovery jumper is installed. System BIOS corruption is detected by calculating an 8-bit
checksum over the area occupied by System BIOS code.
The recovery is performed by using any Serial Communication Package (SCP) which
supports the XModem/CRC protocol. The SCP speed is determined automatically.
To determine the baud rate at which the SCP is running, the user repeatedly presses the
space bar. The autobaud mechanism should determine the baud rate that the SCP is
running at. If the baud rate is not determined before a predetermined timeout value, the
baud rate is defaulted to 9600 baud. The recovery module autobaud mechanism then
detects one of the following supported baud rates: 9600, 19200, 38400, 56800 or 115200.
The SCP executes on an external host computer and establishes a communication link with
the EPC-6A via the recovery serial port. The recovery mechanism supports the recovery of:
48
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B: About the Flash Boot Device
• Bootblock
• System BIOS and BIOS extensions, Main Blocks 3-4, Parameter block 1 & 2
• FBD, the entire 512K (minus the 16K bootblock) device is reflash, no attempt is made
to reprogram the bootblock.
• RFA
• CMOS
Images suitable for update or recovery use absolute binary format (8-bit data, little endian
byte ordering).
The EPC-6A boot block XModem serial communication requires a straight-through serial
connection to the external host computer and operates at the auto-detected baud rate with
no parity, eight data bits, and 1 stop bit. Cabling between the host and the EPC-6A may be
dictated by the SCP. However, the only RS-232 signals required by the EPC-6A are Tx,
Rx, and Gnd.
Reflashing Processes
You must install the following jumpers to start the reflash process:
JP2 FLASH WE
JP2 FORCE RECOVERY
JP1 WREN
Force Update
The force update process occurs because the boot block detects a corrupt system BIOS
image (for example, a bad checksum for main block 2) or because you installed the force
update jumper (JP2) at power up. A force update is necessary only to:
• Replace a system BIOS image damaged by power failure during an earlier flash
update process.
• Recover from accidental writes to the FBD.
49
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
• Enable FBD recovery when the system cannot boot to a DOS-compatible operating system.
Perform the force update flash recovery process by connecting a null modem serial cable
between the EPC-6A’s COM1 port and a source computer on which is installed an SCP
that supports the Xmodem protocol. The SCP should also support terminal emulation, as
the source computer serves only as a remote console during the flash recovery process.
The SCP dictates necessary cabling between the source computer and the EPC-6A,
however, the only RS-232 signals required by the EPC-6A are Tx, Rx, and GND.
EPC-6A Source computer
COM1 serial port
TXD TXD
RXD RXD
GND GND
Power up the EPC-6A and execute the SCP on the source computer. Press the space bar
repeatedly to invoke the autobaud capability, which automatically sets the baud rate for
you. Set up the SCP to communicate with no parity, eight data bits, and 1 stop bit. The
SCP should establish a straight-through serial communication link with the EPC-6A
COM1 port. The EPC-6A boot block contains resident Xmodem code necessary to
establish communication with the SCP, serially download the images to flash, and
re-program the FBD.
Once the BIOS configures the communication port, the EPC-6A is ready to synchronize
with the source computer through Xmodem. The EPC-6A receives no data from the
source computer via the serial port until synchronization is complete.
When synchronization is complete and the force update flash recovery process is ready to
begin, you must enter one of the following commands to define how the process occurs:
FBD Reflashes the entire FBD (except the boot block).
BB Reflashes the FBD boot block.
BIOS Reflashes the system and video BIOS images.
EXIT Ignores the force recovery jumper and continues booting the system BIOS.
HELP Prints help messages that explain the FBD, BB, and BIOS commands.
RFA Reflashes the RFA.
CMOS Restores factory default values to CMOS. Use this command if a non-bootable
CMOS configuration has been saved.
The force update flash recovery process will not begin unless you enter a command. When
you enter the FBD, BB, or BIOS commands, code in the boot block automatically initiates
the reflashing process. The SCP indicates the status of the recovery process while it
occurs, displaying the activities of erasing and rewriting each image.
When the force update flash recovery process is complete and the FBD is recovered, the
program issues the statement “flash recovery successful.” Power down the EPC-6A and
remove the serial interface cable. Also remove the force update jumper at JP2 if the force
update process was not initiated by a corrupt image. Remove the write-enable jumpers if
50
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B: About the Flash Boot Device
you reflashed the FBD boot block. When you power up the system, it boots with the
recovered BIOS images.
Note that the message: “Image has exceeded target size, Image is being truncated” is
normal; this alerts the user that the bootblock was not reflashed.
51
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
52
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix C
Registers C
Use this table to locate information about EPC-6A registers in the I/O space.
Register Page
Overview .................................................................................................................................. 54
Memory Control Register (81004h).......................................................................................... 54
VME A21–16 Address Register (8130h).................................................................................. 55
ID Registers (8140h and 8141h).............................................................................................. 55
Device Type Registers (8142h and 8143h).............................................................................. 55
Status/Control Registers (8144h and 8145h)........................................................................... 55
Slave Offset Registers (8146h and 9147H) ............................................................................. 56
Protocol Registers (8148h and 8149h) .................................................................................... 57
Response Registers (814Ah and 814Bh) ................................................................................ 57
Message High Registers (814Ch and 814Dh) ......................................................................... 58
Message Low Registers 814Eh and 814Fh)............................................................................ 58
VME Modifier Register (8151h)................................................................................................ 58
VME Interrupt State Register (8152h)...................................................................................... 59
VME Interrupt Enable Register (8153h)................................................................................... 59
VME Event State Register (8154h).......................................................................................... 59
VME Event Enable Register (8155h) ....................................................................................... 59
Module Status/Control Register (8156h).................................................................................. 60
Interrupt Generator Register (815Fh) ...................................................................................... 60
FSA Address Registers 8380h) ............................................................................................... 60
Flash Data Register (8383h).................................................................................................... 61
SRAM Data Register 8384h) ................................................................................................... 61
LED Register (8385h) .............................................................................................................. 61
Register State after Reset........................................................................................................ 61
53
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
Overview
Where a bit position has been described by a 0 or 1, the bit is a ROM bit, and writing to it
has no effect. Unless otherwise noted, all registers and bit values are readable and
writeable. TSEN, when set, inhibits the front panel toggle switch from generating a reset
Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 I/O port
Memory Control Register reserved EVME CDEN 8104h
VME A21–16 Address Reg VMEbus address bits 21–16 res res 8130h
ID Register, lower 1 1 1 0 1 1 0 0 8140h
ID Register, upper 1 0 0 0 1 1 1 1 8141h
Device Type Reg, lower 1 1 0 0 1 1 0 0 8142h
Device Type Reg, upper 0 0 0 1 1 1 1 1 8143h
Status/Control Reg, lower SRIE RELM ARBPRI RDY PASS NOSF 8144h
Status/Control Reg, upper SLE 1 SYSR SYSF ARBM 1 1 1 8145h
Slave Offset Reg, lower 1 1 1 1 1 1 1 1 8146h
Slave Offset Reg, upper 0 0 0 1 1 1 SLAVE BASE 8147h
Protocol Register, lower 1 1 1 1 1 1 1 1 8148h
Protocol Register, upper 0 1 0 1 1 1 1 1 8149h
Response Register, lower LOCK 1 ABMH 1 1 ULA 814Ah
Response Register, upper 0 0 0 0 1 RRDY WRDY 1 814Bh
Message High Reg, lower 814Ch
Message High Reg, upper 814Dh
Message Low Reg, lower 814Eh
Message Low Reg, upper 814Fh
VME Modifier Register VME WA23–22 res IACK res AM4 AM2 AM1 8151h
VME Interrupt State Reg IRQ7 IRQ6 IRQ5 IRQ4 IRQ3 IRQ2 IRQ1 MSGR 8152h
VME Interrupt Enable Reg IRQ7 IRQ6 IRQ5 IRQ4 IRQ3 IRQ2 IRQ1 MSGR 8153h
VME Event State Register 1 1 1 1 WDT ACFA BERR SYSF 8154h
VME Event Enable Register 1 1 1 1 WDT ACFA BERR SYSF 8155h
Module Status/Control Reg DONE AS DS0 DS1 res res FWDT ENRE 8156h
Interrupt Generator Register 1 1 1 1 0 INTERRUPT-OUT 815Fh
FSA7–0 Address Register Flash/SRAM address bits 7–0 8380h
FS A15–8 Address Register Flash/SRAM address bits 15–8 8381h
FS A19–16 Address Register reserved Flash/SRAM address bits 19–16 8382h
Flash Data Register 8383h
SRAM Data Register 8384h
LED Register TSEN LED6 LED5 LED4 LED3 LED2 LED1 LED0 8385h
This register contains two control bits that pertain to the DRAM and the flash memory:
EVME If set, allows E page (0E0000h) access to and from the VMEbus. This is
necessary because the Phoenix BIOS occupies the memory region 0E0000h ~
0FFFFF at POST. When POST is complete and just before INT 19, this bit is
set to allow VME access.
54
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix C: Registers
CDEN If set, the flash memory is accessible. If clear, writes to the flash data register
have no effect and reads from it return an unpredictable value.
When an access is performed by the EPC-6A in its “E page” (address range 0E0000–
0EFFFF), the access is mapped onto the VMEbus. The least-significant sixteen of the
VME address bits are provided directly (from the 486DX2), and the remaining 8 (for an
A24 access) bits must come from somewhere else. Six of them come from this register. Bit
7 of this register is used as VME address bit 21, bit 6 as VME address bit 20, ..., and bit 2
as VME address bit 16.
The two low-order bits are reserved RAM bits. On writes, assign them the value 0. For
compatibility with EPC-1, this register is aliased at I/O port addresses 8132, 8134, and 8136.
ID Register, upper 1 0 0 0 1 1 1 1
This read-only register adheres to the VXIbus specification. It defines the EPC-6A as a
message-based device and the manufacturer as RadiSys Corporation.
This register adheres to the VXIbus specification. The first four bits of the upper half
denote that the EPC-6A maps into a 4 MB range in the A24 space when used as a slave.
The remaining ROM bits define the EPC-6A as having a model code of 4044.
This register adheres to the VXIbus specification and also contains EPC-6A specific bits.
SRIE SYSRESET input enable. If set, assertion of VME SYSRESET generates a
reset of the EPC-6A. One use of this bit is having EPC-6A software reset other
VME devices (via bit SYSR) without resetting the EPC-6A.
RELM Bus release mode. If set, the bus release mode is ROR (release on request);
otherwise it is the VXI RONR “fair requester” mode (request on no request).
Altering this bit via the VME-mapped location of this register has no effect.
55
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
ARBPRI Arbitration priority. This defines the level at which theEPC-6A arbitrates for
the VMEbus.
This value... Means...
11 3
10 2
01 1
00 0
Like for RELM, altering this field via the VME-mapped location of this
register has no effect.
RDY This is a RAM bit defined by the VXI specification. In a VXIbus software
environment, if RDY=1 and PASS=1, the EPC-6A is ready to accept VXI-
defined messages. The VMEbus user needn’t be concerned with this and the
next bit.
PASS This is a RAM bit defined by the VXI specification. If set (1), the EPC-6A
completed its selftest successfully.
NOSF SYSFAIL inhibit. If set, the EPC-6A cannot assert the VME SYSFAIL line.
RSTP Reset EPC. Setting this bit resets the EPC-6A.
SLE Slave enable. If set, the EPC-6A responds to certain A24 accesses on the
VMEbus.
SYSR SYSRESET. The EPC-6A asserts the VME SYSRESET line while this bit is
1. When using this bit, it is software’s responsibility to ensure that the VME
specified minimum assertion time of SYSRESET is met.
SYSF SYSFAIL. The EPC-6A asserts the VME SYSFAIL line while this bit is
0 (zero). (The polarity of the bit is reversed from that of SYSRESET so that an
EPC-6A reset—which clears this bit—causes SYSFAIL to be asserted until the
BIOS stores a 1 in this bit.)
ARBM Arbitration mode. This bit is pertinent only if the EPC-6A is jumpered to be the
VMEbus system controller. If set, the EPC-6A is a priority arbiter; otherwise
it is a round-robin arbiter. Like for RELM, altering this field via the VME-
mapped location of this register has no effect.
SLAVE BASE defines the base address of the EPC-6A’s memory in the VMEbus A24
address space as follows: 00 – 000000, 01 – 400000, 10 – 800000, 11 – C00000.
56
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix C: Registers
This read-only register is defined by the VXIbus specification. In VXI systems, it defines
the EPC-6A as being a servant and commander, having no signal register, being a bus
master, and not providing fast handshake mode.
With the exception of LOCK, this register is defined by the VXIbus specification. It
contains control bits associated with the message registers.
LOCK If set, the message register can be locked for the sending of a message. If clear,
the message register is locked.
ABMH This bit is cleared when the message high register is read or written. It serves
as a location monitor for determining whether a message is 16 or 32 bits in
length.
ULAULA Unique logical address. This determines the base of the registers in the
VMEbus A16 space. 0 denotes FE00, 1 denotes FE40, 2 denotes FE80, 3
denotes FEC0, 4 denotes FF00, 5 denotes FF40, 6 denotes FF80, and 7 denotes
FFC0.
RRDY Read ready. As defined by VXI, a 1 denotes that the message registers contain
outgoing data to be read by another device. RRDY is cleared when the message
low register is read.
WRDY Write ready. If set, the message registers are armed for an incoming message.
When a write occurs into the message-low register, WRDY is cleared and the
MSGR interrupt condition is asserted.
Although the intention is that the message register reads and writes that clear WRDY and
RRDY come from another VMEbus processor, accesses to the message register as mapped
into the EPC-6A’s I/O space also have the same effect.
When the response register is read from the VMEbus, the current value of the register is
read, and then LOCK is cleared. The protocol for sending a message to the EPC-6A, if
there are multiple potential senders, is the following. The sender first reads the response
register. If both WRDY and LOCK are 1, he may then proceed to send the message. For a
16-bit message, the sender writes into the message-low register. For a 32-bit message, he
writes first into the message-high register and then the message-low register.
57
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
This register is also used when the EPC-6A makes an access through its E page to the
VMEbus. Bits 7 and 6 provide VME address bits A23 and A22, respectively. Bits 2–0
define the value placed on the associated VMEbus address-modifier lines. Register bits
are not defined for the VMEbus address-modifier AM3 and AM0 lines since, for all
defined address-modifier values in the VMEbus specification, AM3 is 1 and AM0 is the
inverse of AM1. Therefore these two bit values are generated by hardware.
AMx These bits drive the VME address-modifier lines AM4, AM2, and AM1. The
other three VME address-modifier lines are generated automatically: AM5 and
AM3 are always 1 and AM0 is always the inverse of AM1. Thus these three
register bits correspond to the following VMEbus functions:
000 A16 non-privileged access
001 reserved
010 A16 supervisory access
011 reserved
100 A24 non-privileged data access
101 A24 non-privileged program access
110 A24 supervisory data access
111 A24 supervisory program access
IACK This bit, when set, is used to define the VMEbus access as an interrupt
acknowledge cycle. The interrupt being acknowledged must be
encoded by software as a value on VME address lines A1–A3.
58
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix C: Registers
For compatibility with other EPCs, when writing to this register assign 0 to reserved bit 5
and 1 to reserved bit 3.
This read-only register defines the state of the VMEbus and message interrupts.
IRQx If clear (0), the associated VMEbus interrupt line is asserted.
MSGR If clear (0), a message interrupt is being signalled. MSGR is clear if both of bits
RRDY and WRDY in the response register are clear.
This is a mask of the interrupt conditions in the interrupt state register. A 1 denotes that the
corresponding interrupt is enabled. If any bit in this register is a 1 and the corresponding
bit in the interrupt state register is a 0, the EPC-6A IRQ10 interrupt is asserted. Software
may then examine the interrupt and event state registers to determine the cause.
Similar to the interrupt state register, this register defines additional conditions that may
result in an IRQ10 interrupt. If the bit is 0, the condition is present.
WDT The EPC-6A’s watchdog timer’s period has expired.
ACFA VMEbus ACFAIL is asserted.
BERR An access from the EPC-6A to the VMEbus was terminated with a BERR (bus
error).
SYSF VMEbus SYSFAIL is asserted.
All bits are read-only except BERR. BERR is a sticky bit that is cleared whenever an
access from the EPC-6A is terminated by a bus error, and remains clear (0) unless changed
by software (by writing any value to this register).
This is a mask of the interrupt conditions in the event state register. A 1 denotes that the
corresponding event is enabled as an interrupt. If any bit in this register is a 1 and the
corresponding bit in the event state register is a 0, the EPC-6A IRQ10 interrupt is asserted.
Software may then examine the interrupt and event state registers to determine the cause.
59
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
This register is used to assert one of the VMEbus interrupt signals. If the
INTERRUPT-OUT bits are zero, no interrupt line is asserted by the EPC-6A. If set to 001,
IRQ1 is asserted. If set to 010, IRQ2 is asserted, and so on. If and when an interrupt
acknowledge is sent to the EPC-6A, the INTERRUPT-OUT bits are cleared.
You can also deassert a previously asserted interrupt by writing 0 into the register.
These read/write registers specify the address of the byte to be accessed within the flash or
SRAM array when the data register is accessed. Since the SRAM has software support for
only 32 KB, the 15 low-order address bits are pertinent to it.
60
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix C: Registers
This read/write register is used to access the byte in the flash memory array addressed by
the FS address registers. A read returns the value of the addressed byte if bit CDEN in the
memory control register is set; otherwise the read returns an unpredictable value. A write
to this register writes to the addressed byte if bit CDEN is set and if the flash write-protect
jumper is not installed on the board.
This read/write register is used to access the byte in the nonvolatile SRAM array
addressed by the FS address register. The BIOS and ROM DOS use the upper 2 KB of the
SRAM array to communicate error messages to the setup program. Thus the user should
consider the SRAM as a 30 KB array.
The LED register is a read/write register that controls the seven-segment display and reset
toggle switch on the front panel.
TLEDx These bits control the segments of the LED
LED0
seven-segment display as shown to the right. The
LED1
LED5
segment is lit when the corresponding bit is 0.
TSEN This bit controls both the decimal point on the LED LED6
display and the front-panel toggle switch. When the
LED2
LED4
61
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
62
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index
A C
A16 28 Cache 25
A24 23, 55 CMOS RAM 10, 30
ACFAIL 26, 59 error 35
Address modifier 23, 25, 58 COM1 31, 46
Address strobe 60 COM2 31, 46
Altitude 1 Commander 57
Arbitration mode 56 Configuration information 10
Arbitration priority 56 Configuration registers 28
Coprocessor 29
B Current 1
Backplane jumpers 7
Battery D
cell type 30 D32 access 24, 32
failure 35 Daisy chain 7
header 5 Data strobe 60
holder 30 Device type register 55
life 30 Disk 10
removal 30 DRAM parity error 31
replacement 30
BERR 24, 25, 26, 32, 59 E
Big endian 24 E page 23, 55, 58
BIOS EPC-1 24, 55
force update flash recovery process defined 49 EPControl 11
initialization 9–?? EXM
use of SRAM 30, 61 bus 31
Block transfer cycles 25 configuration error 35
Boot Block insertion 7
description of the FBD 47 types 7
reflashing the 50 EXM configuration error 9
Boot device 10 EXM-3 7
Bus arbiter 32 EXM-9 7
Bus error 59 EXMbus 31
Bus grant 45 EXMID signal 31
Bus Manager 24, 27
Bus monitoring 60
F
Bus release 55
Bus timeout 32, 45 Fast handshake mode 57
bus timeout 5 Flash Boot Device
Byte ordering 24 boot block description 47
flash recovery commands defined 50
functional description 47
recovery process defined 49
63
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
64
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index
65
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
EPC-6A Hardware Reference
66
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Artisan Technology Group is an independent supplier of quality pre-owned equipment
Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate, representative, or authorized distributor for any manufacturer listed herein.
We're here to make your life easier. How can we help you today?
(217) 352-9330 I [email protected] I artisantg .com