FED Library S Durkin The Ohio State University
FED Library S. Durkin The Ohio State University CSC Online Software Review, March 16 , 2005
Emu Electronic System TMB-RAT MPC CCB Track Finder Crate TTC Crate in USC 55 s 1 of 5 CFEB 1 of 2 US s ate Cr. C 55) (in D FE CFEB CFEB phn iron i r Pe (o Readout Data 1 of 5 e rat l Cks) a r e dis DCC DMB V MD T D T D T CMT DT D T D E M MM M M C P M MM M BB B CB BB B C O N T R O L L E R DCS DDU 1 of 24 LVDB ALCT CSC ALCT AFEB
FED Crate Hardware Baseline DDU Optional C R A T E Receive data from DMB’c Format and send data to DCC Send Data to Local Farm Detect and report errors C O N T R O L L E R DDD DDC DD DD UUU UUC UU UU 1 2 3 There will be 4 CSC FED crates in USC 55 D C C 36 DDU’s, 8 DCC’s in total 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 optional DCC Receive data from DDU’s Merge and send data to FRL via SLink DDUs DCC DDUs Custom J 3 Backplane High speed data transmission from DDU to DCC
DDU Error Checking
FED Library (C++) Controls/Monitors/Updates DDU/DCC Electronic Boards • CAEN VME Crate Controller • JTAG PROM/FPGA programming • Read DDU/DCC Registers for Debugging • Monitor Voltages/Temperatures • Very Few Write Registers VME Write Registers 1. Kill Fiber 2. Use Fiber 3. Scaling Local Farm 4. FMM Error Register 5. Test Registers
FED Library (C++) Modeled directly on Peripheral Crate Library (see M. Von der Mey previous talk) • Similar structure reduces programming work • XDAQ communications/messaging identical • JTAG Firmware (*. svf) Programming Routines Identical • Voltage/Thermometer and Register Readout Identica • Problems found in Peripheral Crate Software can be fixed in FED Crate -Software and visa versa FED Crate – Run Initialization • No special initialization necessary. TTC signals only.
FED Library (C++) FED Crate Hardware is Self Monitoring • Hardware sends VME IRQ interrupt on Error Detection • 4 threaded processes (one for each crate) capture/service VME interrupts • use CAENVME_IRQWait(); CAENVME_IACKCycle(); • Threaded processes can request Global Reset from FMM • FMM is signaled via VME write to a DDU register • Hardware can also request Global Reset independently DCS (see V. Sytnik’s Talk) • Board Temperature/Voltage will be accessed periodically through Slow Control
Another Hyper. DAQ GUI. There are 10 more Unique pages I won’t show.
FED Library (C++) Conclusions FED Library Status • Software fully operational • XDAQ Soap messaging for Run Control working • XDAQ Hyper. DAQ GUI for local monitoring fully working • VME Interrupt and FMM signaling threads fully working To do: • xml initialization file Oracle data base • Firmware not presently archivaled, will do soon • Library not tested for multi-crates (will work)
- Slides: 9