Fabric OS Reference Manual (Version 3.0)

Fabric OS Reference 1-193
Telnet Commands
1
portRegTest
Bit write/read test of the ASIC SRAMs and registers.
Synopsis portRegTest
Availability admin
Description Use this command to verify that SRAM and register data bits in each ASIC can be independently
written and read.
To verify the data bits, write a walking 1 pattern to each location - write a pattern of 0x00000001
to register N, read, and compare to be sure that the pattern is the same. Shift the pattern one bit to
the left (to 0x00000002), repeat the write, read, and compare cycle. Shift again and repeat until
the last writable bit in register N is reached (0x80000000 for a 32-bit register).
For example, use the following pattern to test a 6-bit register:
1. 0x0001
2. 0x0002
3. 0x0004
4. 0x0008
5. 0x0010
6. 0x0020
7. 0x0040
8. 0x0080
9. 0x0100
10.0x0200
11.0x0400
12.0x0800
13.0x1000
14.0x2000
15.0x4000
16.0x8000
Repeat the above steps until all ASIC SRAMs and registers have been tested.
Operands None.
Example To run bit write/read test of the ASIC SRAMs and registers:
switch:admin> portRegTest
Running Port Register Test .... passed.