Peripheral Crate Electronics

 

PC I&C @ SX5

 

PC Testing, Installation and Commissioning Procedures for SX5

 

------------------------------------------------------------------------------           

 

3    Crate Installation & Test – To be completed at SX5

3.1 Crate Installation

Is the rack ready?

      Is rack bolted in place?

      Does rack have turbine and other fixtures?

      Is the grounding bar installed at bottom of crate?

      Are the rails properly positioned?

      Are the spring nuts in place for the crate?

      Is the grounding bolt and cable attached?

      Are the hoses to the water manifold present?

Install complete crate in target rack

Put in crate screws

Connect crate to grounding bar

Route the water hoses and test for leaks – turn water OFF after lest

      3.2   Install ALL boards

Install in same slot as at ISR – Consult ISR Traveler

Insert the boards into the BP as they are inserted

Do not install CC. 

3.3 Connect the skew clear cables

Loosen strain relief and re-position cables as necessary

Check each cable for bent pins before inserting

Tighten strain relieves and redress cables

 

------------------------------------------------------------------------------

 

Problems?  Questions?  With Electronics test Call Greg at 165341

 

------------------------------------------------------------------------------           

 

3.5 Start Crate

Connect the temporary LVPS to the target crate

Connect the temporary LVPS to the 9 (3) CSC

Turn ON the cooling water – check for leaks

Connect the jumper cable for the turbine and turn on turbine

With the Dummy PCMB REMOVED – power up the crate

      Check the voltages at the CRB

Power down the crate, install the Dummy PCMB

Install the testing CC

Hook up optical fiber to crate controller

Turn crate on

Observe the startup and steady state lights on boards including RAT’s

Turn on the LV for the CSC’s – observe the RAT lights

3.6 Set up for tests

Turn on computer WITH network, if not already on net

login: slice  passwd: $slice$

start the driver

   From terminal....

    - > $HOME/driver_directory.sh

    - (enter root password)

    - > ./ethreset

      ... If any errors, run again until there are none.  warnings are OK.    

    - > exit

start the server

   From terminal...

    - > cd

    - > ./start_server

start looking at the logger

   From terminal...

    - > cd

    - > ./message_window.sh   

open xml file to record the results of the tests

   From terminal...

   - > ls /home/slice/test/vme+$STATION_$SECTOR/crate+$STATION_$SECTOR.xml

    ... it should exist...

   - > emacs /home/slice/test/vme+$STATION_$SECTOR/crate+$STATION_$SECTOR.xml

open up browser -> click on the Firefox button on screen.

   The homepage is the hyperDAQ interface.

   -> Left-Click "EmuPeripheralCrate"

 

Set up the configuration file to point to the xml file

   -> Left-Click "Define Configuration"

   -> In text below "Upload Configuration", type:

      /home/slice/test/vme+$STATION_$SECTOR/crate+$STATION_$SECTOR.xml

   -> hit Enter

   -> Left-Click "Set configuration file Local"

 

3.7 Run Tests 

open the MAIN TEST PAGE

   -> Right-click "Crate configuration" ("Open Link in new window")

 

Download the correct CFEB firmware:

   ... For each DMB ...

   -> Right-click "DMB Utils" ("Open Link in new window")

   -> Left-click "CFEB Load Firmware"

   -> after it finishes, kill the "DMB Utils" window

 

Download the correct ALCT firmware:

   ... For each TMB ...

   -> Right-click on "TMB Utils" ("Open Link in new window")

   -> Left-click "Load ALCT Firmware"

   -> after it finishes, kill the "TMB Utils" window

 

check the status for each TMB, ALCT, DMB, CFEB, MPC, CCB:

   -> Right-click on "TMB Status" ("Open Link in new window")

    ... "TMB info" should be all green or black

   -> Left-click on "ALCT status"

    ... Firmware date should be 13.01.2006

   -> kill "ALCT status" window

 

   -> Right-click on "DMB Status" ("Open Link in new window")

    ... "DMB IDs" should be all green or black

   -> Left-click on "CFEB status"

    ... should be all green or black

   -> kill "CFEB status" window

 

   -> Right-click on "MPC Status" ("Open Link in new window")

    ... Firmware date should be 20.10.2005

   -> kill "MPC status" window

 

   -> Right-click on "CCB Status" ("Open Link in new window")

    ... Firmware date should be 17.01.2005

   -> kill "CCB status" window

 

enter the serial numbers for each TMB, RAT, DMB, MPC, CCB:

   -> enter number

   -> hit Enter

   -> click "back" to go back to main test page window

   -> repeat

 

Run self-tests for each TMB, DMB

   -> Right-click on "TMB Tests" ("Open Link in new window")

   -> Left-click "Run All TMB Tests"

     ... All buttons should turn green ...

     If "TMB Test ADC" is red, click this button again....

     If it is still red, look at the bottom of the output window,

      . are all the reference voltages OK?

      . is the failed voltage off by a factor of 2 (or more?)

      .... then try it again....

   -> Kill TMB Tests window

 

   -> Right-click on "DMB Tests" ("Open Link in new window")

   -> Left-click "Run All DMB Tests"

     ... All buttons should turn green or stay blue...

 

Record the test summary

   -> Kill the Crate configuration page

   On the "Operator page"...

   -> enter your name as Operator

   -> hit Enter

   -> Run number = 0

   -> hit Enter

   -> Left-click "Log test summary"

 

Record the test log so far

   On the "Operator page"...

   -> Left-click "Log all output"

 

open the MAIN TEST PAGE

   -> Right-click "Crate configuration" ("Open Link in new window")

 

Determine ALCT-TMB, CFEB-TMB, MPC-TMB phasing parameters for each TMB:

   ... These are values which will go into the xml file which

       you opened with emacs in step 5...

   -> Right-click "Chamber tests" ("Open Link in new window")  

 

   ******For alct_tx_clock_delay and alct_rx_clock_delay:******

   -> Left-click "Init chamber", wait to finish

   -> Left-click "TMB start trigger", wait to finish

   -> Left-click "ALCT timing", wait to finish (takes longer...)

   -> Look at the bottom of the output page.  Does the

      values it returns look reasonably in the center of

      the diamond?  If yes, enter the values in the xml file.

 

   ******For cfeb[0-4]delay******

   -> Left-click "Init chamber", wait to finish

   -> Left-click "TMB start trigger", wait to finish

   -> Left-click "CFEB timing", wait to finish (takes longer...)

   -> Look at the bottom of the output page.  Does the

      values it returns look reasonably in the center of

      the scans?  If yes, enter the values in the xml file.

 

   ******For mpc_delay:******

   -> Left-click "Init chamber", wait to finish

   -> Left-click "TMB start trigger", wait to finish

   -> Left-click "Winner bits", wait to finish (takes longer...)

   -> Look at the bottom of the output page. The window

      is very sharp (i.e., there should be one value that

      works).  Enter the value in the xml file for mpc_delay.

 

   -> Left-click on Log Output

 

  **********************************************************

  ** Make sure following values have been entered by hand **

  ** into your xml file:                                  **

  **********************************************************

     .alct_tx_clock_delay

     .alct_rx_clock_delay

     .cfeb0delay

     .cfeb1delay

     .cfeb2delay

     .cfeb3delay

     .cfeb4delay

     .mpc_delay

 

Save your log files

    From terminal:

    > mv CrateTestsLogFile_* test_results/vme+$STATION_$SECTOR/

    > mv EmuPeripheralCrate* test_results/vme+$STATION_$SECTOR/

 

 

Reinitialize your session with the updated xml file:

   -> kill the MAIN TEST PAGE

   -> left-click on "Define Configuration"

   ... make sure the xml file it points to is the one you have been editing...

   -> left-click on "Set configuration file local"

 

TMB-MPC-backplane test:

   -> Left-click "Init system"

   -> Right-click "Crate tests" ("Open Link in new window")

   -> left-click "Crate TMB/MPC test" (will take a long time)

 

CFEB scans

   -> Right-click "Crate Configuration" ("Open Link in new window")

   -> Right-click "Chamber Tests" ("Open Link in new window")

   -> Left-click "Init chamber", wait to finish

   -> Left-click "TMB start trigger", wait to finish

   -> Left-click "CFEB scan", wait to finish (takes longer...)

 

ALCT scans

   -> Right-click "Crate Configuration" ("Open Link in new window")

   -> Right-click "Chamber Tests" ("Open Link in new window")

   -> Left-click "Init chamber", wait to finish

   -> Left-click "TMB start trigger", wait to finish

   -> Left-click "ALCT scan", wait to finish (takes longer...)

 

 

 

3.8 Prepare Crate for Storage

3.8.1   Remove all Temporary power and water connections

3.8.2   Wrap crate in protective plastic

3.8.3   Check that all output files and log files are properly saved..

 

------------------------------------------------------------------------------

 

Problems?  Questions?  With Electronics test Call Greg at 165341

 

------------------------------------------------------------------------------           

 

Procedures-CrateInst.htm              11-May-2006             Fred Borcherding