Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, April 2009)

230 Fabric OS Command Reference
53-1001186-01
fcrChipTest
2
fcrChipTest
Tests the functionality of FC Router FPGA.
Synopsis fcrchiptest [--slot slotnumber] [-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 Brocade FR4-18i blades and Brocade 7500 platforms.
Operands This command has the following operands:
--slot slotnumber Specifies the slot number on which the diagnostic operates. The default is 0
and operates on fixed-port-count products.
-testtype type Specifies the test type to run. By default, the command runs all tests. Valid
tests include:
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 slotnumber are used. Valid number values include:
0 FC Router FPGA 0
1 FC Router FPGA 1
2 All FC Router FPGAs