(Page 16 of 46 in this chapter)
Version
Diagnostics
Syntax
Diagnostics =
level
Description
Specifies the level of diagnostics during initialization for the current board(s). The valid values for
level
are 0, 1, 2, and 3. Zero (0) indicates that no diagnostics are performed, and 3 is the maximum level. The default value is 2. The trade-off for higher levels of diagnostics is the increased time needed to initialize each AG board at load time. Typically, you specify a level to apply to all boards in the
Common
section.
If a test fails, the test number is reported back as the error code.
Note:
Some tests can pass back more than one error code, depending on the options selected and/or the mode of failure. These various error codes are described below.
Certain tests will try to report additional information.
The following nine tests are performed during the boot diagnostics:
Test #
Description
Error Code
#WDS
1
Indicates that the coprocessor booted by writing 11h to SRAM base address.
- Coprocessor never booted at all.
1
- Coprocessor booted but somehow crashed after writing to SRAM base address.
11h
- aaaah option switch selected and coprocessor crashed after updating SRAM base address
aaaah
2
Preliminary set-up of the 82c836 and verification.
2
3
3
Checks the DRAM size and BUSCLK programmed in the eeprom, and sets up the part accordingly if valid eeprom choice.
3
1
4
Tests DSP Control and Status registers
4
3
5
Tests CMEM
5
4
6
Tests DRAM
6
4
7
Tests DSPS
7
n
8
Serial Port tests
- Failed internal loopback test. Wrote a 49h and received something else back.
8
2
- Failed external loopback test. Wrote a 67h and received something else back.
8
2
- Failed external loopback by never getting any character back
FF
9
FMIC tests
- Failed PLL test
9
2
- Failed LAR test
9
3
- Failed connection memory test
9
4
- Failed DMA test
9
1
10
Framer register tests
10
3
11
HDLC controller register test
11
3
12
DSP HPI tests
12
3 or 4
The following information is reported back to the host upon a diagnostic failure.
ERROR CODE
WORD1
WORD2
WORD3
WORD4
#WDS
ADDITIONAL DATA
1
None
2
3
index
written
read
3
1
eeprom dram size word
4
2
written
read (masked by 0xfh)
5
4
address lo
address hi
written
read
6
4
address lo
address hi
written
read
7
2
# dsps booted
# expected
4
# dsps booted
#expected
written
read
8
2
written
read
9
3
0bh larerror
written
read
2
0eh pllerror
read
4
0ch
conn mem
address
written
read
1
0dh
DMA error
10
3
Address
Written
Read
high nibble = framer number
low nibble = data read
11
3
Address
Written
Read
high nibble = HDLC
number
low nibble = data written
12
3
01 = HPIA test
DSP Number
Written
Read
4
02 = HPI memory test
DSP Number
Written
Read
Alias
Diag
Example
Diagnostics = 0 # no diagnostics
Diag = 1 # minimal diagnostics
(Page 16 of 46 in this chapter)
Version
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.