# BootDiagnosticLevel

Specifies the level of diagnostics during initialization of the board.

#### Syntax

BootDiagnosticLevel = level

#### Access

Read/Write

#### Type

Integer

#### Default

2

#### Allowed values

0 | 1 | 2 | 3

#### Example

BootDiagnosticLevel = 2

#### Details

This value takes precedence over the corresponding value of the BootDiagnosticLevel keyword set in the system configuration file.

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 trade-off for higher levels of diagnostics is the increased time needed to initialize each AG board at load time.

If a test fails, the test number is reported back as the error code. Some tests can pass back more than one error code depending on the options selected, the mode of failure, or both. Some tests report additional information.

The following tests are performed during the boot diagnostics:

Test number | Description | Error code | # WDS | Error number
--- | --- | --- | --- | ---
1 | Coprocessor booted by writing 11h to SRAM base address. |  |  |
Coprocessor never booted at all. | 1 |  |
Coprocessor booted but crashed after writing to SRAM base address. | 11h |  |
aaaah option switch selected and coprocessor crashed after updating SRAM base address. | aaaah |  |
2 | Verifies the board type. | 2 | 1 |
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 | 2 |
6 | Tests DRAM. | 6 | 4 |
7 | Tests DSPs. | 7 | 5 |
8 | Serial port test. |  |  |
| Failed internal loopback test. Wrote a 49h and received something else back. | 8 | 2 |
9 | HMIC tests |  |  | Refer to the following tables for an explanation of the error number.
Failed I/O test. | 9 | 5 | 1
Failed register test. | 9 | 5 | 1
Failed CAM test. | 9 | 5 | 2
Failed local connections test. | 9 | 5 | 3
12 | DSP HPI tests. | 12 | 4 |

The following information is reported back to the host when there is a diagnostic failure:

Error code |  | WORD1 | WORD2 | WORD3 | WORD4 | WORD5
--- | --- | --- | --- | --- | --- | ---
| # WDS | Additional data
1 | None |  |  |  |  |
2 | 1 | EEPROM board type |  |  |  |
3 | 1 | EEPROM DRAM size word |  |  |  |
4 | 2 | written | read (masked by 0xfh) |  |  |
6 | 4 | address lo | address hi | written | read |
7 | 5 | # DSPs booted | Number expected | test ID | memory failed address | contents of failed address
8 | 2 | written | read |  |  |
9 | 5 | See the following table for more information.
12 | 4 | 00 = HPIA test 01 = HPI memory test | DSP number | Written | Read |

The following information is reported back to the host for error code 9 when there is a diagnostic failure:

# WDS | HMIC ID | Error number | Address | Write | Read
--- | --- | --- | --- | --- | ---
5 | 0 | 1 | 5aa5 | Write | Read
5 | 0 | 1 | Register number | Write | Read
5 | 0 | 2 | CAM address | Write | Read
5 | 0 | 3 | Local connections address | Write | Read