From c4cbe5d76ae108f7243cc7832c0e6938ff2640b9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 23 Mar 2017 17:52:57 +0100 Subject: [PATCH] updated gbe registers in trb3doc --- trb3/GbeDataReadout.tex | 70 ++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/trb3/GbeDataReadout.tex b/trb3/GbeDataReadout.tex index 16dfd44..91ad40f 100644 --- a/trb3/GbeDataReadout.tex +++ b/trb3/GbeDataReadout.tex @@ -32,17 +32,17 @@ Each TRB3 board has a unique MAC address which is constructed in following way: \begin{center} \begin{tabular}{|l|l|l|} \hline - Address & Name & Description \\ \hline - - 0x81X0 & DestMacLsb & Lower 32 bits of the destination MAC address \\ - 0x81X1 & DestMacMsb & Bit 15..0: Higher 16 bit of the destination MAC, Bit 31..16: reserved\\ - 0x81X2 & DestIP & Destination IP \\ - 0x81X3 & DestUdpPort & Bit 15..0: Destination UDP port, Bit 31..16: reserved \\ - 0x81X4 & SrcMacLsb & OBSOLETE (address automatically generated) \\ - 0x81X5 & SrcMacMsb & OBSOLETE (address automatically generated) \\ - 0x81X6 & SrcIP & OBSOLETE (address aacquired from DHCP) \\ - 0x81X7 & SrcUdpPort & Bit 15..0: Source UDP port, Bit 31..16: reserved \\ - 0x81X8 & MtuSize & OBSOLETE (switched to control register 0x8304) \\ + Address & Description \\ \hline + + 0x81X0 & Lower 32 bits of the destination MAC address \\ + 0x81X1 & Bit 15..0: Higher 16 bit of the destination MAC, Bit 31..16: reserved\\ + 0x81X2 & Destination IP \\ + 0x81X3 & Bit 15..0: Destination UDP port, Bit 31..16: reserved \\ + 0x81X4 & OBSOLETE (address automatically generated) \\ + 0x81X5 & OBSOLETE (address automatically generated) \\ + 0x81X6 & OBSOLETE (address aacquired from DHCP) \\ + 0x81X7 & Bit 15..0: Source UDP port, Bit 31..16: reserved \\ + 0x81X8 & OBSOLETE (switched to control register 0x8304) \\ \hline \end{tabular} \caption[Addressing registers map]{Addressing registers map} \end{center} @@ -56,24 +56,24 @@ Some header values as well as operation mechanics can be changed and adjusted, h \begin{table}[!htbp] \begin{center} - \begin{tabular}{|l|l|l|} + \begin{tabular}{|l|l|} \hline - Address & Name & Description\\ \hline - - 0x8300 & SubEventID & The ID is written in each SubEventHeader to identify the source of data (default: x000000cf) \\ - 0x8301 & SubEventDecoding & Information sent in the SubEventHeader (default: x00020001) \\ - 0x8302 & QueueDecoding & Information sent in the HadesTuQueue (default: x00030062) \\ - 0x8304 & MaxFrameSize & Maximum size of a Ethernet packet (default: 1400) \\ - 0x8305 & UseGbE & Enable sending data over GbE (default: 0) \\ - 0x8307 & MultiEventQueue & Enable packing several events into one event queue (default: 0) \\ - 0x8308 & TriggerCounter & The internal, 24bit trigger counter used for the SubEventHeader (default: 0) \\ - 0x8309 & EnableRX & Enables/disables reception of frames (default: 1)\\ - 0x830B & IncludeTType & Include Trigger Type in decoding field (default: 0)\\ - 0x830C & MaxSubSize & Max Subevent size, larger are discarded (default: 59800)\\ - 0x830E & MaxSubsInQueue & Max number of Subevents in one Queue (default: 200)\\ - 0x830F & MaxSubSizeInQ & Max Subevent size, after which the Queue is closed immediately (default: 32000)\\ - 0x8310 & MaxQueueSize & Max size of a Queue (default: 60000) \\ - 0x83FF & ResetDefault & When written to 0xFFFFFFFF: all values are reset to default \\ + Address & Description\\ \hline + + 0x8300 & The ID is written in each SubEventHeader to identify the source of data (default: x000000cf) \\ + 0x8301 & Information sent in the SubEventHeader (default: x00020001) \\ + 0x8302 & Information sent in the HadesTuQueue (default: x00030062) \\ + 0x8304 & Maximum size of a Ethernet packet (default: 1400) \\ + 0x8305 & Enable sending data over GbE (default: 0) \\ + 0x8307 & Enable packing several events into one event queue (default: 0) \\ + 0x8308 & The internal, 24bit trigger counter used for the SubEventHeader (default: 0) \\ + 0x8309 & Enables/disables reception of frames (default: 1)\\ + 0x830B & Include Trigger Type in decoding field (default: 0)\\ + 0x830C & Max Subevent size, larger are discarded (default: 59800)\\ + 0x830E & Max number of Subevents in one Queue (default: 200)\\ + 0x830F & Max Subevent size, after which the Queue is closed immediately (default: 32000)\\ + 0x8310 & Max size of a Queue (default: 60000) \\ + 0x83FF & When written to 0xFFFFFFFF: all values are reset to default \\ \hline \end{tabular} \caption[Control registers map]{Control registers map} @@ -90,13 +90,13 @@ The operation of the entire GbE module as well as individual protocols can be mo \begin{center} \begin{tabular}{|l|l|l|} \hline - Address & Name & Description\\ \hline - 0x83E0 & RxBytes & Received bytes counter \\ - 0x83E1 & RxFrames & Received frames counter \\ - 0x83E2 & TxBytes & Transmitted bytes counter \\ - 0x83E3 & TxFrames & Transmitted frames counter \\ - 0x83E4 & TxPackets & Transmitted packets counter \\ - 0x83E5 & RxDropped & Dropped RX frames counter \\ + Address & Description\\ \hline + 0x83E0 & Received bytes counter \\ + 0x83E1 & Received frames counter \\ + 0x83E2 & Transmitted bytes counter \\ + 0x83E3 & Transmitted frames counter \\ + 0x83E4 & Transmitted packets counter \\ + 0x83E5 & Dropped RX frames counter \\ \hline \end{tabular} \caption[Monitoring registers map]{Monitoring registers map} \end{center} -- 2.43.0