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.

Slides:



Advertisements
Similar presentations
These slides will show an example of connecting the UI5480SE-M-GL camera to a network using an Intel NIC card in a laptop computer. The UI5480SE-M-GL achieves.
Advertisements

Module 3 Configuring Hardware on a Computer Running Windows XP Professional.
Altai Certification Training Operation & Maintenance
1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
With TimeCard appointments are tagged with information that converts them into time sheets. This way users can report time and expenses from their Outlook.
Advanced Workgroup System. Printer Admin Utility Monitors printers over IP networks Views Sharp and non-Sharp SNMP Devices Provided Standard with Sharp.
Supervision of Production Computers in ALICE Peter Chochula for the ALICE DCS team.
Cédric Potterat - LPHE Monday Meeting1 PVSS for VELO and TELL1 at EPFL.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Server-Side vs. Client-Side Scripting Languages
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
9.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 9: Installing and Configuring.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Linux Operations and Administration
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Ch 11 Managing System Reliability and Availability 1.
Terralite Solutions.  TCP/IP setting for communications  Subscription  Unicast  Multicast  UDP  Communications troubleshooting.
Introduction to IT and Communications Technology Justin Champion Network Connections & Number Systems.
How Hardware and Software Work Together
Configuring the MagicInfo Pro Display
Hands-On Microsoft Windows Server 2008
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
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.
Managing Windows Server 2008 R2 Lesson 2. Objectives.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
RM2D Let’s write our FIRST basic SPIN program!. The Labs that follow in this Module are designed to teach the following; Turn an LED on – assigning I/O.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice SISP Training Documentation Template.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Introduction to HP Availability Manager.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
1 Outline Firmware upgrade of the HV_LED_DAC boards. HV Status Bits board. Status of the board integration into the LHCb TFC system. CALO HV system and.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Control software M. Sozzi Pisa - January 30/31, 2014.
Sep. 18th 2006 Stefan Koestner Installation Guide ECS-tools for the CCPC/Tell1 (Installation): Many problems/user- requests already arises when installing.
GISMO/GEBndPlan Overview Geographic Information System Mapping Object.
Integrating and Troubleshooting Citrix Access Gateway.
Getting to Know Your Computer Your File System Applications What’s running on your machine Its own devices Networking.
L0 DAQ S.Brisbane. ECS DAQ Basics The ECS is the top level under which sits the DCS and DAQ DCS must be in READY state before trying to use the DAQ system.
March 7th 2005 Stefan Koestner LHCb week ECS-tools for the CCPC/Tell1 (Installation): Many problems/user- requests already arises when installing the framework.
Linux Operations and Administration
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
TELL1 command line tools Guido Haefeli EPFL, Lausanne Tutorial for TELL1 users : 25.February
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
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.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
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.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Sep. 18th 2006 Stefan Koestner FwHw Tutorial ECS-tools for the CCPC/Tell1: How to create a framework component of your hardware and distribute it? challenging.
Clara Gaspar, February 2007 LHCb’s Experiment Control System & Electronics Integration Step by Step.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
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.
Semester 3, Chapter 7 Allan Johnson
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN)
ECS-tools for the CCPC/Tell1 (a tutorial in 3 acts):
MiniDAQ2 Workshop Control System.
Bomgar Remote support software
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN)
ECS-tools for the CCPC/Tell1 (a tutorial in 3 acts):
IEEE - Nuclear Science Symposium San Diego, Oct. 31st 2006
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

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 guided tour on the client (2) Modelling Hardware: - introduction to FwHw - distributing datapoint types - Configuration DB (3) Finite State Machines: - putting hands on challenging Tell

March 7th 2005 Stefan Koestner LHCb week (1)A PVSS framework for CCPC and SPECS – an abstraction layer hiding the DIM/PVSS interface and the access to the configuration database. (2)A generic DIM server for CCPC as well as SPECS – hides all the complexity and varieties of the different hardware. (3)Basic panels for testing the connectivity between client (PVSS) and server (hardware) – useful for debugging hardware (&demonstrating the framework). (4)A tool to define registers (hardware) in terms of datapoints (PVSS) – once these registers are defined they are accessible by their name. User don’t need to have the datasheets at hand for addresses etc. The same tool allows for defining recipes. (a selection of registers associated to certain values) (5)Finite State Machines – a fully equipped control unit and a template for a device unit, with which you can build your ECS tree. It is distinguished between a simple device unit for lab setups and the final one ending up in the experiment. Panels for the Tell1 are developed in collaboration with Lausanne. What we generally provide : in a nutshell…

March 7th 2005 Stefan Koestner LHCb week “Es kann der Frömmste nicht in Frieden leben, wenn es dem bösen Nachbarn nicht gefällt.” CCPC/PVSS Interface: - Ccpc server: A generic DIM server (ccserv) running in a credit-card PC, which allows access to all features of the CCPC/glue card including access to any chips over I2C, JTAG and parallel bus. - Ccpc Client: A generic interface to allow access to all the features provided by the Ccpc server now remotely from any PC via PVSS panels and scripts (using a fwCcpc PVSS library).

March 7th 2005 Stefan Koestner LHCb week CCPC/PVSS Interface: - parallel bus (8/16/32 bits) - I2C bus (4 busses) - JTAG (3 chains) Server runs on embedded PC (i486 compatible,133 MHz). Access to three bus types via gluecard: Server is built on various software layers with the aim to hide as much complexity as possible.

March 7th 2005 Stefan Koestner LHCb week CCPC/PVSS Interface: Communication between server and ECS (PVSS-client) established via DIM. Server (Tell1 boards) publish services to DIM Name Server (DNS) from where client retrieves information about server (e.g. IP) upon request. Data exchange directly between server and client: Services sent from server to clients, which have subscribed to them. Commands sent from client to server. e.g. write: writing data to PVSS datapoint (connected to DIM) executes DIM command. Data received on server and written to hardware. Service data sent back to client to update the PVSS datapoint.

March 7th 2005 Stefan Koestner LHCb week (1)Get a board with a creditcard pc on it and connect to the network. It automatically reboots and starts the server (check with your network administrator or Niko). in a nutshell… PVSS/CCPCClient DIM DNS node CCPC DIM server services (register data) commands (what to do) publish (what services are available) subscribes (what services are of interest and where to get them from) (2) Get the dns.exe and start it on a PC (can be the same where your PVSS project is running) (3) Create your PVSS project. Install DIM and fwCcpc inside your project and start playing with the panels. (4) Complain if something does not work …

March 7th 2005 Stefan Koestner LHCb week This design brings two advantages: (1) If a server crashes the connection to the client breaks down. When it comes back it publishes to the dns node and the client reconnects to all services. (thus servers would also be easily portable to another machine …) (2) A PVSS project can be reinstalled on another PC without taking care of the connectivity. Just the dns node has to be specified where the client shall look for services. in a nutshell… PVSS/CCPCClient DIM DNS node CCPC DIM server

March 7th 2005 Stefan Koestner LHCb week Further Information: Niko Neufeld: The CCPC Software developers guide Clara Gaspar: Distributed Information Management System Note dedicated to the ccpc-server itself might appear in autumn. The server is distributed using the yum tool (please follow the updates). It starts automatically after rebooting the ccpc. In addition you can use: sudo service ccserv (start/stop/status) (DIM DNS node to be specified in ‘/etc/dim.conf’.) Or start server manually (in debug mode) with: sudo./ccserv -d -f- -v7 (export DIM_DNS_NODE as shell parameter. –v7 is the highest degree of verbosity.) More information on installing the CCPC-interface can be found on:

March 7th 2005 Stefan Koestner LHCb week PVSS Client (LBUS): In general: mouse pointer above data field  additional information pops up Soft Reset: calls ‘glue_default_init()’ on server WriteRead: writes data and reads back the register in one go Indicates if client could find a running server publishing on the DNS node

March 7th 2005 Stefan Koestner LHCb week PVSS Client (LBUS): Choose ccpc from the list of running servers Choose type (width) of local bus 32,16,8 bits Determines number of words (e.g. 4 bytes for 32 bit bus) to be read or written. ‘Data in’ (to be written) must have the exact size. Masked write operation can be defined (e.g. reset registers on fpga). leave empty if not required Indicates success of operation

March 7th 2005 Stefan Koestner LHCb week PVSS Client (LBUS): ‘Memory’: facilitates block operations on FPGAs After clicking ‘Display’ the whole memory block (e.g. 16 words) is read from server and displayed Single fields can be edited and are written to server after pressing ‘return’.

March 7th 2005 Stefan Koestner LHCb week PVSS Client (LBUS): Registers can be created for monitoring: the currently edited specific settings (address etc.) are applied select from list of created registers specify refresh rate of selected registers. (datapoints are updated periodically) if checkbox is ticked, the register datapoint is refreshed when it changes on hardware. (server polls and compares with old value) start and stop monitoring of selected register

March 7th 2005 Stefan Koestner LHCb week PVSS Client (LBUS): launches list of created registers indicates if currently monitored data of register: field is also editable, write command launched after pressing ‘enter’ shows refresh rate in seconds

March 7th 2005 Stefan Koestner LHCb week PVSS Client (GBE): Gigabit Ethernet card accessed over a 16 bit bus. MAC registers however 32 bits. Interface to be used as if it were a 32 bit bus. (1 word = 4 bytes) The addresses to be given in the address field correspond to the addresses given in the Intel MAC data sheet (same functionalities as LBUS)

March 7th 2005 Stefan Koestner LHCb week PVSS Client (I2C): Some hardware can just be written in pages (e.g. EEPROMs on Tell1 with a pagesize of 16 bytes) This will be respected on the server side. Leave empty if no pagesize is required. Combined: Subaddress and data is written in one go (usual). Separated: Subaddress is written first to pointer register. (it is the one you have to provide in the address field) Shift register: One byte has to be specified. This is shifted then by the server. (periodic pattern)

March 7th 2005 Stefan Koestner LHCb week PVSS Client (I2C): Scans hardware on selected bus by checking acknowledgement after putting address on the bus. (read or write bit can be selected) Hardware with long distance I2C drivers might suffer under timing problems. If checkbox is ticked no acknowledgement from hardware is expected. (this means also the loss of info, whether access was successful)

March 7th 2005 Stefan Koestner LHCb week PVSS Client (JTAG): Number of bits to be shifted Indicates the state of the state machine. Data is shifted with the least significant bits first. Missing MSBs are replaced by zeros. Data must be a multiple of 2 to represent byte stream. Select JTAG chain

March 7th 2005 Stefan Koestner LHCb week PVSS Client (JTAG): Scans chain for hardware and plots ID. (DRScan after reset) Calls LbJTAG_ChainReset on server Calls OPCode_StateMove and moves to the state Reset or Idle

March 7th 2005 Stefan Koestner LHCb week PVSS Client (GPIO): Interface to the 9 GPIO lines should be used by experts only! (click and try could harm hardware) Declaring and enabling GPIO lines Apply value to GPIO lines (high, low) Get current status of GPIO lines

March 7th 2005 Stefan Koestner LHCb week PVSS Client (Command): Emulates a shell on the Ccpc: Commandline tools of the ccpc can be launched to crosscheck the results obtained from the server. Everlasting commands like ‘ping’ are timed out after 10 seconds. Does not follow change of directories.

March 7th 2005 Stefan Koestner LHCb week PVSS Client (Advanced): CONTROL scripts using the PVSS or framework libraries can be edited and executed directly.

March 7th 2005 Stefan Koestner LHCb week PVSS Client (Advanced): Downloads firmware to EPC16 (pof and jam is provided) Actions for jam can be propagated. Loads FPGAs directly from EPC16 Content of the registers and memory blocks is written from the.cfg file to the FPGAs PS: Jumper can be set such that FPGAs can be programmed directly without EPC16!

March 7th 2005 Stefan Koestner LHCb week From User to User: Please send comments about useful information, which you were missing in the slides before! It will be posted here.

March 7th 2005 Stefan Koestner LHCb week Conclusion: Interface already in use by some collaborators. Some modifications were required to keep it generic: e.g. server identifies gluecard and links to the appropriate libraries. NACK flag is introduced for long distance I2C driver. “Das Alte stürzt, es ändert sich die Zeit, / Und neues Leben blüht aus den Ruinen.“ The interface covers all functionalities of the Tell1 board. (GPIO lines and masked write operation introduced since last release.) The development of the user interface is considered to be final!(?) Although the interface appears to be stable, more effort will be spent to optimize and document the PVSS framework functions. (e.g. conversion functions and write/read access) Design changes on the server side will reduce the number of services per register from 3 to 2.

March 7th 2005 Stefan Koestner LHCb week Note: “So will ich Euch die Wahrheit gründlich sagen. Mit diesem zweiten Pfeil durchschoß ich - Euch, Wenn ich mein liebes Kind getroffen hätte, Und Eurer - wahrlich! hätt' ich nicht gefehlt.” It should be pointed out that the panels are mainly to demonstrate the framework behind and to allow remote low-level access to the hardware. It is the framework on which you should base your own developments and not the panels. Thus the main focus for further improvements will be the framework itself (and surely the documentation!!!) Documentation on the framework functions can be found under: