Peripheral Crate Electronics

 

Peripheral Crate Electrical Testing Procedures for ISR

 

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

 

2      Crate Electronics Test – To be completed at ISR

2.1 Traveler

         Print CrateElec-Traveler.doc and fill out as the boards are installed and tests are conducted.

2.1 Crate

2.1.1     Install complete empty crate in test stand

         BP, CRB, Grounding/EARTH

2.1.2     Connect LV cables to CRB

2.1.3     Connect chiller to CRB and HE

2.1.4     Perform power up test on empty crate

 

         2.2   Install boards

                  2.2.1     Make sure crate LV is OFF

2.2.2     OSU CC

Perform Visual Inspection of board prior to installation in crate

Check the switches and fuses on each board prior to loading.

Install in crate

Add to installed list on program

2.2.3     MPC

Perform Visual Inspection of board prior to installation in crate

Check the switches and fuses on each board prior to loading

Install in crate

Add to installed list on program

2.2.4     CCB

Perform Visual Inspection of board prior to installation in crate

Check the switches and fuses on each board prior to loading

Install in crate

Add to installed list on program

2.2.5     DMB Visual Inspection and mechanical corrections 

Perform Visual Inspection of board prior to installation in crate

2.2.5.1         Labeling - The DMB do not have a serial number on the front panel.  Labels must be made and attached to the front panel of each DMB.

2.2.5.2         Inspect and Correct press fit pin guide at back of board – On many boards either or both of the press fit pin guides are not pushed in fully.  Check each board for properly pressed in guides.  When there is a gap between the guide and the board surface the guide must be pressed completely into the board.  To do this use a large channel lock pliers.  Place the pliers over the rear of the board so that it presses on the top of the guide and the outside of the board under the guide.  Squeeze firmly to press the guide into contact with the board surface.  Then tighten the Philips head screw that is also on the guide.

Check the switches and fuses on each board prior to loading

Install in crate

Add to installed list on program

2.2.6     TMB Visual Inspection and mechanical corrections –

Perform Visual Inspection of board prior to installation in crate

Check the switches and fuses on each board prior to loading

Install in crate

Add to installed list on program

2.2.7     RAT Visual Inspection –

Perform Visual Inspection of board prior to installation in crate

Check the switches and fuses on each board prior to loading

Install in crate

Add to installed list on program

 

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

    2.3   Perform power test of loaded crate

2.3.1     Run Startup program on CRB

2.3.2     Special CCB out Test

Power down crate

Remove CCB for special test

Power up crate

Observe lights on front panel>>  if not OK call expert

Power down crate

Insert CCB

Power up crate

 

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

 

Problems?  Questions?  With Electronics test Call Greg at 165341

 

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

 

2.5 Set up for tests

Turn on computer WITH network, if not already on net

 

login: emucomm  password: xxxxxxxx

 

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.sh

 

start looking at the logger

   From terminal...

    - > cd

    - > ./message_window.sh   

 

open xml file to change the crate controller

   From terminal...

    emacs /home/emucomm/xml/template.xml         (or)

    emacs /home/emucomm/xml/template_me4.xml   (for ME4 Crates)

- change the LSB’s of the MAC address to be the crate controller serial number in HEX

                     For example CC ID 12 >> ‘C’

 

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/emucomm/xml/template.xml         (or)

      /home/emucomm/xml/template_me4.xml   (for ME4 Crates)

   -> hit Enter

   -> Left-Click "Set configuration file Local"

 

2.6 Run Tests 

open the MAIN TEST PAGE

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

 

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

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

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

   -> kill "TMB status" window

 

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

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

If the DMB fpga user id is not correct >> Download the correct DMB firmware:

   ... For each DMB ...

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

   -> Left-click "DMB Load Firmware"

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

Check the DMB status again

   -> kill "DMB status" window

 

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

    ... Firmware date should be 24.11.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 "Test4(Test Voltages)"

     ... This button will stay red.  Look in the output page to make sure that DMB 1.8V values are OK + ground value...

   -> Left-click "Test9(Test CDAC)"

     ... This button should turn green...

   -> Left-click "Test11(Test SFM)"

     ... This button should turn green...

 

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)

 

Safe Window Measurement

  Turn crate power OFF and Change SW2 setting on MPC from SW2-1:high SW2-2:low to SW2-1:low SW2-2:high.

  Open a new terminal window

->cd

->./measure_safeWindow

        for a full PC crate

                  OR

->./measure_safeWindow ME4

        for an ME4 type crate

The variable OSU_ID in the script, measure_safeWindow , is the the OSU crate contoller (OSU_CC) ID in a     hexadecimal two-digit number.  Here,  measure_safeWindow  assumes to use OSU_CC #11 and, as a result, the value of OSU_ID in measure_safeWindow is assigned to be 0b.  If another OSU_CC is used, the value of the variable, OSU_ID, must be modified accordingly.

                  Record the measured safe window with the MPC ID on the logbook as well as on the traveler.

                  Turn crate power OFF and Change SW2 setting back on MPC to SW2-1:high SW2-2:low.

                        

 

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"

 

 

Save your log files

    From terminal:

    > mkdir test_results/emupc_NNN  (where NNN is the crate ID number > crate 010 -> emupc_010)

    > mv EmuPeripheralCrate*   test_results/emupc_NNN

 

 

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

 

2.7 Stage boards for transfer to SX5

2.7.1     Record slot versus board ID so that boards can be installed in same slots at SX5 they were tested in.

2.7.2     Remove boards and pack into boxes

2.7.3     Label boxes and move to staging area to await pick up and transfer.

 

 

 

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

 

Procedures-CrateElec.htm                    12-May-2006                   Fred Borcherding      

Updated: Aug 3, 2010 (FG)