Peripheral Crate Electronics
PCrate Turn On @ SX5
PC Testing and Commissioning Procedures for UXC55
------------------------------------------------------------------------------
3 Crate
and Rack Visual Inspection & Test
3.1 Rack
Inspection
Is the rack ready?
Is
the turbine on and operating correctly? Noisey?
Is
the grounding bar installed at bottom of crate and cables attached?
Is
the grounding bolt and cable attached?
Are
the hoses to the water manifold OK? Cool?
Pressure? Leaks?
3.2 Check ALL
boards
All present and installed correctly
3.3
Connect to the skew clear cables
Check each cable routed and ‘looks’
properly plugged in
------------------------------------------------------------------------------
Problems? Questions? With Electronics test Call Greg at 165341 or
Fred at 160999
------------------------------------------------------------------------------
3.5 Start Crate
VERY IMPORTANT – We have no direct
method of monitoring the temperature of the Maraton Supplies or the PFC modules.
Therefore they must be inspected in
person every ½ hour. Check for air flow,
water flow and the temperature.
Establish communications with all PCMB in the
field bus
All 15
pcrates on an end-side are on the same bus
Turn OFF all pcrates via the PCMB
Or
all that are not yet tested and delivered to the commissioning pool
Turn on the
Turn
on the proper 4 PFC modules by hand at S4F04
NOTE
that there are 4 Maratons per side/disk
Establish
CANBus with the 4 associated Maratons
There
are 9 Maratons per end/side on each bus
Turn
on the 4 target Maratons
Note that since the PCMB’ have the pcrates
OFF the
Carefully
check the voltages and currents from all 6 channels of each Maraton
Turn
on the SINGLE target pcrate
NOTE
that when the pcrate comes on line the DMB’s on it
turn ON the LV to the 9 CSC’s in the associated TS
Carefully
check the voltages and currents from all 6 channels of each Maraton
3.6 Set
up for tests
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 Go to the next pcrate/TS on this
side/disk
When finished or stopping for lunch or the
day, or just leaving for >1 hour, turn OFF all
3.10 Turn all 6 pcrates on this side/disk
over to the Commissioning Pool
------------------------------------------------------------------------------
Problems? Questions? With Electronics test Call Greg at 165341 or
Fred at 160999
------------------------------------------------------------------------------
Procedures-CrateComm.htm 18-Dec-07 Fred Borcherding