Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

Fabric OS Command Reference 299
53-1001764-01
fcrChipTest
22
fcrChipTest
Tests the functionality of FC Router FPGA.
SYNOPSIS fcrchiptest
[--slot slot]
[-unit number]
[-testtype type]
DESCRIPTION Use this command to test the FC Router Field-programmable gate array (FPGA). This test verifies that
all SRAM and register data bits in each ASIC can be independently written and read successfully.
The method used is to write a walking 1 pattern to each location. This is accomplished by writing a
pattern of 0x00000001 to register N, performing a direct memory access (DMA) read, and ensuring that
the same pattern previously written is read back. Shift the pattern to the left by 1 bit (to 0x00000002),
repeat the write, read, and compare the cycle. Shift again and repeat until the last writable bit in register
N is reached (0x80000000 for a 32-bit register).
For example, a 6-bit register is effectively tested with the following patterns:
0x0001 0x0002 0x0004 0x0008
0x0010 0x0020 0x0040 0x0080
0x0100 0x0200 0x0400 0x0800
0x1000 0x2000 0x4000 0x8000
Repeat the steps until all FPGA registers are tested.
The built-in self test (BIST) runs to verify the static random access memory (SRAM) of the FPGAs.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
This command is supported only on the Brocade FR4-18i.
OPERANDS This command has the following operands:
--slot slot
Specifies the slot number on which the diagnostic operates. The default is 0.
-testtype type
Specifies the test type to run. By default, the command runs all tests. Valid tests
include the following:
0
All tests
1
DMA test
2
SRAM BIST test
-unit number
Specifies the FC Router FPGA to test. By default, all FC Router FPGA in the
specified slot are used. Valid number values include the following:
0
FC Router FPGA 0
1
FC Router FPGA 1