Back to Contents

DOS Diagnostics: Broadcom 440X 10/100 Integrated Controller User Guide

Introduction
Prerequisites
Diagnostic Tests


Introduction

This document provides information on the b44udiag.exe diagnostic program for the Broadcom 440X 10/100 Integrated Controller. When the b44udiag.exe program is started, a series of tests are executed on the 440X 10/100 Integrated controller. If a test fails, the b44udiag program displays an error and exits to DOS.

The following options are available:

-l <file>       

Log data to file

-c <num>

Specify the card to be tested

-I <num>

Iteration number

-t <id>

Disable tests

-T <id>

Enable tests

-r <num>         

Input radix

-lbm                

Option to specify the number of packets in the MAC Loopback test

-lbp                 

Option to specify the number of packets in the PHY Loopback test

-lbh                 

Option to specify the number of packets in the 100BT External Loopback test

-lbt                  

Option to specify the number of packets in the 10BT External Loopback test

Example:

> b44udiag -l test.log -c 1 -I 2 -t A3 -lbm 3000 -lbp 3000 -lbh 3000 -lbt 3000


Back to Top


Prerequisites

OS: DOS 6.22

Software: b44udiag.exe


Back to Top


Diagnostic Tests

There are three groups of tests, and each group has a few sub-tests.

Group A

A1. Indirect Control Register Test

A2. Control Register Test

A3. Interrupt Test

A4. Built In Self Test

A5. CAM Test

Group B

B1. LEDs Test

B2. EEPROM Test

B3. MII Test

B4. Link Status Test

Group C

C1. MAC Loopback Test

C2. PHY Loopback Test

C3. External Loopback Test 100BT

C4. External Loopback Test 10BT

C5. PHY Loopback with CAM Enabled Test

C6. External Loopback Test 100BT with CAM Enabled

C7. External Loopback Test 10BT with CAM Enabled

C8. MIB MAC Loopback Test

Test Descriptions

A1. Indirect Control Register Test

    Command: regtest -i

    Function: The test writes 1s and 0s by using an indirect addressing method into the test bits to ensure the read-only bits are not changed, and the read/write bits are changed accordingly.

    Default: Enabled

A2. Control Register Test

    Command: regtest

    Function: The test writes zeros and ones into the test bits to ensure the read-only bits are not changed, and the read/write bits are changed accordingly.

    Default: Enabled

A3. Interrupt Test

    Command: intrtest

    Function: Verifies the interrupt functionality by enabling interrupt and waits for interrupts to occur. It waits for 500 ms and reports an error if it cannot generate interrupts.

    Default: Enabled

A4. Built-In Self-Test

Command: bist

Function: Runs the built-in self-test.

Default: Enabled

A5. CAM Test

Command: camtest

Function: This test runs the CAM read/write test. There are 48-bit patterns written to 64 entries of CAM space. The test reads back the 64 entries and checks them against 6 patterns such as FFFF, 0000, 5555, AAAA, 55AA, AA55.

Default: Enabled

B1. LED Test

Command: ledtest

Function: This test forces the link state for each link speed/duplex.

Default: Enabled

B2. EEPROM Test

Command: setest

Function: Reads the serial PROM and verifies its integrity by checking the CRC.

Default: Enabled

B3. MII Test

Command: miitest

Function: The test writes 0s and 1s into the test bits to ensure the read-only bits value are not changed, and the read/write bits are changed accordingly.

Default: Enabled

B4. Link Status Test

Command: linkstatus

Function: Reports current link status.

Default: Enabled

C1. MAC Loopback Test

Command: lbtest 0

Function: Transmits a 128-byte packet with the incrementing data pattern and checks the TX and RX flags and data integrity.

Default: Enabled

C2. PHY Loopback Test

Command: lbtest 1

Function: This test is same as the MAC Loopback Test, except the data is routed back via a physical layer device.

Default: Enabled

C3. External Loopback Test 100BT

Command: lbtest -e

Function: This test is same as the MAC Loopback Test, except the data is routed back via a loopback device.

Default: Disabled

C4. External Loopback Test 10BT

Command: lbtest -a

Function: This test is same as the MAC Loopback Test, except the data is routed back via a loopback device.

Default: Disabled

C5. PHY Loopback with CAM Enabled Test

Command: camlbtest -p

Function: This test is same as the PHY Loopback Test with CAM matching enabled.

Default: Enabled

C6. External Loopback Test 100BT with CAM Enabled

Command: camlbtest -e

Function: This test is same as the External Loopback Test 100BT with CAM matching enabled

Default: Disabled

C7. External Loopback Test 10BT with CAM Enabled

Command: camlbtest -a

Function: This test is same as the External Loopback Test 10BT with CAM matching enabled

Default: Disabled

C8. MIB MAC Loopback Test

Command: mibtest

Function: Tests each bit in the MIB counters. Ensures that the MIB counter bits are incremented when MAC looping a packet.

Default: Enabled

By default, all tests except C3, C4, C6, and C7 are covered unless disabled by the user.


Back to Top

Back to Contents