Diagnostics 57
C5. VPD test
C4. MII test
This function is identical to A2. Control Register Test. Each Register specified in the configuration contents is defined as read only bit and read/write bit. The test writes zero and one into the test bits to ensure the read only bits are not changed and read/write bits are changed accordingly.
This test opens the file cpu.bin. If the file exists and the content is good, it loads code to the Rx and Tx CPU and verifies CPU execution.
C3. DMA test
This tests both high and low priorities DMA. It moves data from host memory to adapter SRAM, verifies data, and then moves data back to the host memory again to verify data.
C2. CPU test
C1. NVRAM test
An increment test data is used in the EEPROM test. It fills the test data into the test range and reads it back to verify the content. After the test, it fills data with zeros to clear the memory.
Eight test pattern data are used in the test. They are described below. 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 size 0x1000 transmit DMA from host buffer to adapter MBUF memory. It verifies the data integrity in MBUF against host memory and repeats the DMA for the entire MBUF buffer. Then it performs receive DMA from adapter to host. The 0x1000-byte test buffer is cleared to zero before each receive-DMA. It verifies the data integrity and the test is repeated for the entire MBUF SRAM range.
Test Pattern Description:
"16 00's 16 FF's" Fill the entire host DMA buffer with 16 bytes of 00's and then 16 bytes of FF's. "16 FF's 16 00's" Fill the entire host DMA buffer with 16 bytes of FF's and then 16 bytes of 00's. "32 00's 32 FF's" Fill the entire host DMA buffer with 32 bytes of 00's and then 32 bytes of FF's. "32 FF's 32 00's" Fill the entire host DMA buffer with 32 bytes of FF's and then 32 bytes of 00's. "00000000's" Fill the entire host DMA buffer with all zeros.
"FFFFFFFF's" Fill the entire host DMA buffer with all FF's. "AA55AA55's" Fill the entire host DMA buffer with data 0xAA55AA55. "55AA55AA's" Fill the entire host DMA buffer with data 0x55AA55AA.
Group C: Miscellaneous tests
B5. MBUF SRAM via DMA test
B4. MBUF SRAM test
This tests DMA SRAM by performing the tests described in test B1. The Scratch pad test.
B3. DMA SRAM test
This tests DMA SRAM by performing the tests described in test B1. The Scratch pad test.
B2. BD SRAM test
This tests the BD SRAM by performing the tests as described in test B1. The Scratch pad test.
o Pseudo random data test: A pre-calculated pseudo random data is used to write a unique data into each test RAM. After the first pass of the test, the program reads back one more time to ensure data stays correct.