]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Wed, 29 Sep 2010 12:26:56 +0000 (12:26 +0000)
committerhadeshyp <hadeshyp>
Wed, 29 Sep 2010 12:26:56 +0000 (12:26 +0000)
cts.tex
daqnet.kilepr
daqstartup.tex
evtbuild.tex
installation_ethernet_table.tex
ipudataformat.tex
lvl1trigger.tex
main.tex
mediainterface.tex
slowcontrol.tex

diff --git a/cts.tex b/cts.tex
index 04219df1c7add314be96a6f7c33dc0fafba609c5..a061614ca073bc19ddadc4c845786790c30bc1eb 100644 (file)
--- a/cts.tex
+++ b/cts.tex
@@ -7,7 +7,7 @@ The schematics of the new CTS AddOn can be found in \cite{CTS}.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\subsubsection{CTS Control Registers}
+subsection{CTS Control Registers}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 For all registers described in this subsection refer to the Fig.\ref{cts_logic}
 
@@ -71,7 +71,7 @@ For all registers described in this subsection refer to the Fig.\ref{cts_logic}
 \end{description}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\subsubsection{CTS Status Registers}
+subsection{CTS Status Registers}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
@@ -180,7 +180,7 @@ For all registers described in this subsection refer to the Fig.\ref{cts_logic}
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\subsubsection{CTS Data structure}
+subsection{CTS Data structure}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 When there is trigger type which is not equal 0x9 (MDC calibration trigger sent each second) then the data from CTS contains 5 data words.
@@ -231,7 +231,7 @@ When there is MDC calibration trigger CTS sends also scalers information.
 
 \begin{figure}
   \centering
-  \includegraphics[width=.9\textwidth]{cts_doc.pdf}
+  \includegraphics[height=.95\textheight]{cts_doc.pdf}
   \caption{CTS trigger box logic}
   \label{cts_logic}
 \end{figure}
index 493b0bd845f0017b707cd8d827e788a6b418e2ed..d9a71c377e818a5f7f15e01b2ec0c0931a9fcaf0 100755 (executable)
@@ -1,13 +1,14 @@
 [General]
+def_graphic_ext=
 img_extIsRegExp=false
 img_extensions=.eps .jpg .jpeg .png .pdf .ps .fig .gif
 kileprversion=2
-kileversion=2.0
+kileversion=2.0.85
 lastDocument=lvl1trigger.tex
 masterDocument=main.tex
 name=daqnet
 pkg_extIsRegExp=false
-pkg_extensions=.cls .sty
+pkg_extensions=.cls .sty .bbx .cbx .lbx
 src_extIsRegExp=false
 src_extensions=.tex .ltx .latex .dtx .ins
 
@@ -15,21 +16,175 @@ src_extensions=.tex .ltx .latex .dtx .ins
 MakeIndex=
 QuickBuild=PDFLaTeX+ViewPDF
 
+[document-settings,item:/local/trb/cvs/daq_docu/cts.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:/local/trb/cvs/daq_docu/tof.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:commonfeatures.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:cts.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:daqstartup.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:endpoint.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:evtbuild.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:gbe.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:hubs.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:installation_ethernet_table.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:ipudataformat.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:lvl1trigger.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:main.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:mdc.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:networkaddresses.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:rich.tex]
+Bookmarks=
+Encoding=ISO-8859-15
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:showerdata.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:slowcontrol.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:software.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
 [item:/local/trb/cvs/daq_docu/cts.tex]
 archive=true
-column=50
-encoding=ISO 8859-15
+column=0
+encoding=ISO-8859-15
 highlight=LaTeX
-line=46
+line=0
+mode=LaTeX
 open=true
 order=14
 
 [item:/local/trb/cvs/daq_docu/tof.tex]
 archive=true
-column=3
-encoding=ISO 8859-15
+column=0
+encoding=ISO-8859-15
 highlight=LaTeX
-line=7
+line=0
+mode=LaTeX
 open=true
 order=13
 
@@ -39,96 +194,137 @@ column=0
 encoding=ISO 8859-15
 highlight=BibTeX
 line=0
+mode=
 open=false
 order=-1
 
 [item:commonfeatures.tex]
 archive=true
-column=17
-encoding=ISO 8859-15
+column=0
+encoding=ISO-8859-15
 highlight=LaTeX
-line=6
+line=0
+mode=LaTeX
 open=true
 order=15
 
+[item:cts.tex]
+archive=true
+column=0
+encoding=UTF-8
+highlight=LaTeX
+line=160
+mode=LaTeX
+open=true
+order=17
+
 [item:daqnet.kilepr]
 archive=true
 column=1769099307
 encoding=
 highlight=
 line=0
+mode=
 open=false
 order=-1
 
 [item:daqstartup.tex]
 archive=true
-column=16
+column=73
 encoding=UTF-8
 highlight=LaTeX
-line=61
+line=177
+mode=LaTeX
 open=true
 order=8
 
 [item:endpoint.tex]
 archive=true
 column=0
-encoding=ISO 8859-15
+encoding=ISO-8859-15
 highlight=LaTeX
-line=88
+line=0
+mode=LaTeX
 open=true
 order=11
 
+[item:evtbuild.tex]
+archive=true
+column=183
+encoding=UTF-8
+highlight=LaTeX
+line=180
+mode=LaTeX
+open=true
+order=16
+
 [item:gbe.tex]
 archive=true
-column=192
-encoding=ISO 8859-15
+column=0
+encoding=ISO-8859-15
 highlight=LaTeX
-line=30
+line=0
+mode=LaTeX
 open=true
 order=12
 
 [item:hubs.tex]
 archive=true
-column=58
-encoding=
+column=0
+encoding=UTF-8
 highlight=LaTeX
-line=65
+line=0
+mode=LaTeX
 open=true
 order=6
 
+[item:installation_ethernet_table.tex]
+archive=true
+column=6
+encoding=UTF-8
+highlight=LaTeX
+line=122
+mode=LaTeX
+open=true
+order=18
+
 [item:ipudataformat.tex]
 archive=true
-column=151
+column=0
 encoding=UTF-8
 highlight=LaTeX
-line=256
+line=0
+mode=LaTeX
 open=true
 order=1
 
 [item:lvl1trigger.tex]
 archive=true
-column=114
+column=0
 encoding=UTF-8
 highlight=LaTeX
-line=114
+line=113
+mode=LaTeX
 open=true
 order=2
 
 [item:main.tex]
 archive=true
-column=21
+column=0
 encoding=UTF-8
 highlight=LaTeX
-line=58
+line=0
+mode=LaTeX
 open=true
 order=0
 
 [item:mdc.tex]
 archive=true
 column=0
-encoding=ISO 8859-15
+encoding=ISO-8859-15
 highlight=LaTeX
-line=32
+line=0
+mode=LaTeX
 open=true
 order=10
 
@@ -137,16 +333,18 @@ archive=true
 column=0
 encoding=UTF-8
 highlight=LaTeX
-line=73
+line=0
+mode=LaTeX
 open=true
 order=3
 
 [item:rich.tex]
 archive=true
-column=18
-encoding=ISO 8859-15
+column=0
+encoding=ISO-8859-15
 highlight=LaTeX
-line=13
+line=0
+mode=LaTeX
 open=true
 order=9
 
@@ -155,7 +353,8 @@ archive=true
 column=0
 encoding=UTF-8
 highlight=LaTeX
-line=68
+line=0
+mode=LaTeX
 open=true
 order=7
 
@@ -164,7 +363,8 @@ archive=true
 column=0
 encoding=UTF-8
 highlight=LaTeX
-line=16
+line=0
+mode=LaTeX
 open=true
 order=4
 
@@ -173,6 +373,83 @@ archive=true
 column=0
 encoding=UTF-8
 highlight=LaTeX
-line=108
+line=0
+mode=LaTeX
 open=true
 order=5
+
+[view-settings,view=0,item:/local/trb/cvs/daq_docu/cts.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:/local/trb/cvs/daq_docu/tof.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:commonfeatures.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:cts.tex]
+CursorColumn=0
+CursorLine=160
+
+[view-settings,view=0,item:daqstartup.tex]
+CursorColumn=73
+CursorLine=177
+
+[view-settings,view=0,item:endpoint.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:evtbuild.tex]
+CursorColumn=183
+CursorLine=180
+
+[view-settings,view=0,item:gbe.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:hubs.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:installation_ethernet_table.tex]
+CursorColumn=6
+CursorLine=122
+
+[view-settings,view=0,item:ipudataformat.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:lvl1trigger.tex]
+CursorColumn=0
+CursorLine=113
+
+[view-settings,view=0,item:main.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:mdc.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:networkaddresses.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:rich.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:showerdata.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:slowcontrol.tex]
+CursorColumn=0
+CursorLine=0
+
+[view-settings,view=0,item:software.tex]
+CursorColumn=0
+CursorLine=0
index 5283c47ca1c0c04cd8d469c36a60a084ace619e5..021c61cea7788c8d5c7f38f96ac7d1355c1fc0e9 100755 (executable)
@@ -174,8 +174,8 @@ Modifieres written in camel case have to be given to the startup script in all u
 
 \subsubsection*{Exclude Systems}
 \begin{description}
- \item[Nocts, Nohub, Nomdc, Norich, Norpc, \\Noshower, Nowall, Nostart, Notof] These commands remove the given system from loading settings, loading FPGA designs and the TRB list.
- \item[\textsc{All, Tof, Rich, Rpc, Shower, Mdc, Wall, Mdc12, Mdc34}] These commands include the given systems in the network by switching on the corresponding port on the central Hub. Please note that the default (without these commands) is all detectors off!
+ \item[Nocts, Nohub, Nomdc, Norich, Norpc, \\Noshower, Nowall, Nostart, Notof] ~\\These commands remove the given system from loading settings, loading FPGA designs and the TRB list.
+ \item[\textsc{All, Tof, Rich, Rpc, Shower, Mdc, Wall, Mdc12, Mdc34}] ~\\These commands include the given systems in the network by switching on the corresponding port on the central Hub. Please note that the default (without these commands) is all detectors off!
 \end{description}
 
 
index cb96b55f1394b27acdc935d6fc646b95f2d46fa2..c9917fe52cd693fb0787a469dfa963ecfc05d7e8 100644 (file)
@@ -127,52 +127,42 @@ The script reads several configuration files.
 \end{description}
 \item[Execution examples] :
 \begin{description}
-\item[Start EBs] : start\_eb\_gbe.pl -e start
-\item[Stop EBs] : start\_eb\_gbe.pl -e stop
-\item[Start 6 EBs with the numbers 0,1,2,3,5,7] : start\_eb\_gbe.pl -e start -n 0-3 -n 5 -n 7
-\item[Start Epics IOCs] : start\_eb\_gbe.pl -i start
-\item[Stop Epics IOCs] : start\_eb\_gbe.pl -i stop
+\item[Start EBs] : \\\verb!start_eb_gbe.pl -e start!
+\item[Stop EBs] : \\\verb!start_eb_gbe.pl -e stop!
+\item[Start 6 EBs with the 0,1,2,3,5,7] : \\\verb!start_eb_gbe.pl -e start -n 0-3 -n 5 -n 7!
+\item[Start Epics IOCs] : \\\verb!start_eb_gbe.pl -i start!
+\item[Stop Epics IOCs] : \\\verb!start_eb_gbe.pl -i stop!
 \end{description}
 \end{description}
 
 \subsection{Monitoring Event Builders}
 
 As has been already said the monitoring of EBs is based on the IOC processes running on each EB server.
+\\Usually the monitoring is already running at vncserver lxhadesdaq:3. Before starting the monitoring one should set two environment variables:
+\\\verb!export EPICS_CA_ADDR_LIST=192.168.101.255!
+\\\verb!export EPICS_CA_AUTO_ADDR_LIST=NO!
+\\The monitoring can be started by executing: 
+\\\verb!lxhadesdaq:/home/scs/Desktop/DAQ/EB_Monitor.desktop!
 
-Usually the monitoring is already running at vncserver lxhadesdaq:3.
-
-Before starting the monitoring one should set two env variables:
-\begin{itemize}
- \item export EPICS\_CA\_ADDR\_LIST=192.168.101.255 
- \item export EPICS\_CA\_AUTO\_ADDR\_LIST=NO 
- \end{itemize}
-
-The monitoring can be started by executing: 
-lxhadesdaq: /home/scs/Desktop/DAQ/EB\_Monitor.desktop
 
 \subsection{Monitoring Event Builder's Logs}
 
 To learn more details about the running Event Builders on can look at
 the output of the monitoring stript which scans the log files of all the
 EBs. 
-\newline
-\newline
-Usually you can find the output of this script at vncserver lxhadesdaq:3.
-\newline
-\newline
-For example the log file of EB 1 running on the lxhadeb01 cab be found on lxhadesdaq
-/home/hadaq/oper/oper\_1/eb1\_log.txt.
-\newline
-\newline
-The script can be started by executing:
-lxhadesdaq: /home/hadaq/Desktop/DAQ/EBLog\_Watch.desktop
+\\For example the log file of EB 1 running on the lxhadeb01 can be found on 
+\\\verb!lxhadesdaq:/home/hadaq/oper/oper_1/eb1_log.txt!.
+\\The script can be started by executing:
+\\\verb!lxhadesdaq:/home/hadaq/Desktop/DAQ/EBLog_Watch.desktop!
+\\Usually you can find the output of this script at vncserver lxhadesdaq:3.
 
 \section{Storing data to Oracle database}
 
 \subsection{Time stamp and current info on boards}
 
 The DAQ startup script writes the ascii file with all the active boards in the system and the time stamp. 
-The daq2ora\_client.pl script reads this ascii file on lxhadesdaq (/home/hadaq/\-oper/daq2ora/\-daq2ora\_2010-08-30\_12.49.50.txt) and stores the info in the Oracle database. The info consists of board unique Id, TRB-Net address, subEvent Id, TDC RC Mode, threshold version for RICH and MDC as well as MDC TDC mask version.
+The daq2ora\_client.pl script reads this ascii file on lxhadesdaq e.g. \\\verb!~/oper/daq2ora/daq2ora_2010-08-30_12.49.50.txt!
+\\and stores the info in the Oracle database. The info consists of board unique Id, TRB-Net address, subEvent Id, TDC RC Mode, threshold version for RICH and MDC as well as MDC TDC mask version.
 
 \begin{description}
 \item[Script options] :
@@ -187,8 +177,8 @@ The daq2ora\_client.pl script reads this ascii file on lxhadesdaq (/home/hadaq/\
 \end{description}
 \item[More info] :
 \begin{description}
-   \item[Execute on lxhadesdaq] : /home/hadaq/\-trbsoft/daq/oracle/\-daq2ora\_client.pl -o -v -d \&
-   \item[More info can be found here] : http://hades-wiki.gsi.de/\-cgi-bin/\-view/\-DaqSlowControl/\-SoftTools\-\#daq2ora\_client\_pl\_daemon\_to\_inse
+   \item[Execute on lxhadesdaq] : \\\verb!~/trbsoft/daq/oracle/daq2ora_client.pl -o -v -d &!
+   \item[More info can be found here] : \\\href{http://hades-wiki.gsi.de/cgi-bin/view/DaqSlowControl/SoftTools\#daq2ora_client_pl_daemon_to_inse}{Wiki: DaqSlowControl -> SoftTools -> daq2ora\_client}
 \end{description}
 \end{description}
 
index ba0c61b5c17c4dacdb8a86c0ddc3cc2af1f4684e..ad86e86fc0bf11f623ba174c59fe09c867c9b7be 100644 (file)
@@ -27,7 +27,7 @@
                         Port C: RPC sector 4,5,6 \newline
                         Port D: RPC sector 1,2,3 \\
 \hline
-5\newline hadswXX  & rear right corner& Longshine LCS-GS9240 \newline
+5\newline hadswX  & rear right corner& Longshine LCS-GS9240 \newline
                         2 links to both RPC hub TRB \newline
                         1 link to Shower hub TRB \newline
                         6 links to all RPC/Shower sector hubs \newline
@@ -57,7 +57,7 @@
                         Port C: MDC 3/4 Hub 4 (address 1130) \newline
                         Port D: MDC 3/4 Hub 3 (address 1120) \\
 \hline
-10\newline hadsw03 & front rack       & Netgear 12 port \newline
+10\newline hadsw13 & front rack       & Longshine LCS-GS9240 \newline
                         Port 1: Uplink 01C-02 \newline
                         Port 9: MDC1/2 Hub \newline
                         Port 10: MDC3/4 Hub \newline
                            Uplink via switch 11 \newline 
                            TOF TRB \newline
                            Hub TOF, Hub MDC 3/4 \\
-
+\hline
 \caption{Position and usage of GbE switches}
 \label{NetworkSwitch}
 \end{longtable}
index b2990834a6fc185916ec3f61170c1d05f6979601..cd4f8874e56326735b3be7dd7cd3663274804c04 100755 (executable)
@@ -253,9 +253,9 @@ The first bits (16 -- 19) are generated by checks performed in every stage of da
 22 & severe problem & serious sync problem detected - intervention needed. Set by user. \\
 23 & single broken event & event data corrupted, next event most likely not affected. Set by user. \\
 24 & Ethernet link broken & Ethernet link to send data is down. Data has been lost. \\
-25 & SubEvent buffer almost full & The buffer to store events in the Ethernet interface is almost full, a stop within the next few events is likely \\
+25 & SubEvent buffer full & The buffer to store events in the Ethernet interface is almost full, a stop within the next few events is likely \\
 26 & Ethernet error & The ethernet interface found partially corrupted data and discarded this event. Only partial data has been transmitted to the EB. \\
-27 &  \\
+27 & timing trigger error & There was a problem related to the timing trigger, e.g. multiple or missing timing triggers, spikes \\
 28 & &  \\
 29 & &  \\
 30 & & \\ 
index 5c7019c5abf27985fc47cb172b1a1a1bfbf04767..bd2f35969fa61d50a2dcc2c4091364dbdc177bae 100755 (executable)
@@ -95,7 +95,8 @@ If deleting the data is not possible any more, the TTL trigger is ignored by the
   \label{fig:timingtriggercase6}
 \end{figure}
 
-
+\subsubsection{Status and Statistics Registers}
+The LVL1 trigger handler features four 32 bit status registers. They are accessible at register addresses 2,3,6,7 in each network endpoint. The definitions can be found in tables \ref{CommonStatReg2}, \ref{CommonStatReg3}, \ref{CommonStatReg6} and \ref{CommonStatReg7}.
 
 
 
@@ -170,7 +171,9 @@ In case a board has not been configured correctly to deliver proper data, this i
 21 & buffers almost full & The event data buffers are almost full. Set by user. \\
 22 & not configured & Frontend is not configured correctly to handle triggers, an initilization is needed. Set by user. \\
 23 & frontend error & Parts of the connected frontend are not behaving correctly: no response, not synchronized, token missing...\\
-24 - 31 & t.b.d. & Not yet defined \\
+24 & spike detected & A spike was detected on the timing trigger input. \\
+25 & trigger timeout & The delay between timing trigger and LVL1 trigger was longer than expected \\
+26 - 31 & t.b.d. & Not yet defined \\
 \end{tabularx}
 \caption{Error- and Status information contained in the network termination packet}
 \label{LVL1Errorbits}
index faa6052c9d8d9897da9310285a85cc0c7d600b8a..3b7123108edba852e307bdaee80dcd79c6082e50 100755 (executable)
--- a/main.tex
+++ b/main.tex
@@ -1,4 +1,3 @@
-
 \documentclass[11pt,a4paper,twoside]{scrartcl} %twoside
 
 %Einstellungen der Seitenr�nder
@@ -51,9 +50,9 @@
 %\usepackage{mathptmx}
 %\usepackage{pslatex}
 
-\title{A Users Guide\\to the\\HADES DAQ Network}
+\title{A Users Guide\\to the\\HADES DAQ System}
 \date{\today ~-~\thistime}
-\author{Jan Michel, Michael B\"ohmer, Grzegorz Korcyl, Marek Palka}
+\author{Jan Michel, Michael B\"ohmer, Grzegorz Korcyl, Marek Palka, Sergey Yurevich}
 
 
 \newcommand{\filename}[1]{\textit{#1}}
index 0773445810037c03a25dd87acda1ca0db929f9c7..599702d96bd2f4e0d22d7a79446c3ebd1a9dd4fe 100644 (file)
 \label{MediaInterfaceControl}
 \end{center}
 \end{table}
+
+
+
+\subsection{ECP2M FOT Interface}
+\subsubsection{Status Register}
+
+\begin{table}[hbtp]
+\begin{center}
+\begin{tabularx}{\textwidth}{|c|c|X|}
+\hline
+\textbf{Reg.} & \textbf{Bit} & \textbf{Description} \\
+\hline\hline
+\multicolumn{3}{|l|}{TX Control}\\
+\hline
+0 & 7 -- 0 & RAM fill level \\
+0 & 15 -- 8 & RAM read address \\
+0 & 16 & RAM almost full \\
+0 & 17 & RAM empty \\
+0 & 18 & TX allow (sync'ed to TX clock) \\
+0 & 19 & TX allow \\
+0 & 20 & Restart transmission from given RAM position \\
+0 & 21 & Request a restart of transmission \\
+0 & 31 -- 24 & Request restart position \\
+\hline
+\multicolumn{3}{|l|}{RX Full Packets}\\
+\hline
+1 & 3 -- 0 & Status of state machine \\
+1 & 4 & got timeout (toc\_done) \\
+1 & 5 & packet in transit (transit)\\
+1 & 6 & packet timeout (pkt\_timeout)\\
+1 & 7 & timeout counter clock enable (ce\_toc)\\
+1 & 10 -- 8 & RX counter \\
+\hline
+\multicolumn{3}{|l|}{RX Comma Handler}\\
+\hline
+1 & 20 -- 16 & Counter for reset words \\
+1 & 21 & writing to RX Fifo is blocked (fifo\_inhibit) \\
+1 & 22 & locked to comma (comma\_locked) \\
+\hline
+1 & 31 -- 24 & load buffer position for start retransmit (rx\_position) \\
+\hline
+\multicolumn{3}{|l|}{RX Checker}\\
+\hline
+2 & 3 -- 0 & State machine \\
+2 & 4 & Fifo reset (fifo\_rst) \\
+2 & 5 & request a retransmission (request) \\
+2 & 6 & resume receiving (resume) \\
+\hline
+\multicolumn{3}{|l|}{RX Control}\\
+\hline
+2 & 15 -- 8 & Position to start retransmission from (start\_position) \\
+2 & 16 & Timeout while receiving one packet (packet\_timeout) \\
+2 & 17 & Experienced a RX error(rx\_gone\_wrong) \\
+2 & 18 & packet in transit (pkt\_in\_transit) \\
+2 & 31 -- 24 & Request retransmission position (request\_position) \\
+\hline
+\end{tabularx}
+\caption{Status Registers of the FOT media interface}
+\label{MediaInterfaceFOTRegs}
+\end{center}
+\end{table}
+
index 05e75e8a9bfc5aeda3180ebff4dd0109d9b285a7..bc5510813597ffcb189b360c348b2368f15b27cb 100755 (executable)
@@ -207,21 +207,24 @@ The common status and control registers are further explained in the next sectio
 \hline
 \textbf{Address} & \textbf{Mnemonics} & \textbf{Name} & \textbf{Description} \\
 \hline\hline
-00 & common status register 0      & CSR0 & Basic Error Flags and Temperature (see below) (r) \\
-01 & common status register 1      & CSR1 & LVL1 trigger number (Bits 15..0), timing Trigger number (Bits 31..16) (r) \\
-02 & common status register 2      & CSR2 & Status of LVL1 handler \\
-03 & common status register 3      & CSR3 & Trigger input monitor. Bit 15..0: Edge count, Bit 31..16: Length of last pulse \\
-04 & common status register 4      & CSR4 & Link and reset status register \\
-20 & common control register 0     & CCR0 & Strobes for board resets and test triggers (see below) (w)\\
-21 & common control register 1     & CCR1 & Sets LVL1 trigger number (Bits 15..0) (r/w)\\
-22 & common control register 2     & CCR2 & frontend enable, trigger enable, debug enable (r/w)\\
-40 & information ROM 0             & ROM0 & Compile Time (set by generic) (r)\\
-41 & information ROM 1             & ROM1 & Design Version (set by generic) (r) \\
-42 & information ROM 2             & ROM2 & Hardware Information (set by generic) (r)\\
-50 & global time                   & TME  & Global Time (r/w)\\
-51 & time since trigger            & TSTR & Time since last timing trigger (r)\\
-80 -- BF & user status registers   & SRn  & User status registers \\
-C0 -- FF & user control registers  & CRn  & User control registers \\
+00 & common status reg 0      & CSR0 & Basic Error Flags and Temperature (see below) (r) \\
+01 & common status reg 1      & CSR1 & LVL1 and IPU event numbers \\
+02 & common status reg 2      & CSR2 & LVL1 handler status register \\
+03 & common status reg 3      & CSR3 & LVL1 handler statistics 0. \\
+04 & common status reg 4      & CSR4 & Link and reset status register \\
+05 & common status reg 5      & CSR5 & Trigger data register \\
+06 & common status reg 6      & CSR6 & LVL1 handler statistics 1 \\
+07 & common status reg 7      & CSR7 & LVL1 handler statistics 2 \\
+20 & common control reg 0     & CCR0 & Strobes for board resets and test triggers (see below) (w)\\
+21 & common control reg 1     & CCR1 & Sets LVL1 trigger number (Bits 15..0) (r/w)\\
+22 & common control reg 2     & CCR2 & frontend enable, trigger enable, debug enable (r/w)\\
+40 & information ROM 0        & ROM0 & Compile Time (set by generic) (r)\\
+41 & information ROM 1        & ROM1 & Design Version (set by generic) (r) \\
+42 & information ROM 2        & ROM2 & Hardware Information (set by generic) (r)\\
+50 & global time              & TME  & Global Time (r/w)\\
+51 & time since trigger       & TSTR & Time since last timing trigger (r)\\
+80 -- BF & user status reg    & SRn  & User status registers \\
+C0 -- FF & user control reg   & CRn  & User control registers \\
 0100 -- 6FFF & reserved            & ---  & Reserved addresses on internal data port (e.g. for monitoring and other features)\\
 7000 -- 7FFF & endpoint monitoring & ---  & Monitoring Registers for Endpoint\\
 8000 -- FFFF & user defined        & ---  & User defined address space on the internal data bus \\
@@ -249,7 +252,7 @@ E000 -- FFFF & Debugging & Memories and Registers for Debugging \\
 \end{table}
 
 
-\paragraph{Common Control and Status Registers (0x00 - 0x03, 0x20 - 0x22)}
+\paragraph{Common Control and Status Registers (0x00 - 0x05, 0x20 - 0x22)}
 
 The first common status register (0x00) is described in table \ref{CommonStatReg0}. It is used for error flags
 and readback of the boards temperature. The second status register (0x01) is used to read the LVL1 trigger number
@@ -300,6 +303,21 @@ A detailed bit definition can be found in table~\ref{CommonCtrlReg2}.
 \end{center}
 \end{table}
 
+\begin{table}
+\begin{center}
+\begin{tabularx}{\textwidth}{|c|X|}
+\hline
+\textbf{Bits} & \textbf{Description} \\
+\hline\hline
+31 -- 16 & Last read-out event number on IPU channel \\
+15 -- 0  & Internal LVL1 trigger number \\
+\hline
+\end{tabularx}
+\caption{Common Status Register 1 (CSR1): IPU and trigger event numbers}
+\label{CommonStatReg1}
+\end{center}
+\end{table}
+
 \begin{table}
 \begin{center}
 \begin{tabularx}{\textwidth}{|c|X|}
@@ -317,11 +335,26 @@ A detailed bit definition can be found in table~\ref{CommonCtrlReg2}.
 3 -- 0    & Status of LVL1 handler state machine. 0: idle, 1: timing trigger found, 3: LVL1 trigger received, 5: bad combination of timing trigger and LVL1 trigger, 7: done.\\
 \hline
 \end{tabularx}
-\caption{Common Status Register 2 (CSR2)}
+\caption{Common Status Register 2 (CSR2): LVL1 handler status}
 \label{CommonStatReg2}
 \end{center}
 \end{table}
 
+\begin{table}
+\begin{center}
+\begin{tabularx}{\textwidth}{|c|X|}
+\hline
+\textbf{Bits} & \textbf{Description} \\
+\hline\hline
+31 -- 16 & Length of last timing trigger signal $(length = (value+1)*10~\mbox{ns})$ \\
+15 -- 0  & Number of seen rising edges on the timing trigger input \\
+\hline
+\end{tabularx}
+\caption{Common Status Register 3 (CSR3): LVL1 handler statistics 0}
+\label{CommonStatReg3}
+\end{center}
+\end{table}
+
 
 \begin{table}
 \begin{center}
@@ -336,12 +369,65 @@ A detailed bit definition can be found in table~\ref{CommonCtrlReg2}.
 3 -- 0  & counter for received network resets (written by endpoint) \\
 \hline
 \end{tabularx}
-\caption{Common Status Register 4 (CSR4)}
+\caption{Common Status Register 4 (CSR4): Link and reset statistics}
 \label{CommonStatReg4}
 \end{center}
 \end{table}
 
 
+\begin{table}
+\begin{center}
+\begin{tabularx}{\textwidth}{|c|X|}
+\hline
+\textbf{Bits} & \textbf{Description} \\
+\hline\hline
+31 -- 24  & Trigger code of the last received LVL1 trigger \\
+23 -- 20  & Lower 4 bits of the last received trigger number \\
+19 -- 16  & Trigger type of last received LVL1 trigger\\
+15 -- 0  & Trigger information from last received LVL1 trigger \\
+\hline
+\end{tabularx}
+\caption{Common Status Register 5 (CSR5): Trigger information}
+\label{CommonStatReg5}
+\end{center}
+\end{table}
+
+
+
+
+
+
+\begin{table}
+\begin{center}
+\begin{tabularx}{\textwidth}{|c|X|}
+\hline
+\textbf{Bits} & \textbf{Description} \\
+\hline\hline
+31 -- 16 & Number occurences of multiple timing trigger before a LVL1 trigger \\
+15 -- 0  & Number of invalid triggers (i.e. LVL1 triggers not preceeded by a timing trigger signal\\
+\hline
+\end{tabularx}
+\caption{Common Status Register 6 (CSR6): LVL1 handler statistics 1}
+\label{CommonStatReg6}
+\end{center}
+\end{table}
+
+\begin{table}
+\begin{center}
+\begin{tabularx}{\textwidth}{|c|X|}
+\hline
+\textbf{Bits} & \textbf{Description} \\
+\hline\hline
+31 -- 16 & Number of spurious triggers (i.e. timing triggers preceeding a timing triggerless trigger) \\
+15 -- 0  & Number of spikes seen on the timing trigger input \\
+\hline
+\end{tabularx}
+\caption{Common Status Register 7 (CSR7): LVL1 handler statistics 2}
+\label{CommonStatReg7}
+\end{center}
+\end{table}
+
+
 \begin{table}
 \begin{center}
 \begin{tabular}{|c|c|}