bu_cms_history/Simple_Connectivity_Test

SiteMap (Historical BU CMS wiki main page)

This page documents a simple connectivity test for the oSLB, with outputs cabled back to another HTR's inputs.

''6/19/07'' -- Simple connectivity test for oSLB board/links:

To perform this test, install an oSLB on one HTR. Connect one or more short optical fibers from the outputs (lower connectors of duplex connector) of the oSLB to the inputs of another HTR. You will need to disconnect the normal input fiber pigtails from the optical receivers on the 2nd HTR.

Software required:

Unzip the oslb_tools.zip archive, and edit the shell script ''oslb_test.sh'' so that the VME slots at the top match your setup. You can also change the "oslb_mode" variable to control what the oSLB will send. Some useful values are:

Then run it as:

   ./oslb_test.sh > test.txt

In the output file, you should find near the end output like this:

 500:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x15355    0x1aaaa    0x3ffff
 501:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x1aaaa    0x124aa    0x3ffff
 502:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x124aa    0x15555    0x3ffff
 503:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x15555    0x15555    0x3ffff
 504:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x15555    0x1aaaa    0x3ffff
 505:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x1aaaa    0x1a6aa    0x3ffff
 506:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x1a6aa    0x15555    0x3ffff
 507:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x15555    0x1d755    0x3ffff
 508:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x1d755    0x1aaaa    0x3ffff
 509:    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x3ffff    0x1aaaa    0x1a0aa    0x3ffff
 510:    0x7ffff    0x7ffff    0x7ffff    0x7ffff    0x7ffff    0x5a0aa    0x55555    0x7ffff

For some reason in our test only two links are working.

Once this is working, change the ''oslb_mode'' to 0xf3 (LFSR) and run both scripts like this:

  ./oslb_test.sh | ./check_oslb.pl -l

  ----> Fiber 0:  Data_Valid
 Data_error

  ----> Fiber 1:  Data_Valid
 Data_error

  ----> Fiber 2:  Data_Valid
 Data_error

  ----> Fiber 3:  Data_Valid
 Data_error

  ----> Fiber 4:  Data_Valid
 Data_error

  ----> Fiber 5:  Data_Valid

  Checking data...
  Even words are MSB
  Packed 254 32-bit words
  Checking 254 words
  0 BCN errors  0 parity errors  0 BC0 seen
  0 LFSR errors
  ----> Fiber 6:  Data_Valid

  Checking data...
  Even words are MSB
  Packed 254 32-bit words
  Checking 254 words
  0 BCN errors  0 parity errors  0 BC0 seen
  0 LFSR errors
  ----> Fiber 7:  Data_Valid
 Data_error

This tells you that fibers 5 and 6 are receiving valid data and that there are no errors.

Please see the OSLB spec for more details.

''6/18/07'' -- The version of the_source_for_oslb.exe which was used in the testing this past March, April, and May.

And its Makefile_for_oslb .