Diagnosing TX boards: txdiag

Use txdiag to perform board level diagnostic tests on a TX board and to test communications between the host driver and the board.

Caution:

Running txdiag terminates any functions that are still executing. After running txdiag, reload the TX board to return it to a normal state.


Procedure

Run txdiag according to the following syntax:

txdiag -b boardnum -c channelnum -a -f filename -h testname

where:

Argument

Description

-b boardnum

TX board number to diagnose. Default is 1.

-c channelnum

DPR channel number. Default is 249.

-a

Performs tests on all boards.

-f filename

Reads parameter values from this text file.

-h

Shows usage.

testname

Diagnostic test to perform. Default is ALL. Refer to txdiag diagnostic tests for more information.


txdiag diagnostic tests

You can run the following txdiag diagnostic tests:

Run this test...

To...

NMI

Verify that the host is able to assert the non-maskable interrupt.

MEMSWEEP

Verify that the SDRAM memory space can be accessed.

INTR

Verify that the host and CP can generate and receive interrupts.

ALL

Execute all tests in the order shown in this table.

When you specify ALL, txdiag performs each test regardless of the results of the previous test. Examine the results of each test individually to verify its success or failure before assuming that all tests successfully executed.


Description

The following example shows output from txdiag when the -b argument is used:

> txdiag -b 1
TXDIAG V2.0: Copyright 1998-2009, Dialogic Corporation
CP 1: NMI - Resetting...
CP 1: NMI - Starting test...
CP 1: NMI - SUCCESS
CP 1: MEMSWEEP - Resetting...
CP 1: MEMSWEEP - Starting test...
CP 1: MEMSWEEP - SUCCESS
CP 1: INTR - Resetting...
CP 1: INTR - Starting test...
CP 1: INTR - Entering Polling Loop...
CP 1: INTR - SUCCESS