Dell Broadcom NetXtreme Family of Adapters Broadcom NetXtreme 57XX User Guide - Page 126

Test B1 over 3 different voltages 1.1V, 1.2V, and 1.3V.

Page 126 highlights

incrementing test data. Each register specified in the configuration content defines the read-only bit and the read/write bits. The test writes 0s and 1s to the test bits to ensure the read-only bits are not changed, and that A2 Control Register read/write bits are changed. This test attempts to read the register configuration file (Ctrlreg.txt) for the register definitions. If the file does not exist, a default register offset and mask bits are used. Offset Read-Only Mask Read/Write Mask 0x00000400 0x00000000 0x007FFF8C 0x00000404 0x03800107 0x00000000 A3 Interrupt This test verifies the interrupt functionality. It enables an interrupt and waits 500 ms for the interrupt to occur and reports an error if it cannot generate the interrupt. A4 Built-In SelfTest This is the hardware built-in self-test (BIST). A5 PCI Cfg Register This test verifies the access integrity of the PCI configuration registers. Group B: Memory Tests This test tests the onboard scratchpad SRAM. The following tests are performed: Address Test. This test writes each address with a unique increment of data and reads back data to ensure data is correct. After filling the entire address with the unique data, the program reads back the data again to ensure that the data is still correct. Walking bit. For each address, data one is written and read back for testing. Then it shifts the data left one bit, so the data becomes two and repeats the same test. It repeats the test 32 times until the test bit is shifted out of the test address. The same test is repeated for entire test range. B1 Scratch Pad Pseudo-Random Data. A precalculated pseudo-random data set is used to write unique data to each test RAM. After passing the test, the program reads back the data one more time to ensure that the data is still correct. Data Read/Write Test: This test writes test data to the SRAM and reads it back to ensure that the data is correct. The test data used is 0x00000000, 0xFFFFFFFF, 0xAA55AA55, and 0x55AA55AA. Alternate Data Pattern Test. This test writes test data into the SRAM, writes complement test data to the next address, and reads back both to ensure the data is correct. After the test, the program reads back data one more time to ensure that the data is still correct. The test data used is 0x00000000, 0xFFFFFFFF, 0xAA55AA55, and 0x55AA55AA. B2 BD SRAM This test tests the Buffer Descriptor (BD) SRAM. This test performs in the same way as the Scratch Pad Test described in B1. B3 DMA SRAM This test tests the direct memory access (DMA) SRAM by performing the Scratch Pad Test described in test B1. B4 MBUF SRAM This test tests the memory access buffer (MBUF) SRAM by performing the Scratch Pad Test described in test B1. This test uses 8 data test patterns. A 0x1000-sized data buffer is used for this test. Before each pattern test, the buffer is initialized and filled with the test pattern. It then performs a 0x1000-sized transmit DMA from the host buffer to the adapter MBUF memory. The test verifies the data integrity in the adapter MBUF memory against the host memory and repeats the DMA for the entire MBUF buffer. Then, the test performs a receive DMA from the adapter to the host. The 0x1000-byte test buffer is cleared to 0 before each receive DMA. After the test verifies the integrity of the data, the test is repeated for the entire MBUF SRAM range. The 8 test patterns are described below. B5 MBUF SRAM Test Pattern Description via DMA 16 00s and 16 FF's Fills the entire host DMA buffer with 16 bytes of 00s and then 16 bytes of FF's. 16 FF's and 16 00s Fills the entire host DMA buffer with 16 bytes of FF's and then 16 bytes of 00s. 32 00s and 32 FF's Fills the entire host DMA buffer with 32 bytes of 00s and then 32 bytes of FF's. 32 FF's and 32 00s Fills the entire host DMA buffer with 32 bytes of FF's and then 32 bytes of 00s. 00000000 Fills the entire host DMA buffer with all 00s. FFFFFFFF Fills the entire host DMA buffer with all FF's. AA55AA55 Fills the entire host DMA buffer with data 0xAA55AA55. 55AA55AA Fills the entire host DMA buffer with data 0x55AA55AA. B7 CPU GPR This test tests the CPU General Purpose registers and performs in the same way as the Scratch Pad Test (B1) over 3 different voltages (1.1V, 1.2V, and 1.3V). Group C: Miscellaneous Tests Incremental test data is used in the electrically erasable programmable read-only memory C1 NVRAM (EEPROM) test. The test fills the test range with test data and reads the data back to verify the content. Afterwards, the test fills the test range with 0s to clear the memory. C2 CPU This test opens the Cpu.bin file. If the file exists and content is good, the test loads code to the RX CPU and TX CPU and verifies the CPU execution.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178

incrementing test data.
A2
Control
Register
Each register specified in the configuration content defines the read-only bit and the read/write bits.
The test writes 0s and 1s to the test bits to ensure the read-only bits are not changed, and that
read/write bits are changed.
This test attempts to read the register configuration file (Ctrlreg.txt) for the register definitions. If
the file does not exist, a default register offset and mask bits are used.
Offset
Read-Only Mask
Read/Write Mask
0x00000400
0x00000000
0x007FFF8C
0x00000404
0x03800107
0x00000000
A3
Interrupt
This test verifies the interrupt functionality. It enables an interrupt and waits 500 ms for the
interrupt to occur and reports an error if it cannot generate the interrupt.
A4
Built-In Self-
Test
This is the hardware built-in self-test (BIST).
A5
PCI Cfg
Register
This test verifies the access integrity of the PCI configuration registers.
Group B: Memory Tests
B1
Scratch Pad
This test tests the onboard scratchpad SRAM. The following tests are performed:
Address Test.
This test writes each address with a unique increment of data and reads back data
to ensure data is correct. After filling the entire address with the unique data, the program reads
back the data again to ensure that the data is still correct.
Walking bit.
For each address, data one is written and read back for testing. Then it shifts the
data left one bit, so the data becomes two and repeats the same test. It repeats the test 32 times
until the test bit is shifted out of the test address. The same test is repeated for entire test range.
Pseudo-Random Data.
A precalculated pseudo-random data set is used to write unique data to
each test RAM. After passing the test, the program reads back the data one more time to ensure
that the data is still correct.
Data Read/Write Test:
This test writes test data to the SRAM and reads it back to ensure that
the data is correct. The test data used is 0x00000000, 0xFFFFFFFF, 0xAA55AA55, and 0x55AA55AA.
Alternate Data Pattern Test.
This test writes test data into the SRAM, writes complement test
data to the next address, and reads back both to ensure the data is correct. After the test, the
program reads back data one more time to ensure that the data is still correct. The test data used
is 0x00000000, 0xFFFFFFFF, 0xAA55AA55, and 0x55AA55AA.
B2
BD SRAM
This test tests the Buffer Descriptor (BD) SRAM. This test performs in the same way as the Scratch
Pad Test described in B1.
B3
DMA SRAM
This test tests the direct memory access (DMA) SRAM by performing the Scratch Pad Test described
in test B1.
B4
MBUF SRAM
This test tests the memory access buffer (MBUF) SRAM by performing the Scratch Pad Test
described in test B1.
B5
MBUF SRAM
via DMA
This test uses 8 data test patterns. A 0x1000-sized data buffer is used for this test. Before each
pattern test, the buffer is initialized and filled with the test pattern. It then performs a 0x1000-sized
transmit DMA from the host buffer to the adapter MBUF memory.
The test verifies the data integrity in the adapter MBUF memory against the host memory and
repeats the DMA for the entire MBUF buffer. Then, the test performs a receive DMA from the
adapter to the host. The 0x1000-byte test buffer is cleared to 0 before each receive DMA. After the
test verifies the integrity of the data, the test is repeated for the entire MBUF SRAM range. The 8
test patterns are described below.
Test
Pattern Description
16 00s and 16 FF's
Fills the entire host DMA buffer with 16 bytes of 00s and then
16 bytes of FF's.
16 FF's and 16 00s
Fills the entire host DMA buffer with 16 bytes of FF's and then
16 bytes of 00s.
32 00s and 32 FF's
Fills the entire host DMA buffer with 32 bytes of 00s and then
32 bytes of FF's.
32 FF's and 32 00s
Fills the entire host DMA buffer with 32 bytes of FF's and then
32 bytes of 00s.
00000000
Fills the entire host DMA buffer with all 00s.
FFFFFFFF
Fills the entire host DMA buffer with all FF's.
AA55AA55
Fills the entire host DMA buffer with data 0xAA55AA55.
55AA55AA
Fills the entire host DMA buffer with data 0x55AA55AA.
B7
CPU GPR
This test tests the CPU General Purpose registers and performs in the same way as the Scratch Pad
Test (B1) over 3 different voltages (1.1V, 1.2V, and 1.3V).
Group C: Miscellaneous Tests
C1
NVRAM
Incremental test data is used in the electrically erasable programmable read-only memory
(EEPROM) test. The test fills the test range with test data and reads the data back to verify the
content. Afterwards, the test fills the test range with 0s to clear the memory.
C2
CPU
This test opens the Cpu.bin file. If the file exists and content is good, the test loads code to the RX
CPU and TX CPU and verifies the CPU execution.