Embedded PCs for electronics-control in LHCb Flavio Fontanelli, Giuseppe Mini, Mario Sannino, INFN Genoa Beat Jost, Niko Neufeld CERN, PH.

Slides:



Advertisements
Similar presentations
System on Chip Configuring FPGAs. Firmware and the boot process Booting is a complex process for any system It requires some form of firmware to be available.
Advertisements

Linux on commodity network H/W Josh Parsons LUGOD talk August 15 th 2005.
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
PC104 with embedded Linux Trips and Ticks S. Herb, MSC, Desy Tine Workshop, Sept 2007.
Selection Board PRR G. Avoni, I. Lax, U. Marconi INFN Bologna PRR, 13/6/06.
Introduction Characteristics of USB System Model What needs to be done Platform Issues Conceptual Issues Timeline USB Monitoring Final Presentation 10.
Introduction Special-purpose processors. Embedded systems. FPGAs.
Embedded Systems: Introduction. Course overview: Syllabus: text, references, grading, etc. Schedule: will be updated regularly; lectures, assignments.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
LHCb readout infrastructure NA62 TDAQ WG Meeting April 1 st, 2009 Niko Neufeld, PH/LBC.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
Chapter 2 INSTALLTION OF LINUX DISTRIBUTION. Minimum hardware requirement 1) DVD drive: You must have a DVD drive (either DVD-ROM or DVD burner), and.
Embedded Systems Programming Introduction to the course.
Embedded Linux Sandeep Sirpatil Graduate Student University of North Carolina Charlotte Feb 7, 2005.
Vincenzo Vagnoni LHCb Real Time Trigger Challenge Meeting CERN, 24 th February 2005.
5 Feb 2002Alternative Ideas for the CALICE Backend System 1 Alternative Ideas for the CALICE Back-End System Matthew Warren and Gordon Crone University.
Configuration of Linux Terminal Server Group: LNS10A6 Thebe Laxmi, Sharma Prabhakar, Patrick Appiah.
Using PVSS for the control of the LHCb TELL1 detector emulator (OPG) P. Petrova, M. Laverne, M. Muecke, G. Haefeli, J. Christiansen CERN European Organization.
5 March DCS Final Design Review: RPC detector The DCS system of the Atlas RPC detector V.Bocci, G.Chiodi, E. Petrolo, R.Vari, S.Veneziano INFN Roma.
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
(Preliminary) Results of Evaluation of the CCT SB110 Peter Chochula and Svetozár Kapusta 1 1 Comenius University, Bratislava.
TRIGGER-LESS AND RECONFIGURABLE DATA ACQUISITION SYSTEM FOR POSITRON EMISSION TOMOGRAPHY Grzegorz Korcyl 2013.
PCIe Mezzanine Carrier Pablo Alvarez BE/CO. Functional Specifications External Interfaces User (application) FPGA System FPGA Memory blocks Mezzanine.
A Blueprint for a Manageable and Affordable Wireless Testbed: Design, Pitfalls and Lessons Learned Ioannis Broustis, Jakob Eriksson, Srikanth V. Krishnamurthy,
GBT Interface Card for a Linux Computer Carson Teale 1.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Markus Joos, EP-ESS 1 “DAQ” at the El. Pool Aim and preconditions Hardware Operating system support Low level software Middle level software High level.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Linux development on embedded PowerPC 405 Jarosław Szewiński.
Group Electronique Csnsm AGATA SLOW CONTROL MEETING 19th fev AGATA PROJECT PREPROCESSING MEZZANINE SLOW CONTROL GUI FOR THE SEGMENT AND THE CORE.
LNL 1 SLOW CONTROLS FOR CMS DRIFT TUBE CHAMBERS M. Bellato, L. Castellani INFN Sezione di Padova.
MAP Project T. Bowcock, A. Kinvig, I. Last M. McCubbin, A. Moreton C. Parkes, G. Patel University of Liverpool.
David Abbott - JLAB DAQ group Embedded-Linux Readout Controllers (Hardware Evaluation)
Glue Card Test Procedures Flavio Fontanelli, Pino Mini`, Mario Sannino.
Large Scale Parallel File System and Cluster Management ICT, CAS.
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
Porting Linux Linux onto the Puppeteer SA1110. The Puppeteer board –SA1110 CPU –SMSC LAN91C96I ethernet –8 Mb Flash Intel 28F320C3 Boot block flash –32.
Latest ideas in DAQ development for LHC B. Gorini - CERN 1.
CERN Control Standards Front-End Computer Layer Stéphane Deghaye BE/CO/FE
LCG LCG-1 Deployment and usage experience Lev Shamardin SINP MSU, Moscow
Objectives After completing this chapter you will be able to: Describe the different types of bridging: Transparent, Source Route and Translate Describe.
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Computer and Network Infrastructure for the LHCb RTTC Artur Barczyk CERN/PH-LBC RTTC meeting,
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
COMPASS Computerized Analysis and Storage Server Iain Last.
March 7th 2005 Stefan Koestner LHCb week ECS-tools for the CCPC/Tell1 (a tutorial in 3 acts): (1) CCPC/PVSS Interface: - few comments on the server - quick.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
IPbus A method to communicate with cards over Ethernet 1.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN) on behalf of the.
DAQ & ConfDB Configuration DB workshop CERN September 21 st, 2005 Artur Barczyk & Niko Neufeld.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
KM3NeT Offshore Readout System On Chip A highly integrated system using FPGA COTS S. Anvar, H. Le Provost, F. Louis, B.Vallage – CEA Saclay IRFU – Amsterdam/NIKHEF,
SMOOTHWALL FIREWALL By Nitheish Kumarr. INTRODUCTION  Smooth wall Express is a Linux based firewall produced by the Smooth wall Open Source Project Team.
Real-time control using embedded micro-controllers Flavio Fontanelli, Giuseppe Mini, Mario Sannino, INFN Genoa Zbigniew Guzik, Institute for Nuclear Research.
October 12th 2005 ICALEPCS 2005D.Charlet The SPECS field bus  Global description  Module description Master Slave Mezzanine  Implementation  Link development.
Stefan Koestner IEEE NSS – San Diego 2006 IEEE - Nuclear Science Symposium San Diego, Oct. 31 st 2006 Stefan Koestner on behalf of the LHCb Online Group.
The ALICE Data-Acquisition Read-out Receiver Card C. Soós et al. (for the ALICE collaboration) LECC September 2004, Boston.
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN)
Online Control Program: a summary of recent discussions
Enrico Bonaccorsi, (CERN) Loic Brarda, (CERN) Gary Moine, (CERN)
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN)
Booting Up 15-Nov-18 boot.ppt.
Event Building With Smart NICs
IEEE - Nuclear Science Symposium San Diego, Oct. 31st 2006
Presentation transcript:

Embedded PCs for electronics-control in LHCb Flavio Fontanelli, Giuseppe Mini, Mario Sannino, INFN Genoa Beat Jost, Niko Neufeld CERN, PH

Niko Neufeld CERN, PH 2 Traditional board-control Board Crate Controller 3, 6 or 9U crate with backplane bus (VME, CompactPCI) and Crate Controller VME Extender e.g. USB VME library Ethernet LAN (NFS) Server

Niko Neufeld CERN, PH 3 Problems with Crate-based Board Control Scalability / ThroughputRobustness Board Crate Controller Access to all boards blocked!  Each board shares the bus (bandwidth) and resources in Controller  Need crate-controller + crate for a single board

Niko Neufeld CERN, PH 4 Microcontroller for Board-control Accessed via cheap ubiquitous LAN infrastructure (Ethernet) Scales well (you pay what you need) Nice for table setups (Debugging!) (photo: LHCb Optical Pattern Generator card by M. Mücke)

Niko Neufeld CERN, PH 5 An example: the AMD ELAN bit, 133 MHz, i486 based / 33 MHz PCI, Lots of useful features: hardware watch-dog, high-resolution timers, GPIOs Low-power (1.4 W typical, 2 W max), no active cooling necessary Enormous software base of i386 (GNU/Linux, MS-Windows)

Niko Neufeld CERN, PH 6 A Microcontroller is not (yet) a board-controller Add a “few” things (Ethernet, USB, Flash ) to make an Embedded PC from a Microcontroller Use a commercially available device SM520PC from Digital Logic AG Switzerland, Designed around standardized SM480 bus (whole family up to PIII available)

Niko Neufeld CERN, PH 7 An embedded PC is still not a board-controller Traditional PC interfaces: PCI, ISA, parallel port, USB  not very suitable for chip-control For controlling, configuring and monitoring FPGAs and ASICS need rather I 2 C, JTAG and a high-speed, “simple”, long distance parallel bus Need some small adapter or “glue-”logic The LHCb glue-card has an I2C / FPGA controller + a fast local bus generated from a PLX 9030 all controlled by an FPGA. (For details see: F. Fontanelli et al. PO2.062)

Niko Neufeld CERN, PH 8 Example: the LHCb Common Readout Board TELL1 Ethernet to CCPC SM520PC a.k.a. “Creditcard PC” / CCPC) Glue-Card Power In the final LHCb experiment ~ 400 boards of ~ 15 types In the current phase, ~ 10 setups in labs all over Europe, all using centrally maintained software base at CERN

Niko Neufeld CERN, PH 9 Capabilities and Performances 64 MB Ram, 2 MB Flash, 133 MHz CPU 4 x I 2 C, 3 x JTAG, PLX 9030 bus, 8 GPIOs, busswitch to isolate all signal lines of the SM520PC/Gluecard (manually or automatically when reset-line of SM520PC is pulled low), attached via 100 MBit Ethernet Running Linux and standard software we achieve: > 20 MB/s throughput on 9030 bus (32-bit read) from memory and FPGA registers, > 1.5 MBit/s on JTAG Program configuration devices and FPGAs via JTAG: ~ 4 min for an Altera EPC16 (16 Mbit, including erase and verify)

Niko Neufeld CERN, PH 10 Software Based on Scientific Linux, a freely available Linux distribution made by Fermilab and CERN, fully compatible with Redhat Enterprise Linux ( Scientific Linux 4.0 Custom device drivers User Code Carrier board adapter library FPGA ProgJTAGI2CGluecardPLX localbus Usercode in C, C++, Java… Hardware access libraries in C Carrierboard adapter transparently handles carrier- board differences Low level C libraries for generic resources (GPIOs, busswitch) Device-driver with direct memory mapping for fast access Special small footprint kernel diskless boot

Niko Neufeld CERN, PH 11 Software (Boot) After a power-cycle or a reset the busswitch is open and the CCPC disconnected from the carrier-board Diskless CCPCs boot using Etherboot via BOOTP and TFTP Kernel configures networking via DHCP Kernel mounts the shared root-filesystem read-only and a small number of files read-write using a modified version of RedHat’s diskless package The glue-card FPGA is boot-strapped via the PC parallel port  access to the carrier-board is now possible The carrier-board access is initialized and the busswitch is opened User applications can use the board! (e. g. a DIM-server as described in: R. Jacobsson PO )

Niko Neufeld CERN, PH 12 Software (Server) NFS Server can be (practically) any Linux/Unix box  base distribution via tar-ball or rpm Need in addition tftp and dhcp server CCPC users are created on server with a home directory shared with the CCPCs Customised Makefiles allow building software for CCPCs on the server, using the compiler-chain and header-files of the CCPC distribution CCPC NFS filesystem tree is automatically updated from central CERN repository (using yum)

Niko Neufeld CERN, PH 13 Deployment in LHCb One server PC (“Control- PC”) per ~ 20 CCPCs Sub-detectors do not share Control-PCs (“partitioning” in the wider sense) CCPCs are on a private LAN, only connected to the Control-PC (security, robustness, broadcast domain) Global integration via the ECS: PVSS is running o the Control-PCs CCPC ECS Control PC PVSS Private LAN

Niko Neufeld CERN, PH 14 Conclusions PCs and Linux demonstrated to be a very good choice: moderate porting effort, re-use most of standard HEP Linux base Central software repository and automated distribution of packages allows keeping disconnected sites up-to-date Deployment on strictly private LANs for greater security and robustness

Backups

Niko Neufeld CERN, PH 16 A word about “Real-time” Do you need it for board-control? Really? Standard Linux has no hard real-time support (i.e. guaranteed maximum time to handle an interrupt/syscall). It has however support for soft or maybe better quasi real-time (i.e. processes can be strictly prioritised) In LHCb we have not (yet) found an application for even soft real-time. Polling critical registers if necessary gives a very good response time. There exist of course a host of true real-time OS or Linux variants (RTLinux), which would run fine on the Elan520