The DFE Ware Gui : Yurii Maravin


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

The DFE Ware Gui : Yurii Maravin

  1. 1. Introduction to DFEWare Yurii Maravin, FNAL 11/13/02 Digital Front End Board MIL-STD-1553 Interface for SciFi detector electronics : Python package provides a GUI interface to the DFE Controller boards using EPICS and the VxWorks Online Control Processors. To start : on d0ol43 execute from d0cft home area: setup d0online setup dfe_ware dfe_ware &
  2. 2. CTT Organization <ul><li>> 100 DFE boards </li></ul><ul><li>> 102 DFE Firmware files </li></ul>What we want is a remote, fast and reliable access to DFE boards <ul><ul><li>Initialization of DFE boards with a proper firmware. </li></ul></ul><ul><ul><li>Monitoring DFE boards. </li></ul></ul><ul><ul><li>Diagnosing and resolving problems. </li></ul></ul>
  3. 3. Control of DFE boards Compact Flash Card DFE Controller DFEC DFE Board Data Data DFE subrack <ul><li>DFEC: download configuration files to the DFE devices </li></ul><ul><ul><ul><li>control up to 20 boards, up to 16 devices each </li></ul></ul></ul><ul><li>Compact Flash Card: very robust memory device to store configuration files </li></ul><ul><li>Communication to DFEC is done by MIL-STD-1553 </li></ul>
  4. 4. MIL-STD-1553 <ul><li>MIL-STD-1553, or usually just 1553, is the protocol DØ uses to communicate with DFE controllers </li></ul><ul><li>(as well as communications with sequencer controllers, VRBCs, Vicors [power supplies], and AFE crates). </li></ul>
  5. 5. DFEWare – GUI Interface to DFECs <ul><li>Downloads of Firmware files to the DFEC Compact Flash Memory via 1553 </li></ul><ul><ul><ul><li>Online database of firmware files (2.3 Gb) </li></ul></ul></ul><ul><ul><ul><li>DFE configuration files </li></ul></ul></ul><ul><li>Initialization of Firmware in the FPGA Devices of the DFE Boards </li></ul><ul><li>Monitoring of all DFE Devices </li></ul><ul><li>Diagnostics and checks of DFE components. </li></ul>
  6. 6. GUI Interface DFEC Panels LVDS Control, Monitoring and Diagnostic tools
  7. 7. DFEC Panels <ul><li>DFEC_XXXX_X_1 naming: </li></ul><ul><ul><li>PC03: DFEA </li></ul></ul><ul><ul><li>PC19: DFES/DFEF </li></ul></ul><ul><ul><li>PC20: FPTT/FPSS </li></ul></ul><ul><ul><li>PC04: MIXR </li></ul></ul><ul><ul><li>PW03_1: STOV/STSX </li></ul></ul><ul><ul><li>PW03_2: CTOC/CTQD/CTTT </li></ul></ul><ul><ul><li>PT: Combined test stand </li></ul></ul>Next slide!
  8. 8. DFEC Status <ul><li>Busy </li></ul><ul><li>Idle </li></ul><ul><li>Halted </li></ul>Controller can be found only in three states:
  9. 9. DFEC Status <ul><li>DFEC Status : </li></ul><ul><li>should be mostly Idle ( Busy ) </li></ul><ul><li>if Halt then DFEC is in error state. Specific error will be given here: </li></ul><ul><li>CMR: command error </li></ul><ul><li>DTE: DFEC-DFE communication error </li></ul><ul><li>CFR: Compact Flash Card (CFC) error </li></ul><ul><li>FNF: File not found in the CFC </li></ul><ul><li>FUL: No left space in the CFC </li></ul>
  10. 10. DFEC Controls Right click to access DFEC commands: <ul><li>U pdate status – updates DFEC status </li></ul><ul><li>D ownload – downloads firmware to the DFEC CFC </li></ul><ul><ul><li>do not use unless you are an expert! </li></ul></ul><ul><li>C lear DFEC Error – recovers DFEC from error status </li></ul>
  11. 11. DFEC Controls (cont.) V iew boards: permits to get standard status information of all DFE boards attached to the DFE Controller “ A t A Glance ” will display initialization status of DFE boards “ I n Detail ” will display more detailed information.
  12. 12. DFEC Controls (cont.) “ A t A Glance ” view: DFE status Color code: <ul><li>Initialized </li></ul><ul><li>Not initialized </li></ul><ul><li>Cannot access </li></ul>DFE boards
  13. 13. DFEC Controls (cont.) Right click on the panel will let you execute more advanced DFEC commands ( Please do not do that unless you are an expert! ): You can click on each DFE panel to get DFE detailed view: Slow monitor userbits information: important byte for DFE diagnostics
  14. 14. DFEC Controls (cont.) You can get DFE detailed status info for every DFE boards by selecting “ I n Detail ” view:
  15. 15. DFE Initialization status Click here: DFE status Color code: <ul><li>Initialized </li></ul><ul><li>Not initialized </li></ul><ul><li>Cannot access </li></ul>
  16. 16. To initialize all DFE boards on a crate: <ul><li>Select “ I nitialize all boards” from the menu </li></ul><ul><ul><li>do not use unless you are an expert! </li></ul></ul>
  17. 17. 1553 Downloads If firmware is being downloaded to the DFEC CFC via 1553, this LED will blink! In the past, DFE firmware downloads (or any heavy DFEWare 1553 traffic) resulted in unsuccessful downloads of AFE crates x50-x53! Thus: experts who decide to download firmware via 1553 must coordinate their efforts with CFT shifters!
  18. 18. DFEC Controls Summary: <ul><li>DFEC Status </li></ul><ul><ul><li>Recover from DFEC from “Halted” status </li></ul></ul><ul><li>Access DFE initialization status: </li></ul><ul><ul><li>Via “DFE Status” tab </li></ul></ul><ul><ul><li>Via “View boards/At a Glance” </li></ul></ul><ul><li>Initialize all DFE boards if DFE crate lost power </li></ul><ul><ul><li>Via “Advanced/Initialize all boards” </li></ul></ul><ul><li>Access DFE slow monitor userbits information </li></ul>
  19. 19. DFE Monitoring tools: DFEAMonitor Select from menu Monitoring, then DFEA Status Info: <ul><li>Extensive DFEA information for each of 80 sectors: </li></ul><ul><li>Track found information </li></ul><ul><li>Control bits information: </li></ul><ul><ul><li>L1Accept </li></ul></ul><ul><ul><li>Sync gap checks </li></ul></ul>By clicking on each particular trigger sector, one can access more detailed info here:
  20. 20. DFE Monitoring tools: DFEAMonitor Yellow color corresponds to changes in running conditions. For example: DFEAMonitor when run is paused (L1Accept is off): Press “Reset DFEA Monitor” to clear the display.
  21. 21. DFE Monitoring tools: CTOCMonitor CTOC Monitor is done similar to DFEAMonitor:
  22. 22. DFE Diagnostic tools DFEWare has a number of different diagnostic tools. Here is described a tool to check the status control bits that are transmitted from AFE boards to MIXR boards: Select “ D iagnostics” from menu Select AFE->MIXR tests Select “Display AFE-Mixer Link/SYNC bits” Please do not run any other diagnostic tools unless you are an expert!
  23. 23. Summary DFEWare is a robust tool to configure, monitor and control SciFi DFE boards. Full, detailed information on DFEWare and firmware database is coming…