TELL1 command line tools Guido Haefeli EPFL, Lausanne Tutorial for TELL1 users : 25.February 2008 1.

Slides:



Advertisements
Similar presentations
Operating-System Structures
Advertisements

Lectures on File Management
1 Lab 3 Objectives  Case study: “Hello world” program on motes  Write you first program on mote.
1 Alan Barr, UCL Fixed Frequency Trigger Veto The problem: –Currents in wire bonds in presence of strong magnetic fields –DC current not a problem (small.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Network Printing. Printer sharing Saves money by only needing one printer Increases efficiency of managing resources.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Microsoft Visual Source Safe 6.01 Microsoft Visual Source Safe (MVSS) Presented By: Rachel Espinoza.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Maintaining and Updating Windows Server 2008
1 Tell10 Guido Haefeli, Lausanne Electronics upgrade meeting 10.February 2011.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting.
Shell and Flashing Images Commands and upgrades. RS-232 Driver chip – ST3232C Driver chip is ST3232C Provides electrical interface between UART port and.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
PP2 Status F. Bellina. Problem solved.. Problem with inhibit and reading temperature and many crazy behavior Solved with a new FPGA firmware: the hardware.
Renesas Technology America Inc. 1 M16C/Tiny SKP Tutorial 2 Creating A New Project Using HEW4.
Overview of Mini-Edit and other Tools Access DB Oracle DB You Need to Send Entries From Your Std To the Registry You Need to Get Back Updated Entries From.
Lesson 14: Installing and Uninstalling Programs how to install a new program what to do if the new program doesn’t work how to uninstall a program © CCI.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
1 Software Development Configuration management. \ 2 Software Configuration  Items that comprise all information produced as part of the software development.
Bonrix SMPP Client. Index Introduction Software and Hardware Requirements Architecture Set Up Installation HTTP API Features Screen-shots.
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.
Territory Management. Territory management usage Best Practice Content 1.Request your data 2.Rework your territory geographically 3.Balance your foldercodes.
GBT Interface Card for a Linux Computer Carson Teale 1.
1 Alice DAQ Configuration DB
11/01/2006Wilco Vink / Martin van Beuzekom / L. Wiggers L0 ECS Workshop Pile-Up System.
Chris Onions Getting started with CVS in ATLAS 11 Getting started with CVS in ATLAS Chris Onions (Tutorial based on that of Raúl Ramos Pollán CERN / IT.
RCU Status 1.RCU design 2.RCU prototypes 3.RCU-SIU-RORC integration 4.RCU system for TPC test 2002 HiB, UiB, UiO.
Dec. 19, 2006TELL1 commissioning for Calorimeters 1 TELL1 commissioning for calorimeters ■ Reminder ■ TELL1 status ■ ECS for TELL1- PVSS panels ■ Firmware.
1 Control Software (CAT) Introduction USB Interface implementation Calorimeter Electronics Upgrade Meeting Frédéric Machefert Wednesday 5 th May, 2010.
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.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
1 VeLo L1 Read Out Guido Haefeli VeLo Comprehensive Review 27/28 January 2003.
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.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
LHCb front-end electronics and its interface to the DAQ.
Field Programmable Port Extender (FPX) 1 NCHARGE: Remote Management of the Field Programmable Port Extender (FPX) Todd Sproull Washington University, Applied.
Source Controller software Ianos Schmidt The University of Iowa.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Tell1 status: firmware Stéphane T’Jampens Nicolas Dumont Dayot Presented by Bolek Pietrzyk Calo commissioning session - 16 January 2008.
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
Teaching Digital Logic courses with Altera Technology
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.
18/05/2000Richard Jacobsson1 - Readout Supervisor - Outline Readout Supervisor role and design philosophy Trigger distribution Throttling and buffer control.
1 Status of Validation Board, Selection Board and L0DU Patrick Robbe, LAL Orsay, 19 Dec 2006.
SL-PGA firmware overview M. Sozzi Pisa - January 30/31, 2014.
Stefan KoestnerTutorial - PanelsJanuary 2008 TELL1 A brief introduction to the Device Unit Panels.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
FPGA based signal processing for the LHCb Vertex detector and Silicon Tracker Guido Haefeli EPFL, Lausanne Vertex 2005 November 7-11, 2005 Chuzenji Lake,
Maintaining and Updating Windows Server 2008 Lesson 8.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
SQL Database Management
ATLAS Pre-Production ROD Status SCT Version
TELL1 A common data acquisition board for LHCb
Chapter 2: System Structures
MiniDAQ2 Workshop Control System.
L0 processor for NA62 Marian Krivda 1) , Cristina Lazzeroni 1) , Roman Lietava 1)2) 1) University of Birmingham, UK 2) Comenius University, Bratislava,
Instructor: Prasun Dewan (FB 150,
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Booting Up 15-Nov-18 boot.ppt.
L1 simulation review Aug 2005 Jamie Boyd
TELL1 A common data acquisition board for LHCb
Presentation transcript:

TELL1 command line tools Guido Haefeli EPFL, Lausanne Tutorial for TELL1 users : 25.February

Command line commands Five functions are defined which are installed on the CCPC. Be careful using the correct version of the functions! Some of these functions depend on the TELL1 FPGA firmware ! Things to know about these functions: daq_tell1, cfg_tell1, console_tell1 (depend strongly on the version of the FPGA and the c-code) version_tell1, reset_tell1 (independent of the versions) Use the --help option to find the accepted options 2

What are they used for These functions can be extended by the user for specific needs, to test (debug) new a VHDL implementation! As long as there is only one TELL1 board to control and monitor it is a very efficient way to operate the boad. I use the functions for: –Running the selftest, running the TELL1 board with a predefined.cfg file which allows to process data with the data generator to the DAQ –Checking the event data in the MEP buffer, the decoding functions for all specific banks need to be profided –Checking the processing by running “bit perfect c-models” and comparing them to the MEP buffer contents. Monitoring is easier on the PVSS project

Known problems with these functions v2.1 and earlier! In the c-code version earlier than tell1lib_release_v2.1, the functions if executed at the home directory of the users are very-very slow, the makefile for the later releases has been modified and it runs without searching for 1’ the libraries. The earlier version of the reset_tell1 were not re-loading the FPGAs but only resetted the FPGA logic, with option –p the reload was possible, after version tell1lib_release_v2.0 the reset also reloads the FPGA with the current EEPROM content. daq_tell1, cfg_tell1, console_tell1 and version_tell1 check the correct initialization of the FPGAs. The correct initialization is new checked by a write-read and check access on one a register on the FPGA, this check avoids the FPGA ini problem that was observed and reported as a bug. tell1lib_release_v2.1, 4

version_tell1 # TELL1 library :28:28] # Fixed Information in FPGA/EEPROM # TELL1 ID [4ODLAUTL000331] : (at: 31/3/ :6:0) # GBE ID : # FPGA InitDone : 1F [ OK ] # User PP_FPGA code version: 2.2 # Common PP_FPGA code version: 2.2 # Common SL_FPGA code version: 2.2 # SL Built Number : 72 # PP Code generated at :23/11/ :32 # SL Code generated at :23/11/ :32 # Detector ID of TELL1 : VELO # ChipAddr of 4PPs : 3210 [ OK ] [lphe1tell14] /home/cc/tell1lib_release_v2.2.1 > 5

daq_tell1 or cfg_tell1 [lphe1tell14] /home/cc/tell1lib_release_v2.2.1/ccpc_daq >./cfg_tell1 VELO4.v23.cfg CFG: Read VELO4.v23.cfg ========================================= TELL1 for [VELO] ========================================= ACTION : ini_GLUECARD_PLX [ OK] ACTION : reset_TELL1 [ OK] ACTION : reset_TELL1_logic [ OK] ACTION : load_TELL1_FPGA [ OK] ACTION : reset_GBE [ OK] ACTION : ini_GBE_MAC [ OK]. ACTION : config_PHI_Reorder [ OK][ Disable] ACTION : ini_Reorder [ OK] ACTION : ini_VELO [ OK] ACTION : ini_TELL1 [ OK] ========================================= TELL331 Ready to GO ========================================= [lphe1tell14] /home/cc/tell1lib_release_v2.2.1/ccpc_daq > 6

console_tell1 [lphe1tell14] /home/cc/tell1lib_release_v2.2.1/ccpc_daq >./console_tell1 =======Running Console on TELL1====== ACTION : ini_GLUECARD_PLX [ OK] ACTION : read_TELL1_CONSTANT [ OK] ************************************ * C : TELL1 Control * * M : TELL1 Monitor * * T : TELL1 Test * * P : TELL1 Programming * * F : TELL1 export Files * * * * D : Detector specific * * * * A : About * * Q : Quit * * ? : show this manual * ************************************ CMD---> [?] 7

console_tell1 Warning: Don’t start the console_tell1 while an other function does intensive read-write access to the board, this can create access conflicts Use ^h (ctrl-h) to delete wrong typed characters Most commonly used option to check on the board status: –M (monitor) 8 (Read ttc monitor counters) –M (monitor) a (Read memory max usage) –D (detector specific) l (Read and Parse MEP during run) Warning: Reading the data from the board takes ~ms which is enough to create throttles, (if there is no throttle enabled and feed back to the Readout Supervisor, buffer overflows can be caused Note: All the registers can also be monitored via PVSS 8

Running the tell1 commands from a local directory Copy into a local directory the contents of the tell1lib_v2.2.zip Execute all command in tell1lib_v2.2/ccpc_daq/ For example:./daq_tell1 VELO4.v23.cfg In ccpc_daq there is one.cfg file per sub-detector as an example configuration Note: This is the way to run the tell1 c-code to assure consistent versions without the need of the crtl PC yum update. This is a way to implement a hardware test function  To provide a hardware test function. 9

cfg_tell1 is used for the PVSS project Warning: For the PVSS the two of the tell1 commands are also used, cfg_tell1 and reset_tell1. PVSS is using the installed functions on the ctrl PCs. Problems observed: –We must use an up-to date version in order to avoid that PVSS requires to write a new updated.cfg file (you can see this by using the cfg_tell1 command on the command line. [lphe1tell14] /home/cc/tell1lib_release_v2.2.1/ccpc_daq > cfg_tell1 VELO4.v21.cfg CFG: Read VELO4.v21.cfg >>>>>>>>>>>> A new DB version is used now. We will convert to this new DB format. All your settings will be kept, but the comment you add will lost. CFG: Write VELO4.v23.cfg ========================================= TELL1 for [VELO] ========================================= ACTION : ini_GLUECARD_PLX [ OK] [lphe1tell14] /home/cc/tell1lib_release_v2.2.1/ccpc_daq > 10

Selftest The selftest for the boards is provided using a set of.cfg files which are used to configure the board of a particular sub-detector into a “known to work” state. –ST2.v23_selftest.cfg with tell1_ST_v2.3.1.pof –VELO4.v23_selftest.cfg with tell1_VELO_v2.3.1.pof –EHCAL3.v23_selftest.cfg with tell1_EHCAL_v2.3.1.pof –L0CAL2.v23_selftest.cfg with tell1_L0CAL_v2.3.1.pof Trigger sent by ECS, accepting the TTC information from the Odin means changing 3 parameters only –Change lines 15,17,18 each to 1 is changing the selftest to be done with TTC 11

Running the selftest overview (with local tell1lib) 1.Make a local copy of the tell1lib on your ccpc ctrlPC eg. itdaq01 for IT 2.Program the FPGAs with the required version 3.Run the selftest in your local folder with your local tell1lib 12

Running the selftest (with local tell1lib) 1.Download the c-code zip file for the tell1lib from: 2.In the folder tell1lib_release_v??? The.pof files for each subdetector is given. 3.Make sure that the FPGAs are programmed with the version needed. –Check with version_tell1 the FPGA version. –If needed flash the EEPROM with EPCHandling –e –p 1 file.pof 4.Run the selftest in ccpc_daq, using./daq_tell1 ST2.v23_selftest.cfg 13

Running the selftest overview (with installed tell1lib) 1.Make an upgrade of the tell1lib installed on your ctrlPC eg. itdaq01 for IT 2.Program the FPGAs with the required version, a copy of the.pof files is always distributed and placed in: /usr/local/tell1/ 3.Run the selftest using the.cfg files also available in /usr/local/tell1/ 14

Running the selftest (version check) 15

Running the selftest (running the test) 16

Running the selftest (results) 17

Running the selftest (results, use console_tell1, option D, l to monitor the event data) 18

Running the selftest (monitor processing counters option M, d in console_tell1) 19

Selftest with PVSS Use selftest cfg file 20

Sent ECS triggers to perform selftest Use ECS triggers Send ECS triggers 21

Monitor counters No TTC triggers, but L0- Events are counted ECS+TT C 22

Monitoring the selftest via PVSS No TTC triggers, 23

Monitoring the event data Monitoring the event data is a way to parse the MEPs stored on the TELL1 in the MEP bugger 24

Using old firmware (smaller v2.3) with new software doesn’t work! The error messages occur because a register is missing and therefore unsuccessfully write read checked The error doesn’t quit the program as it was in previous versions I give a comment about v2.3 and higher 25

Bit error rate test with O-Rx cards There are two options to use the bit error rate test (BER) test, the command line tool and the PVSS –Command line tool, use daq_tell1 cfg_file -b use the console to reset the BER counters, C (control), option e –PVSS use the panel BER test Reset counters will clean the error counters and the data counters The error counters saturate (get to 0xFFFFFF) in no time (0.1s) so, if you have saturated counters it’s a bad link! 26