EPOX EP-P80P+ User manual

TRADEMARKS
All products and company names are trademarks or
registered trademarks of their respectives holders.
These specifications are subject to change without notice.
Manual Revision 1.0
December 02, 2002
EP-P80P+
6000012P8+100
PCI Diagnostic &
Troubleshooting Card.
Users Manual

CAUTION
This card is subject to
damage by static electricity. Always
observe the handling procedures.
User Notice
No part of this product, including the product and software may be reproduced,
transmitted, transcribed, stored in a retrieval system, or translated into any language
in any form without the express written permission of EPoX Computer Company
(hereinafter referred to as EPoX) except for documentation ept by the purchaser
for bac up purposes.
We provide this manual as is without warranty of any ind, either expressed or
implied, including but not limited to the implied warranties or conditions of
merchantability or fitness for a particular purpose. In no event shall EPoX be liable
for any loss of profits, loss of business, loss of use or data, interruption of business or
for indirect, special incidental, or consequential damages of any ind, even if EPoX
has been advised of the possibility of such damages arising from any defect or error
in the manual or product. EPoX may revise this manual from time to time without
notice. For updated BIOS, drivers, or product release information you may visit our
websites at http://www.epox.com or http://www.epox.com.tw.
Products mentioned in this manual are mentioned for identification purposes only.
Product names appearing in this manual may or may not be registered trademar s or
copyrights of their respective companies. The product name and revision number
are both printed on the mainboard itself.
Handling Procedures
Static electricity can severely damage your equipment. Handle the mainboard and
any other device in your system with extreme care and avoid unnecessary contact
with system components on the mainboard. Always wor on an antistatic surface to
avoid possible damage to the mainboard from static discharge. Always have the
power supply unplugged and powered off when inserting and removing devices
within the computer chassis. EPoX assumes no responsibility for any damage to the
mainboard that results from failure to follow instruction or failure to observe safety
precautions.

2=CA"
Table of Contents
Chapter 1: Introduction
Package Contents ........................................................... 5
Overview of EP-P80P+ .................................................. 6
Chapter 2: Diagnostic Card Usage
System Voltage etected ............................................... 7
PCI Bus C/BE[3::0] escription .................................... 7
Circular Buffer ............................................................... 8
Forward/Backward Button Interface ............................ 9
7-Segment ecoder and ecimal Point Indicator ........ 10
AMI BIOS v6.24 Codes ................................................. 11
Award BIOS v6.0 Codes ................................................ 17

IntroductionEP-P80P+
Page 5
Chapter 1Chapter 1
Chapter 1Chapter 1
Chapter 1
IntroductionIntroduction
IntroductionIntroduction
Introduction
Package Contents
A EP-P80P+ Users manual
B EP-P80P+ PCI Diagnostic Card
*
)
Users
manual

EP-P80P+Introduction
Page 6
Overview of EP-P80P+
EP-P80P+ is a PCI based Diagnostic & Troubleshoot-
ing card for PCI local bus motherboards allowing
realtime feedbac of system boot status and current
state of the PCI Byte Enable/Command signals.
The EP-P80P+ can help IT professionals and system
engineers in the troubleshooting and repair of non-
responsive systems by obtaining system status direct
from port I/O 80H. The card is also capable of decoding
from the PCI bus C/BE as well chec ing the presence of
+5, +3.3, -12, 12V and PCIRST power lines.
The EP-P80P+ manual includes a comprehensive list of
common AMI and Award BIOS POST codes; see
chapter 2.

Diagnostic Card UsageEP-P80P+
Page 7
Chapter 2Chapter 2
Chapter 2Chapter 2
Chapter 2
Diagnostic Card UsageDiagnostic Card Usage
Diagnostic Card UsageDiagnostic Card Usage
Diagnostic Card Usage
System Voltages Detected
These EDs represent the voltages they represent being present
on the PCI bus. The diagnostic card is capable of detecting +5,
+3.3, -12, +12V and PCIRST from the PCI bus.
PCI Bus C/BE[3::0] # Descriptio
Note: A binary 1 below would represent the diagnostic cards
corresponding ED being enabled (on), while 0 would be the
ED disabled (off).
BEQ#: PCI Bus
3 2 1 0 Command Type
0 0 0 0 Interrupt Acknowled e
0 0 0 1 Special Cycle
0 0 1 0 I/O Read
0 0 1 1 I/O Write
0 1 0 0 Reserved
0 1 0 1 Reserved
0 1 1 0 Memory Read
0 1 1 1 Memory Write
1 0 0 0 Reserved
1 0 0 1 Reserved
1 0 1 0 Confi uration Read
1 0 1 1 Confi uration Write
1 1 0 0 Memory Read Multiple
1 1 0 1 Dual Address Cycle
1 1 1 0 Memory Read Line
1 1 1 1 Memory Write and Invalidate
For more information about the PCI Bus C/BE si nal please refer to PCI
Local Bus Specification Revision 2.0 or Intel datasheets.

EP-P80P+
Page 8
Diagnostic Card Usage
Circular Buffer
The EP-P80P+ has a built-in circular buffer that contains 32 8-bit
wide registers. The register are used for storage of data entries from
the host chip. They are indexed 0 through 31, being organized in a
form of circular buffer. The previous one to the index (i) register
is indexed (i-1), at a lower location; the next one indexed (i+1), at
a higher location. The last register index (31) is followed with
index (0). All the registers make a cycle. In the way, up 32 bytes
of input entries that are most recently transmitted from the EP-
P80P+ can be retained.

Diagnostic Card UsageEP-P80P+
Page 9
Forward/Backword Butto I terface
The EP-P80P+ also provides two button inputs for use to move RP
(Read Pointer) forward (S1 Switch) or backward (S2 Switch) via
external push buttons. The RP (Read Pointer) is incremented or
decremented and the trace buffer contents pointed by the updated
RP (Read Pointer) will be selected for ED display. In this operation,
ED display updates with the movement of the RP (Read Pointer);
thereby, 32 consecutive POST codes can be accessed one by one.
<Figure 2: Circular Buffer and Read/Write Pointer>
* RDPTR (Read Pointer)
* WRPTR (Write Pointer)

EP-P80P+
Page 10
Diagnostic Card Usage
7-Segme t Decoder a d Decimal Poi t (DP) I dicator
Within the circular trace buffer, the register contents of the
entry pointed by the read pointer (RP) are chosen for display.
The 8-bit binary contents are further divided into low and high
nibbles, 4 bits each. Alternate selection between both nibbles is
periodically conducted according to an internal multiplexed
timing clock. The selected nibble is then converted into segment
codes for digit display by the built-in BCD to 7-segment decoders.
The 7 segments are labeled a through g as shown below. Besides,
the decimal point segments of the display can be driven by the
multiplexed output DP to indicate current status of the read and
write pointers within the circular buffer. The coding of DP
display is shown in table 1.
hgiH-PDwoL-PDsutatStigiDtfeLtigiDthgiR
ffOffOyrtnetsetaL
nOnOyrtnetsedlO
ffOnOpetsenodrawroF
nOffOpetsenodrawkcaB
<Figure 3: Hexadecimal digital display and segment definition>
<Table 1: Decimal Pointer (DP) display decoder>

Diagnostic Card UsageEP-P80P+
Page 11
AMI BIOS v6.24 Codes
Followin is the checkpoint list in AMIBIOS in order of execution.
Uncompressed INIT code checkpoints
D0 NMI is Disabled. CPU ID saved. Init code Checksum verification
startin .
D1 To do DMA init, Keyboard controller BAT test, start memory refresh
and oin to 4GB flat mode.
D3 To start Memory sizin .
D4 To comeback to real mode. Execute OEM patch. Set stack.
D5 E000 ROM enabled. Init code is copied to se ment 0 and control to
be transfered to se ment 0.
D6 Control is in se ment 0. To check <CTRL><HOME> key and verify
main BIOS checksum. If either <CTRL><HOME> is pressed or
main IOSchecksum is bad, o to check point E0 else oto check
point D7.
D7 To pass control to Interface Module.
D8 Main BIOS runtime code is to be decompressed.
D9 Control to be passed to main BIOS in shadow RAM.
Boot Block Recovery Code Check Points
E0 OnBoard Floppy Controller (if any) is initialzed.
To start base 512K memory test.
E1 To initialise interrupt vector table.
E2 To initialise DMA and interrupt controllers.
E6 To enable floppy and timer IRQ, enable internal cache.
ED Initialize floppy drive.
EE Start lookin for a diskette in drive A: and read 1st sector of the
diskette.
EF Floppy read error.
F0 Start searchin AMIBOOT.ROM file in root directory.
F1 MIBOOT.ROM file not present in root directory.
F2 Start readin FAT table and analyze FAT to find the clusters occupied
by MIBOOT.ROM file..
F3 Start readin MIBOOT.ROM file cluster by cluster.
F4 MIBOOT.ROM file not of proper size.
F5 Disable internal cache.
FB Detect Flash type present.

EP-P80P+
Page 12
Diagnostic Card Usage
FC Erase Flash.
FD Pro ram Flash.
FF Flash pro ram successful. BIOS is oin to restart. Runtime code is
uncompressed in F000 shadow ram
03 NMI is Disabled. To check soft reset/power-on.
05 BIOS stack set. Goin to disable Cache if any.
06 POST code to be uncompressed.
07 CPU init and CPU data area init to be done.
08 CMOS checksum calculation to be done next.
0B Any initialization before keyboard BAT to be done next.
0C KB controller I/B free. To issue the BAT command to keyboard
controller.
0E Any initialization after KB controller BAT to be done next.
0F Keyboard command byte to be written.
10 Goin to issue Pin-23,24 blockin /unblockin command.
11 Goin to check pressin of <INS> , <END> key durin power-on.
12 To init CMOS if Init CMOS in every boot is set or <END> key is
pressed. Goin to disable DMA and Interrupt controllers.
13 Video display is disabled and port-B is initialized.
Chipset init about to be in.
14 8254 timer test about to start.
19 About to start memory refresh test.
1A Memory Refresh line is to lin . Goin to check 15us ON/OFF
time.
23 To read 8042 input port and disable Me akey GreenPC feature. Make
BIOS code se ment writeable.
24 To do any setup before Int vector init.
25 Interrupt vector initialization about to be in. To clear password if
necessary.
27 Any initialization before settin video mode to be done.
28 Goin for monochrome mode and color mode settin .
2A Different BUSes init (system, static, output devices) to start if present.
2B To ive control for any setup required before optional video ROM check.
2C To look for optional video ROM and ive control.
2D To ive control to do any processin after video ROM returns control.
2E If EGA/VGA not found then do display memory R/W test.
2F EGA/VGA not found. Display memory R/W test about to be in.
30 Display memory R/W test passed. About to look for the retrace
checkin .

Diagnostic Card UsageEP-P80P+
Page 13
31 Display memory R/W test or retrace checkin failed. To do alternate
Display memory R/W test.
32 Alternate Display memory R/W test passed. To look for the alternate
display retrace checkin .
34 Video display checkin over. Display mode to be set next.
37 Display mode set. Goin to display the power on messa e.
38 Different BUSes init (input, IPL, eneral devices) to start if present.
39 Display different BUSes initialization error messa es.
3A New cursor position read and saved. To display the Hit <DEL>
messa e.
40 To prepare the descriptor tables.
42 To enter in virtual mode for memory test.
43 To enable interrupts for dia nostics mode.
44 To initialize data to check memory wrap around at 0:0.
45 Data initialized. Goin to check for memory wrap around at 0:0
and findin the total system memory size.
46 Memory wrap around test done. Memory size calculation over.
About to o for writin patterns to test memory.
47 Pattern to be tested written in extended memory. Goin to write
patterns in ase 640k memory.
48 Patterns written in base memory. Goin to findout amount of memory
below 1M memory.
49 Amount of memory below 1M found and verified. Goin to findout
amount of memory above 1M memory.
4B Amount of memory above 1M found and verified.
Check for soft reset and oin to clear memory below 1M for
soft reset. (If power on, o to check point# 4Eh).
4C Memory below 1M cleared. (SOFT RESET)
Goin to clear memory above 1M.
4D Memory above 1M cleared. (SOFT RESET)
Goin to save the memory size. (Goto check point# 52h).
4E Memory test started. (NOT SOFT RESET)
About to display the first 64k memory size.
4F Memory size display started. This will be updated durin
memory test. Goin for sequential and random memory test.
50 Memory testin /initialization below 1M complete.
Goin to adjust displayed memory size for relocation/ shadow.
51 Memory size display adjusted due to relocation/ shadow.
Memory test above 1M to follow.

EP-P80P+
Page 14
Diagnostic Card Usage
52 Memory testin /initialization above 1M complete.
Goin to save memory size information.
53 Memory size information is saved. CPU re isters are saved.
Goin to enter in real mode.
54 Shutdown successful, CPU in real mode. Goin to disable
ate A20 line and disable parity/NMI.
57 A20 address line, parity/NMI disable successful.
Goin to adjust memory size dependin on relocation/shadow.
58 Memory size adjusted for relocation/shadow.
Goin to clear Hit <DEL> messa e.
59 Hit <DEL> messa e cleared. <WAIT...> messa e displayed.
About to start DMA and interrupt controller test.
60 DMA pa e re ister test passed. To do DMA#1 base re ister test.
62 DMA#1 base re ister test passed. To do DMA#2 base re ister test.
65 DMA#2 base re ister test passed. To pro ram DMA unit 1 and 2.
66 DMA unit 1 and 2 pro rammin over.
To initialize 8259 interrupt controller.
7F Extended NMI sources enablin is in pro ress.
80 Keyboard test started. clearin output buffer, checkin for stuck key,
to issue keyboard reset command.
81 Keyboard reset error/stuck key found. To issue keyboard controller
interface test command.
82 Keyboard controller interface test over. To write command byte and
init circular buffer.
83 Command byte written, Global data init done. To check for lock-key.
84 Lock-key checkin over. To check for memory size mismatch with
CMOS.
85 Memory size check done. To display soft error and check for password
or bypass setup.
86 Password checked. About to do pro rammin befoe setup.
87 Pro rammin before setup complete. To uncompress SETUP code
and execute CMOS setup.
88 Returned from CMOS setup pro ram and screen is cleared.
About to do pro rammin after setup.
89 Pro rammin after setup complete.
Goin to display power on screen messa e.
8B First screen messa e displayed. <WAIT...> messa e displayed.
PS/2 Mouse check and extended BIOS data area allocation to be
done.

Diagnostic Card UsageEP-P80P+
Page 15
8C Setup options pro rammin after CMOS setup about to start.
8D Goin for hard disk controller reset.
8F Hard disk controller reset done. Floppy setup to be done next.
91 Floppy setup complete. Hard disk setup to be done next.
95 Init of different BUSes optional ROMs from C800 to start.
96 Goin to do any init before C800 optional ROM control.
97 Any init before C800 optional ROM control is over.
Optional ROM check and control will be done next.
98 Optional ROM control is done. About to ive control to do any
required processin after optional ROM returns control and enable
external cache.
99 Any initialization required after optional ROM test over.
Goin to setup timer data area and printer base address.
9A Return after settin timer and printer base address.
Goin to set the RS-232 base address.
9B Returned after RS-232 base address.
Goin to do any initialization before Coprocessor test.
9C Required initialization before Coprocessor is over.
Goin to initialize the Coprocessor next.
9D Coprocesor initialized.
Goin to do any initialization after Coprocessor test.
9E Initialization after Coprocessor test is complete. Goin to check extd
keyboard, keyboard ID and num-lock. Keyboard ID command to be
A2 Goin to display any soft errors.
A3 Soft error display complete. Goin to set keyboard typematic rate.
A4 Keyboard typematic rate set. To pro ram memory wait states.
A5 Goin to enable parity/NMI.
A7 NMI and parity enabled. Goin to do any initialization
required before ivin control to optional ROM at E000.
A8 Initialization before E000 ROM control over.
E000 ROM to et control next.
A9 Returned from E000 ROM control. Goin to do any
initialization required after E000 optional ROM control.
AA Initialization after E000 optional ROM control is over.
Goin to display the system confi uration.
AB To build MP table if needed.
AC To uncompress DMI data and execute DMI POST init.
B0 System confi uration is displayed.
B1 Goin to copy any code to specific area.

EP-P80P+
Page 16
Diagnostic Card Usage
00 Copyin of code to specific area done. Goin to ive control to INT-
19 boot loader.
For more information about AMI BIOS please refer to the AMI website at
http://www.ami.com

Diagnostic Card UsageEP-P80P+
Page 17
Award BIOS v6.0 Codes
Followin is the checkpoint list in Award BIOS in order of execution.
CFh Test CMOS R/W functionality.
C0h Early chipset initialization:
- Disable shadow RAM
- Disable L2 cache (socket 7 or below)
- Pro ram basic chipset re isters
C1h Detect memory
- Auto-detection of DRAM size, type and ECC.
- Auto-detection of L2 cache (socket 7 or below)
C3h Expand compressed BIOS code to DRAM
C5h Call chipset hook to copy BIOS back to E000 & F000 shadow
RAM.
0h1 Expand the X roup codes locatin in physical address 1000:0
02h Reserved
03h Initial Superio_Early_Init switch.
04h Reserved
05h 1. Blank out screen
2. Clear CMOS error fla
06h Reserved
07h 1. Clear 8042 interface
2. Initialize 8042 self-test
08h 1. Test special keyboard controller for Winbond 977 series Super I/O
chips.
2. Enable keyboard interface.
09h Reserved
0Ah 1. Disable PS/2 mouse interface (optional).
2. Auto detect ports for keyboard & mouse followed by a port &
interface swap (optional).
3. Reset keyboard for Winbond 977 series Super I/O chips.
0Ch Reserved
0Dh Reserved
0Eh Test F000h se ment shadow to see whether it is R/W-able or not. If
test fails, keep beepin the speaker.
0Fh Reserved
10h Auto detect flash type to load appropriate flash R/W codes into the
run time area in F000 for ESCD & DMI support.

EP-P80P+
Page 18
Diagnostic Card Usage
11h Reserved
12h Use walkin 1s al orithm to check out interface in CMOS circuitry.
Also set real-time clock power status, and then check for override.
13h Reserved
14h Pro ram chipset default values into chipset. Chipset default values
are MODBINable by OEM customers.
15h Reserved
16h Initial Early_Init_Onboard_Generator switch.
17h Reserved
18h Detect CPU information includin brand, SMI type (Cyrix or Intel)
and CPU level (586 or 686).
19h Reserved
1Ah Reserved
1Bh Initial interrupts vector table. If no special specified, all H/W
interrupts are directed to PURIOUS_INT_HDLR & S/W interrupts to
SPURIOUS_soft_HDLR.
1Ch Reserved
1Dh Initial EARLY_PM_INIT switch.
1Eh Reserved
1Fh Load keyboard matrix (notebook platform)
20h Reserved
21h HPM initialization (notebook platform)
22h Reserved
23h 1. Check validity of RTC value: e. . a value of 5Ah is an invalid
value for RTC minute.
2. Load CMOS settin s into BIOS stack. If CMOS checksum fails,
use default value instead.
3. Prepare BIOS resource map for PCI & PnP use. If ESCD is valid,
take into consideration of the ESCDs le acy information.
4. Onboard clock enerator initialization. Disable respective clock
resource to empty PCI & DIMM slots.
5. Early PCI initialization:
- Enumerate PCI bus number
- Assi n memory & I/O resource
- Search for a valid VGA device & VGA BIOS, and put it into
C000:0.
24h Reserved
25h Reserved
26h Reserved

Diagnostic Card UsageEP-P80P+
Page 19
27h Initialize INT 09 buffer
28h Reserved
29h 1. Pro ram CPU internal MTRR (P6 & PII) for 0-640K memory address.
2. Initialize the APIC for Pentium class CPU.
3. Pro ram early chipset accordin to CMOS setup. Example:
onboard IDE controller.
4. Measure CPU speed.
5. Invoke video BIOS.
2Ah Reserved
2Bh Reserved
2Ch Reserved
2Dh 1. Initialize multi-lan ua e
2. Put information on screen display, includin Award title, CPU
type, CPU speed .
2Eh Reserved
2Fh Reserved
30h Reserved
31h Reserved
32h Reserved
33h Reset keyboard except Winbond 977 series Super I/O chips.
34h Reserved
35h Reserved
36h Reserved
37h Reserved
38h Reserved
39h Reserved
3Ah Reserved
3Bh Reserved
3Ch Test 8254
3Dh Reserved
3Eh Test 8259 interrupt mask bits for channel 1.
3Fh Reserved
40h Test 8259 interrupt mask bits for channel 2.
41h Reserved
42h Reserved
43h Test 8259 functionality.
44h Reserved
45h Reserved
46h Reserved

EP-P80P+
Page 20
Diagnostic Card Usage
47h Initialize EISA slot
48h Reserved
49h 1. Calculate total memory by testin the last doubleword of each 64K
pa e.
2. Pro ram write allocation for AMD K5 CPU.
4Ah Reserved
4Bh Reserved
4Ch Reserved
4Dh Reserved
4Eh 1. Pro ram MTRR of M1 CPU
2. Initialize L2 cache for P6 class CPU & pro ram CPU with proper
cacheable ran e.
3. Initialize the APIC for P6 class CPU.
4. On MP platform, adjust the cacheable ran e to smaller one in case
the cacheable ran es between each CPU are not identical.
4Fh Reserved
50h Initialize USB
51h Reserved
52h Test all memory (clear all extended memory to 0)
53h Reserved
54h Reserved
55h Display number of processors (multi-processor platform)
56h Reserved
57h 1. Display PnP lo o
2. Early ISA PnP initialization
- Assi n CSN to every ISA PnP device.
58h Reserved
59h Initialize the combined Trend Anti-Virus code.
5Ah Reserved
5Bh (Optional Feature) Show messa e for enterin AWDFLASH.EXE
from FDD
5Ch Reserved
5Dh 1. Initialize Init_Onboard_Super_IO switch.
2. Initialize Init_Onbaord_AUDIO switch.
5Eh Reserved
5Fh Reserved
60h Okay to enter Setup utility; i.e. not until this POST sta e can users
enter the CMOS setup utility.
61h Reserved

Diagnostic Card UsageEP-P80P+
Page 21
62h Reserved
63h Reserved
64h Reserved
65h Initialize PS/2 Mouse
66h Reserved
67h Prepare memory size information for function call:
INT 15h ax=E820h
68h Reserved
69h Turn on L2 cache
6Ah Reserved
6Bh Pro ram chipset re isters accordin to items described in Setup &
Auto-confi uration table.
6Ch Reserved
6Dh 1. Assi n resources to all ISA PnP devices.
2. Auto assi n ports to onboard COM ports if the correspondin item
in Setup is set to AUTO.
6Eh Reserved
6Fh 1. Initialize floppy controller
2. Set up floppy related fields in 40:hardware.
70h Reserved
71h Reserved
72h Reserved
73h (Optional Feature) Enter AWDFLASH.EXE if :
- AWDFLASH is found in floppy drive.
- ALT+F2 is pressed
74h Reserved
75h Detect & install all IDE devices: HDD, LS120, ZIP, CDROM..
76h Reserved
77h Detect serial ports & parallel ports.
78h Reserved
79h Reserved
7Ah Detect & install co-processor
7Bh Reserved
7Ch Reserved
7Dh Reserved
7Eh Reserved
7Fh 1. Switch back to text mode if full screen lo o is supported.
- If errors occur, report errors & wait for keys
Table of contents
Other EPOX PCI Card manuals