Network Addresses of MDC Motherboards/OEPs

According to NetworkAddresses, all OEP get TrbNet addresses in the range between 0x2000 to 0x2FFF. The second hex digit is the MDC layer, the third hex digit is the sector and the last digit is the number of the motherboard.

Like it is always done in software, numbering starts with 0, so motherboards are numbered 0 to 13 / 15, sectors are numbered 0 to 5 and planes are numbered 0 to 3. The motherboard numbers are already in use and documented here: http://www-hades.gsi.de/mdc/lvl1-bus/AllMBO.pdf (small handwritten numbers next to each motherboard (minus 1, since we start counting with 0)).

If a OEP is replaced, it gets a different network address, determined by adding one (or more) of the following offsets to the original network address: 0x80, 0x400, 0x800. Thus, there are eight replacement addresses in total.

E.g. if board 0x2103 (the OEP on motherboard 3 in plane 1, sector 0) is replaced, it gets one of the following addresses: 0x2503, 0x2903, 0x2D03, 0x2183, 0x2583, 0x2983 or 0x2D83. The position on the detector then can still be determined by putting a mask on the address: "$address & 0x037F" always gives the position information no matter how many times a board has been replaced.

NOTE : Disfavoured solutions because it makes the debug output of daq_anal in case of replaced boards nearly unidentifyable. The address part identifying a given hardware location should never change! (Remark by Jan: It DOES NOT change. Just put the bit mask over the output and you are done.)

Addresses of MDC Optical AddOns

Each AddOn hold three FPGAs and therefore has three different network addresses, all in the 0x1nnn range. The last digit marks the number of the FPGA on the board (1: FOT(*) 17-32, 2: FOT 1-16, 3: small FPGA with 2GBit link). The third digit again marks the sector and the second digit selects between inner (0) and outer (1) MDC. Spare addresses are at offsets 0x0080, 0x0200, 0x0400 to the original address.

Since the temperature sensor id is the same for all FPGAs on one board, the distinction is made based on an identifier set in each VHDL design file ("ENDPOINT_ID").

Network Addresses Table

While mounting the boards, a list like the following must be maintained.

The unique id (i.e. the id of the temperature sensor) should be readout in a test-setup in the lab before mounting the boards to the chamber. A table to store all board information including unique id is already started: ListOfBoards.

MDC OEP

As Burkhard noticed, the numbering of the planes had to be changed - before it was 1 to 4, now it is 0 to 3. -- JanMichel - 06 Jul 2009

Plane Sector MBO TRBnet Address OEP serial # unique ID
0 0 0 0x2000    
0 0 1 0x2001    
0 0 2 0x2002    
0 0 3 0x2003    
0 0 4 0x2004    
0 0 5 0x2005    
0 0 6 0x2006    
0 0 7 0x2007    
0 0 8 0x2008    
0 0 9 0x2009    
0 0 10 0x200a    
0 0 11 0x200b    
0 0 12 0x200c    
0 0 13 0x200d    
0 1 0 0x2010    
0 1 1 0x2011    
0 1 2 0x2012    
0 1 3 0x2013    
0 1 4 0x2014    
0 1 5 0x2015    
0 1 6 0x2016    
0 1 7 0x2017    
0 1 8 0x2018    
0 1 9 0x2019    
0 1 10 0x201a    
0 1 11 0x201b    
0 1 12 0x201c    
0 1 13 0x201d    
0 2 0 0x2020    
0 2 1 0x2021    
0 2 2 0x2022    
0 2 3 0x2023    
0 2 4 0x2024    
0 2 5 0x2025    
0 2 6 0x2026    
0 2 7 0x2027    
0 2 8 0x2028    
0 2 9 0x2029    
0 2 10 0x202a    
0 2 11 0x202b    
0 2 12 0x202c    
0 2 13 0x202d    
0 3 0 0x2030    
0 3 1 0x2031    
0 3 2 0x2032    
0 3 3 0x2033    
0 3 4 0x2034    
0 3 5 0x2035    
0 3 6 0x2036    
0 3 7 0x2037    
0 3 8 0x2038    
0 3 9 0x2039    
0 3 10 0x203a    
0 3 11 0x203b    
0 3 12 0x203c    
0 3 13 0x203d    
0 4 0 0x2040    
0 4 1 0x2041    
0 4 2 0x2042    
0 4 3 0x2043    
0 4 4 0x2044    
0 4 5 0x2045    
0 4 6 0x2046    
0 4 7 0x2047    
0 4 8 0x2048    
0 4 9 0x2049    
0 4 10 0x204a    
0 4 11 0x204b    
0 4 12 0x204c    
0 4 13 0x204d    
0 5 0 0x2050    
0 5 1 0x2051    
0 5 2 0x2052    
0 5 3 0x2053    
0 5 4 0x2054    
0 5 5 0x2055    
0 5 6 0x2056    
0 5 7 0x2057    
0 5 8 0x2058    
0 5 9 0x2059    
0 5 10 0x205a    
0 5 11 0x205b    
0 5 12 0x205c    
0 5 13 0x205d    
1 0 0 0x2100    
1 0 1 0x2101    
1 0 2 0x2102    
1 0 3 0x2103    
1 0 4 0x2104    
1 0 5 0x2105    
1 0 6 0x2106    
1 0 7 0x2107    
1 0 8 0x2108    
1 0 9 0x2109    
1 0 10 0x210a    
1 0 11 0x210b    
1 0 12 0x210c    
1 0 13 0x210d    
1 0 14 0x210e    
1 0 15 0x210f    
1 1 0 0x2110    
1 1 1 0x2111    
1 1 2 0x2112    
1 1 3 0x2113    
1 1 4 0x2114    
1 1 5 0x2115    
1 1 6 0x2116    
1 1 7 0x2117    
1 1 8 0x2118    
1 1 9 0x2119    
1 1 10 0x211a    
1 1 11 0x211b    
1 1 12 0x211c    
1 1 13 0x211d    
1 1 14 0x211e    
1 1 15 0x211f    
1 2 0 0x2120    
1 2 1 0x2121    
1 2 2 0x2122    
1 2 3 0x2123    
1 2 4 0x2124    
1 2 5 0x2125    
1 2 6 0x2126    
1 2 7 0x2127    
1 2 8 0x2128    
1 2 9 0x2129    
1 2 10 0x212a    
1 2 11 0x212b    
1 2 12 0x212c    
1 2 13 0x212d    
1 2 14 0x212e    
1 2 15 0x212f    
1 3 0 0x2130    
1 3 1 0x2131    
1 3 2 0x2132    
1 3 3 0x2133    
1 3 4 0x2134    
1 3 5 0x2135    
1 3 6 0x2136    
1 3 7 0x2137    
1 3 8 0x2138    
1 3 9 0x2139    
1 3 10 0x213a    
1 3 11 0x213b    
1 3 12 0x213c    
1 3 13 0x213d    
1 3 14 0x213e    
1 3 15 0x213f    
1 4 0 0x2140    
1 4 1 0x2141    
1 4 2 0x2142    
1 4 3 0x2143    
1 4 4 0x2144    
1 4 5 0x2145    
1 4 6 0x2146    
1 4 7 0x2147    
1 4 8 0x2148    
1 4 9 0x2149    
1 4 10 0x214a    
1 4 11 0x214b    
1 4 12 0x214c    
1 4 13 0x214d    
1 4 14 0x214e    
1 4 15 0x214f    
1 5 0 0x2150    
1 5 1 0x2151    
1 5 2 0x2152    
1 5 3 0x2153    
1 5 4 0x2154    
1 5 5 0x2155    
1 5 6 0x2156    
1 5 7 0x2157    
1 5 8 0x2158    
1 5 9 0x2159    
1 5 10 0x215a    
1 5 11 0x215b    
1 5 12 0x215c    
1 5 13 0x215d    
1 5 14 0x215e    
1 5 15 0x215f    
2 0 0 0x2200    
2 0 1 0x2201    
2 0 2 0x2202    
2 0 3 0x2203    
2 0 4 0x2204    
2 0 5 0x2205    
2 0 6 0x2206    
2 0 7 0x2207    
2 0 8 0x2208    
2 0 9 0x2209    
2 0 10 0x220a    
2 0 11 0x220b    
2 0 12 0x220c    
2 0 13 0x220d    
2 0 14 0x220e    
2 0 15 0x220f    
2 1 0 0x2210    
2 1 1 0x2211    
2 1 2 0x2212    
2 1 3 0x2213    
2 1 4 0x2214    
2 1 5 0x2215    
2 1 6 0x2216    
2 1 7 0x2217    
2 1 8 0x2218    
2 1 9 0x2219    
2 1 10 0x221a    
2 1 11 0x221b    
2 1 12 0x221c    
2 1 13 0x221d    
2 1 14 0x221e    
2 1 15 0x221f    
2 2 0 0x2220    
2 2 1 0x2221    
2 2 2 0x2222    
2 2 3 0x2223    
2 2 4 0x2224    
2 2 5 0x2225    
2 2 6 0x2226    
2 2 7 0x2227    
2 2 8 0x2228    
2 2 9 0x2229    
2 2 10 0x222a    
2 2 11 0x222b    
2 2 12 0x222c    
2 2 13 0x222d    
2 2 14 0x222e    
2 2 15 0x222f    
2 3 0 0x2230 021  
2 3 1 0x2231 089  
2 3 2 0x2232 096  
2 3 3 0x2233 068  
2 3 4 0x2234 022  
2 3 5 0x2235 125 (previously 014)  
2 3 6 0x2236 039 (previously 017)  
2 3 7 0x2237 053 (previously 018)  
2 3 8 0x2238 026 (previously 019)  
2 3 9 0x2239 027 (previously 013)  
2 3 10 0x223a 041 (previously 012)  
2 3 11 0x223b 032 (previously 009)  
2 3 12 0x223c 029 (previously 015)  
2 3 13 0x223d 030 (previously 021)  
2 3 14 0x223e 033 (previously 005)  
2 3 15 0x223f 037 (previously 007)  
2 4 0 0x2240 023  
2 4 1 0x2241 025  
2 4 2 0x2242 028  
2 4 3 0x2243 031  
2 4 4 0x2244 034  
2 4 5 0x2245 036  
2 4 6 0x2246    
2 4 7 0x2247    
2 4 8 0x2248    
2 4 9 0x2249    
2 4 10 0x224a    
2 4 11 0x224b    
2 4 12 0x224c    
2 4 13 0x224d    
2 4 14 0x224e    
2 4 15 0x224f    
2 5 0 0x2250 117  
2 5 1 0x2251 119  
2 5 2 0x2252 120  
2 5 3 0x2253 121  
2 5 4 0x2254 122  
2 5 5 0x2255 123  
2 5 6 0x2256 141  
2 5 7 0x2257 118  
2 5 8 0x2258 110  
2 5 9 0x2259 133  
2 5 10 0x225a 092  
2 5 11 0x225b 131  
2 5 12 0x225c 070  
2 5 13 0x225d 079  
2 5 14 0x225e 074  
2 5 15 0x225f 072  
3 0 0 0x2300    
3 0 1 0x2301    
3 0 2 0x2302    
3 0 3 0x2303    
3 0 4 0x2304    
3 0 5 0x2305    
3 0 6 0x2306    
3 0 7 0x2307    
3 0 8 0x2308    
3 0 9 0x2309    
3 0 10 0x230a    
3 0 11 0x230b    
3 0 12 0x230c    
3 0 13 0x230d    
3 0 14 0x230e    
3 0 15 0x230f    
3 1 0 0x2310    
3 1 1 0x2311    
3 1 2 0x2312    
3 1 3 0x2313    
3 1 4 0x2314    
3 1 5 0x2315    
3 1 6 0x2316    
3 1 7 0x2317    
3 1 8 0x2318    
3 1 9 0x2319    
3 1 10 0x231a    
3 1 11 0x231b    
3 1 12 0x231c    
3 1 13 0x231d    
3 1 14 0x231e    
3 1 15 0x231f    
3 2 0 0x2320    
3 2 1 0x2321    
3 2 2 0x2322    
3 2 3 0x2323    
3 2 4 0x2324    
3 2 5 0x2325    
3 2 6 0x2326 059  
3 2 7 0x2327 060  
3 2 8 0x2328 062  
3 2 9 0x2329 064  
3 2 10 0x232a 107  
3 2 11 0x232b 116  
3 2 12 0x232c    
3 2 13 0x232d    
3 2 14 0x232e    
3 2 15 0x232f    
3 3 0 0x2330 071  
3 3 1 0x2331 104  
3 3 2 0x2332 101  
3 3 3 0x2333 067  
3 3 4 0x2334 075  
3 3 5 0x2335 109  
3 3 6 0x2336 052  
3 3 7 0x2337 043  
3 3 8 0x2338 044  
3 3 9 0x2339 045  
3 3 10 0x233a 046  
3 3 11 0x233b 047  
3 3 12 0x233c 080  
3 3 13 0x233d 076  
3 3 14 0x233e 081  
3 3 15 0x233f 065  
3 4 0 0x2340 040  
3 4 1 0x2341 042  
3 4 2 0x2342 050  
3 4 3 0x2343 055  
3 4 4 0x2344 056  
3 4 5 0x2345 058  
3 4 6 0x2346    
3 4 7 0x2347    
3 4 8 0x2348    
3 4 9 0x2349    
3 4 10 0x234a    
3 4 11 0x234b    
3 4 12 0x234c    
3 4 13 0x234d    
3 4 14 0x234e    
3 4 15 0x234f    
3 5 0 0x2350 143  
3 5 1 0x2351 091  
3 5 2 0x2352 144  
3 5 3 0x2353 146  
3 5 4 0x2354 142  
3 5 5 0x2355 150  
3 5 6 0x2356 100  
3 5 7 0x2357 129  
3 5 8 0x2358 112  
3 5 9 0x2359 083  
3 5 10 0x235a 066  
3 5 11 0x235b 082  
3 5 12 0x235c 086  
3 5 13 0x235d 099  
3 5 14 0x235e 130  
3 5 15 0x235f 149  

MDC Optical AddOn

Plane Sector FPGASorted ascending Network Address
1 & 2 0 1 0x1001
1 & 2 1 1 0x1011
1 & 2 2 1 0x1021
1 & 2 3 1 0x1031
1 & 2 4 1 0x1041
1 & 2 5 1 0x1051
3 & 4 0 1 0x1101
3 & 4 1 1 0x1111
3 & 4 2 1 0x1121
3 & 4 3 1 0x1131
3 & 4 4 1 0x1141
3 & 4 5 1 0x1151
1 & 2 0 2 0x1002
1 & 2 1 2 0x1012
1 & 2 2 2 0x1022
1 & 2 3 2 0x1032
1 & 2 4 2 0x1042
1 & 2 5 2 0x1052
3 & 4 0 2 0x1102
3 & 4 1 2 0x1112
3 & 4 2 2 0x1122
3 & 4 3 2 0x1132
3 & 4 4 2 0x1142
3 & 4 5 2 0x1152
1 & 2 0 3 0x1003
1 & 2 1 3 0x1013
1 & 2 2 3 0x1023
1 & 2 3 3 0x1033
1 & 2 4 3 0x1043
1 & 2 5 3 0x1053
3 & 4 0 3 0x1103
3 & 4 1 3 0x1113
3 & 4 2 3 0x1123
3 & 4 3 3 0x1133
3 & 4 4 3 0x1143
3 & 4 5 3 0x1153

*) FOT = Fiber Optical Transciever

-- JoernWuestenfeld - 03 Jul 2009
Topic revision: r11 - 2009-10-28, KathrinGoebel
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki Send feedback | Imprint | Privacy Policy (in German)