90 likes | 118 Views
This software review covers the FED Crate's control and monitoring systems, error handling, data transmission, and hardware self-monitoring capabilities. It provides insights on programming, communication protocols, and software-hardware interactions. The conclusion highlights operational status and future tasks.
E N D
FED Library S. Durkin The Ohio State University CSC Online Software Review, March 16 ,2005
TMB-RAT MPC DCC DDU CCB DMB C C B D M B T M B D M B T M B D M B T M B D M B T M B D M B T M B M P C T M B D M B T M B D M B T M B D M B T M B D M B V M E C O N T R O L L E R DCS Readout Data Track Finder Crate TTC Crate 1 of 5 1 of 5 CFEB CFEB CFEB CFEB CFEB CFEB 1 of 2 1 of 24 ALCT ALCT LVDB LVDB AFEB CSC Emu Electronic System in USC55 Peripheral Crates (on iron disks) FED Crates (in USC55)
D D U D D U D D U D D U D C C D D U D D U D D U D D U D D U D C C C R A T E C O N T R O L L E R 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 optional DDUs DDUs DCC DDUs DDUs DCC FED Crate Hardware Optional Baseline DDU There will be 4 CSC FED crates in USC55 36 DDU’s, 8 DCC’s in total Receive data from DMB’c Format and send data to DCC Send Data to Local Farm Detect and report errors DCC Receive data from DDU’s Merge and send data to FRL via SLink Custom J3 Backplane High speed data transmission from DDU to DCC
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 • Kill Fiber • Use Fiber • Scaling Local Farm • FMM Error Register • 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 HyperDAQ 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 HyperDAQ 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)