110 likes | 126 Views
SCT Upgrade DAQ SCTDAQ/HSIO Status. Bruce Gallop, Ashley Greenall, Bart Hommels, Peter Phillips, Matt Warren ATLAS Upgrade Week, DESY, April 2010. Test System Setup (as at UCL). DAQ PC: SLC5 Intel PRO/1000 Fibre and Copper NICs. Fibre Network Interface (to DAQ PC). Serial Powering.
E N D
SCT Upgrade DAQSCTDAQ/HSIO Status Bruce Gallop, Ashley Greenall, Bart Hommels, Peter Phillips, Matt Warren ATLAS Upgrade Week, DESY, April 2010
Test System Setup (as at UCL) DAQ PC: SLC5 Intel PRO/1000 Fibre and Copper NICs Fibre Network Interface (to DAQ PC) Serial Powering Interface Board 2 Hybrid (on panel) LVDS Interface (to Hybrid) HSIO Patch Board USB and Copper Network Interface (to DAQ PC) SCT DAQ - HSIO Firmware Update
Firmware Structure • DAQ connection abstracted via common interface • Each data-stream has dedicated deserialiser/FIFO logic block • 1 per column of ABCNs • Organised in pairs to facilitate BCC/MCC multiplexed streams • 16 streams muxed onto a single DAQ stream • Uses plenty of flow control • COM streams are formed in software and serialised • No stream decoding on HSIO (yet) DAQ Interface Block Register Block reg_enables ABCN/ Hybrid/ Module Interface reg_mode Common Packet Decoder Fiber Serialiser ABCx_COM x8 LVDS TX Data Stream Pair Copper Data Stream Pair Deserialser/Header-Trailer Detect/FIFO Data Stream Pair Common Packet Formatter MUX/ Arbiter LVDS RX x16 USB Deserialser/Header-Trailer Detect/FIFO Interface_select CLK_readout SCT DAQ - HSIO Firmware Update
Firmware Update Development is active, many improvements • Coupled closely to software development • Multi-stream readout • Handles 16 streams of ABCN data (i.e. 8x BCC) • Proper flow control • Scalable • DAQ Connectivity • Fibre Ethernet • Copper Ethernet (up to 100Mb, likely 1Gb with new HSIO) • USB soon • DAQ control • Writable registers – controls modes/readout clocks etc. SCT DAQ - HSIO Firmware Update
In progress • USB Firmware is written, but untested on HSIO • Full blown histogrammer system • LBNL Module has been integrated, but untested • Works on HSIO for ABCD, but not with SCTDAQ firmware • Improved packet handling • Simulate more realistic “asynchronous” conditions • Add multiple packets for long events capability • I2C Monitoring • Started at LNBL • Needs dedicated data-streams on HSIO and control logic • User selectable header/trailer, raw stream capture • For BCC ID/register readback - has no header • Jumper selectable DAQ interface – Fibre/Copper/USB SCT DAQ - HSIO Firmware Update
Next steps • Individual delays on all input streams • Register readback • Currently we can only look at the display! • Add more status registers • Trigger/header counters • Implement other types of control and readback • Blocks • FIFOs • Autonomous status reports • Full Histogrammer sub-system • Assess best structure – 1 per channel or shared? • Scale to 48 channels • May need effort on logic reduction to fit FPGA • Coupled to histogrammer config SCT DAQ - HSIO Firmware Update
SCT Upgrade DAQHSIO Software Status SCT DAQ - HSIO Firmware Update
Evolution, not Revolution! • Modify SCTDAQ to readout ABCN-25 and BCC • using MuSTARD/SLOG VME modules • Modify SCTDAQ to support other hardware • principle demonstrated with NI-6562 card used for wafer screening • Modify SCTDAQ for basic HSIO support • send Ethernet packets to HSIO • configuration registers • prepared command streams for ABCN-25 hybrids • receive Ethernet packets from HSIO • decode and histogram ABCN-25 events • Support additional firmware features as they become available • USB • histogramming and scan control • register readback • end of stave DCS (temperature readout and 1-wire control) Present Future SCT DAQ - HSIO Firmware Update
SLC5 Custom driver for raw ethernet packets Bruce Copper at 10 Mbps Copper at 100 Mbps Fibre at 1Gbps Windows XP or 7 Interface to WinPCAP raw packet driver Peter Copper at 10Mbps Copper at 100Mbps Fibre untested no fibre NIC in my laptop! Platforms and Interfaces SCT DAQ - HSIO Firmware Update
SCTDAQ Stavelet GUI • Features: • Menu bar • Dialog boxes to set parameters • Tabbed display shows data for 4 modules SCT DAQ - HSIO Firmware Update
But does it work? This preliminary plot shows a raw data burst for one ABCN-25/BCC module. We have recorded analogue test data from a single hybrid, but not yet from a module. To be continued… SCT DAQ - HSIO Firmware Update