26
Intelligent NIC Getting Started Guide — NDA Required
NetXen, Inc.
7. User Diagnostics
7
User Diagnostics
The user diagnostics can be invoked using the following command:
nx_win_diag.exe
(Windows)
[3.xx.yy]/nxdiag/nxdiag -i eth[n]
(Linux)
7.1
Tests Performed
The user diagnostics utility performs the following tests.
1
Control registers test
2
Flash memory test
3
Interrupt test
4
Internal loop-back test
5
External full duplex loop-back test
6
Link Test
7
All tests
Each of these tests is described in the following subsections. Refer to Appendix C for a
list of diagnostic error codes. Note that only tests which generate specific error codes are
listed in Appendix C. If an error code is not listed for a specific test, it is because that test
generates only a simple pass/fail indication and not an actual error code.
7.2
Test Descriptions
7.2.1
Control Registers Test
In this test the user diagnostic utility reads the values stored in the control registers. The
setting of clearing of certain bits during the initialization process indicates whether the
board has been configured correctly. The utility also performs a write/read back/compare
operation to selected registers to verify each register’s accessibility.
7.2.2
Flash Memory Test
In this test the user diagnostic utility reads the contents of the Flash memory, calculates
the checksum, and compares the calculated checksum to the one stored in memory.
7.2.3
Interrupt Test
In this test the user diagnostic utility communicates with the driver to force the hardware
to generated selected interrupts, then reads the interrupt status register to verify that the
interrupt was generated and processed.