The DFE Ware Gui : Yurii MaravinPresentation Transcript
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 &
> 100 DFE boards
> 102 DFE Firmware files
What we want is a remote, fast and reliable access to DFE boards
Initialization of DFE boards with a proper firmware.
Monitoring DFE boards.
Diagnosing and resolving problems.
Control of DFE boards Compact Flash Card DFE Controller DFEC DFE Board Data Data DFE subrack
DFEC: download configuration files to the DFE devices
control up to 20 boards, up to 16 devices each
Compact Flash Card: very robust memory device to store configuration files
Communication to DFEC is done by MIL-STD-1553
MIL-STD-1553, or usually just 1553, is the protocol DØ uses to communicate with DFE controllers
(as well as communications with sequencer controllers, VRBCs, Vicors [power supplies], and AFE crates).
DFEWare – GUI Interface to DFECs
Downloads of Firmware files to the DFEC Compact Flash Memory via 1553
Online database of firmware files (2.3 Gb)
DFE configuration files
Initialization of Firmware in the FPGA Devices of the DFE Boards
Monitoring of all DFE Devices
Diagnostics and checks of DFE components.
GUI Interface DFEC Panels LVDS Control, Monitoring and Diagnostic tools
PT: Combined test stand
Controller can be found only in three states:
DFEC Status :
should be mostly Idle ( Busy )
if Halt then DFEC is in error state. Specific error will be given here:
CMR: command error
DTE: DFEC-DFE communication error
CFR: Compact Flash Card (CFC) error
FNF: File not found in the CFC
FUL: No left space in the CFC
DFEC Controls Right click to access DFEC commands:
U pdate status – updates DFEC status
D ownload – downloads firmware to the DFEC CFC
do not use unless you are an expert!
C lear DFEC Error – recovers DFEC from error status
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.
DFEC Controls (cont.) “ A t A Glance ” view: DFE status Color code:
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
DFEC Controls (cont.) You can get DFE detailed status info for every DFE boards by selecting “ I n Detail ” view:
DFE Initialization status Click here: DFE status Color code:
To initialize all DFE boards on a crate:
Select “ I nitialize all boards” from the menu
do not use unless you are an expert!
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!
DFEC Controls Summary:
Recover from DFEC from “Halted” status
Access DFE initialization status:
Via “DFE Status” tab
Via “View boards/At a Glance”
Initialize all DFE boards if DFE crate lost power
Via “Advanced/Initialize all boards”
Access DFE slow monitor userbits information
DFE Monitoring tools: DFEAMonitor Select from menu Monitoring, then DFEA Status Info:
Extensive DFEA information for each of 80 sectors:
Track found information
Control bits information:
Sync gap checks
By clicking on each particular trigger sector, one can access more detailed info here:
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.
DFE Monitoring tools: CTOCMonitor CTOC Monitor is done similar to DFEAMonitor:
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!
Summary DFEWare is a robust tool to configure, monitor and control SciFi DFE boards. Full, detailed information on DFEWare and firmware database is coming…