1. General Remarks
This Document is valid for the BDC readout (Branch 9). The first chapter describes how the system is operated under normal conditions and gives an overview of the basic hardware components.
1.1 System Operation
The system is set up with automatic restart, so that power-up and a reset of the branch in 301 on the reset panel will lead to a full restart of the system. Therefore under normal conditions it is not necessary to reload the system locally. During normal operation the system is configured and controlled by the H1 Supervisor in 301. The BDC has no branch parameter panel and has to be controlled by the local Supervisor in 307 if needed (-> How to set the configuration locally).
There should be no other actions than a WARMSTART or a RESET on the RESET PANEL in 301 needed by the shift person unless the BOOT memory in the Master crate is corrupted (-> How to reload the system ) or there is a hardware failure (-> What to do in case of a hardware failure).
1.2 Hardware
The hardware is located in the Trailer Level 1 Racks B1 and B2. The system consists of 2 FADC crates (Location B1, B2) which are read out via a crate-to-crate connection (VIC8250). The data are collected in a central VME crate (Master crate - Location B2 ) which houses a Master CPU, the TAXI module for CDAQ connection. The Trigger processing is done in a seperate crate (STC crate - B1). The BDC has one VME crate reading digital information (Digital crate - B2). In case any of these crates are OFF the branch will not be able to run and will give an error message on the local Master console (-> What to do in case of a hardware failure).
2. What to do in case of problems?
2.1 What to do if a Warmstart fails (takes > 30 sec)
Abort the WAMRSTART and RESET the branch on the RESET PANEL in 301. The branch should restart and after 20 sec you should be able to start a run. If the next run start fails with "no run prepare acknowledge" you should reset the branch once again and start a run after 20 seconds. If this again fails check the local console of the Master CPU (-> What to do in case of a hardware failure).
2.2 What to do if a run start fails ("no run prepare acknowledge")
Do a WAMRSTART. If it fails -> What to do if a Warmstart fails
2.3 What to do if a run crashed ("Central Trigger Timeout - Backward_DC")
Do a WAMRSTART. If it fails -> What to do if a Warmstart fails
3. How to set the configuration locally ?
The BDC has no different configuration settings to be chosen, ie it should be in the standard configuration all the time. If there is no hardware error detected by the system and the DAQ is still not working properly you may try to set the standard configuration locally on the BDC DAQ MAC in room 307 rack B18-left. For this you have to activate the "BDC Supervisor" application and then do the following step by step:
1. Check that the run is stopped (you may have to abort)
2. select CONFIGURATION in the Control menu
(you will see the standard configuration selected)
3. hit Download
4. select LOCAL DAQ in the CONTROL menu.
5. hit WARMSTART
6. wait 20 seconds
7. start a run with CDAQ.
4. How to reload the system ?
The BDC has for automatic power up restart a battery backed up memory board in its master crate. The memory keeps all programs and constants of the system. There should be no need to reload the system from the MAC unless this memory got corrupted. So please do only reload from the MAC if all other sources of errors are eliminated. If there is not hardware error detected by the system and the DAQ is still not working properly you may try to reload the system from scratch on the BDC DAQ MAC in room 307 rack B18 left. For this you have to activate the "BDC Supervisor" application and then do the following step by step:
1. Check that the run is stopped (you may have to abort)
2. select BOOT from the Control menu
3. hit the Load button in the lower right corner
You will be asked to confirm -> ok
4. select FADC Params on the Menu Parameters
5. hit download (Do NOT upload or change the parameters!!!)
You will be asked to confirm -> ok
6. select CONFIGURATION in the Control menu
you will see the standard configuration
selected.
3. hit download
4. select LOCAL DAQ in the CONTROL menu.
5. hit Warmstart
6. wait 20 seconds
7. start a run with CDAQ.
NOTE: If anything went wrong with the downloading, e.g. you did by accident change a parameter that was preset or get errors just quit the Supervisor and restart from scratch.
5. What to do in case of a hardware failure ?
A hardware failure may only be signalled by the H1 Slow Control MAC if a complete crate (general power trip?) if off. Otherwise there is no alarm from the slow control.
In case the system does not WAMRSTART correctly or does not start a run you should check on the master console terminal in 307. The BDC DAQ systems has a MAC in 307 Rack B18 left which is running a "VersaTerm" application and the local "BDC Supervisor". The "VersaTerm" application shows the master console output. The "BDC Supervisor" is used for reloading and reconfiguring the system. If the Mac shows the "Supervisor" on top, you have to select the "VersaTerm" from the apple menu to see the console window. If you can't find the master console window or the "Supervisor", a reboot of the MAC will automatically start the applications.
If the master console does not show sensible output or does not change if you start a run or do a warmstart/reset, the connection to the Master CPU is down. -> How to connect the Terminal to the Master CPU.
The Master CPU is detecting hardware faults and will tell you about
it, if possible. Some hardware faults are not recoverable and the system
will crash. Following is a list of possible messages on the console and
an explanation of what to do:
D0-7 ....It is likely that there is a hardware error in the master crate or the STC crate. Switch the master crate and the STC crate off and back on again.(STC on first, then Master crate!!!) The system should try to boot again. If it fails again showing the UA1FC0# : -> call a Hardware Expert
R0-7 ....
UA1FC0#
ERROR LOADING MASTER CODE --- Wrong Check Word ---do a complete reload of the system -> How to reload the system
!!!! Please BOOT system again from BDC_DAQ MAC !!!!
------ then reset branch on CDAQ panel ------
running in LOCAL modethe system is not configured correctly and you have to reconfigure it -> How to set the configuration locally
Waiting for runstart
On the Console you should see after a warmstart the following message :
running in CDAQ modeThis indicates that the master system is ok. There might still be a message
Waiting for runstart signalled by CDAQ
WARNING -- Branch 2 not allive. chain:crate = 0:2 disabled !!!-> Crate Lookup Table for BDC
Switch this crate off and on again
If now obvious error is seen and even after several (>3) system resets and a complete system reload there is no success in getting it back into operation -> call a Hardware Expert
6. How to connect the Terminal to the Master CPU (Experts only!)
For the BDC the terminal connection is done via a programmable Terminal switch (F58-switch). If the power in the trailor or in 307 was off the connections will be closed.
If the VersaTerm does not show the Master CPU printout during RUNSTART, RUNSTOP or WAMRSTART, the connection to the Master CPU is propably lost.
To reconnect to the CPU you do the following :
1) Press CRTL(Apple) and Enter (on the Num-Pad)
simultaneously.
-> you will get the H1 F58
prompt
2) Hit <n> for a new connection
-> you will get the list
of possible choices
3) Type "13<ret>" to select the tracker F58
-> you will get the Tracker
F58 prompt
4) Hit <ret> again (fast, otherwise a timeout occurs
within 1-10 sec)
5) Hit <n> again for a connection
-> list of possible choices
6) Type the number specified for the branch (BDC Main)
followed by <ret>
-> again a list for the
crates to choose
7) Type the number specified for "BDC Master" followed
by <ret>
-> you will get an acknowledgement
about the successful connection ("link established")
That's it! Check for Master output on the next RUNSTART/STOP or WARMSTART (e.g. goto the local DAQ window and press "WARMSTART", then "waiting for runstart signalled by CDAQ" should appear).
NOTE: If the CPU is in "running DAQ" state the terminal will not echo any key you hit ! So this does not mean the terminal is not connected. This you only may see if the CPU is writing to the console during RUNSTART, RUNSTOP or WARMSTART.
7. Crate Lookup Table
for BDC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8. Hardware Experts for BDC readout:
These are experts for the BDC readout (apart from the usual BDC oncall
experts):
|
|
|
|
Guenter Eckerlin | 1b/337 / x2582 | 040-83293661 | 0168-4688331 (Beep) |
Rainer Wallny | 1b/351 / x3856 or x4589 or 6162-304 | - | 0172-8063227 (Handy) |
There is no on-call list as such; just try to get hold of one of them.
A. How to switch back to the old readout (Experts only!)
This chapter describes how to switch back to the old version of the BDC readout. This may become necessary under certain conditions (local testpulsing with histograms etc.).
NOTE: This procedure is absolutely restricted to BDC experts! It is not foreseen to be done by the Shift crew!
1) Take BDC out of the readout (Supervisor in room 301)
2) Connect to Master CPU via Versaterm (if not already connected. See chapter 6 of these instructions)
3) Abort Master CPU: BDC Supervisor: Experts > Abort CPU
4) Disable CMOS autoboot option: A "1" has to be written at CMOS adress
3:
- activate Versaterm Window
- press CAPS LOCK
- type CMOS <ret> 3 <ret>
1 <ret> . <ret>
5) Hide dual ported memory for MMU (Memory Management Unit): A '0' has
to be written into memory location DFFF0008:
- type M-M DFFF0000;W <Ret> <Ret>
<Ret> <Ret> <Ret> 0 <Ret> . <Ret>
6) Quit BDC Supervisor Program
7) Load old BDC DAQ Program (in folder "Programs" on Desktop)
8) Reboot DAQ (Reboot on menu)
(you have to remove the "A" (for "Accellerator")
from the pathnames of the programs to be loaded!!!)
9) Take BDC into readout again including a WARMSTART (at Supervisor in 301)
B. How to switch from the old to the new readout (Experts only!)
This chapter describes how to switch from the old to the new version of the BDC readout.
NOTE: This procedure is absolutely restricted to BDC experts! It is not foreseen to be done by the Shift crew!
1) Take BDC out of Readout (Supervisor in room 301)
2) Quit old BDC DAQ program
3) Start "Bill the cat" (from folder "Programs")
- Abort CPU#0
4) Connect to Master CPU via Versaterm (if not already connected. See chapter 6 of these instructions)
5) Enable CMOS autoboot option: A "0" has to be written at CMOS adress
3:
- activate Versaterm Window
- press CAPS LOCK
- type CMOS <ret> 3 <ret>
0 <ret> . <ret>
6) type B-F D0620000 D0640000 0 <Ret>
7) type M-M DFFF0000;W <Ret> <Ret> <Ret> <Ret> <Ret> 5 <Ret> . <Ret>
8) type GO D0E70000
If there is an error, do the following:
9) Within "Bill the cat":
- Choose CPU#E
- load program: "HD500:DC_DAQ97:DCDAQ_BOOT_104b"
- Choose CPU#0
If you get no error, continue here:
10) Start new BDC DAQ Program
12) Reboot DAQ
13) Take BDC in reasout again including a WARMSTART (at Supervisor in 301)
C. How to take testpulse
runs (Experts only!)
1. Testpulse run with CDAQ (new readout)
1. Stop the current run at the CDAQ (System Supervisor in 301).
2. Take all CDAQ branches out of the readout, except for Baranch 9 (BDC) (VERIFY!)
3. Change the BDC DAQ configuration (at the BDC DAQ Mac in B18-left
in 307)
- Control > Configuration
- Select Items REQUEST CDAQ, RUN START
RECORD, ENABLE LOCAL TRG., ENABLE TEST PULSES, CALIBRATION
- Deselect all other items
- press "Download"
4. Select "Permanent logging" at the CDAQ, if you want (VERIFY!)
5. Select "Test/Calibration" in the "General Trigger Settings" at the CDAQ (VERIFY!)
6. Do a WARMSTART
7. Start the run
2. Local Testpulse run (new readout)
1. Stop the current run at the CDAQ (System Supervisor in 301).
2. Take Branch 9 (BDC) out of the readout (VERIFY!). Then start a new CDAQ run, if needed.
3. Change the BDC DAQ configuration (at the BDC DAQ Mac in B18-left
in 307)
- Control > Configuration
- Select Items RUN START RECORD, ENABLE
LOCAL TRG., ENABLE TEST PULSES, CALIBRATION
- Deselect all other items
- press "Download"
4. Do a WARMSTART of the BDC DAQ (loacal DAQ > WARMSTART)
5. Start the run
3. Local Testpulse run with local Histograms (old readout)
1. Stop the current run at the CDAQ (System Supervisor in 301).
2. Take Branch 9 (BDC) out of the readout (VERIFY!). Then start a new CDAQ run, if needed.
3. Switch to the old BDC readout (See appendix A of these instructions).
4. Change the BDC DAQ configuration
- Control > Configuration
- Select Items 7,8,9,10,12,13,15,16
on the left side of the panel
- Deselect all other items on the left
side of the panel
- leave the right side of the panel
unchanged
- press "Download"
5. The procedure works only for "one half" of the readout chain:
We have to disable the other half:
Start the "SetConfig" application from
the "Programs" folder on the Desktop
- Select Readout branches No. 0,1,3,4
- Deselect branch No. 2 (left FADC
crate)
- Download these settings by pressing the
"right
arrow" button on the top left corner of the window
6. Do a WARMSTART
7. Start a local run
8. Start the "MonitorHistograms" application from the "Programs" folder on the Desktop and inspect the histograms.