User Oriented APIs for Timing System Jim Chen Hytec Electronics Ltd Timing Workshop – 5 th June 2014, Prague.

Slides:



Advertisements
Similar presentations
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Advertisements

purpose Search : automation methods for device driver development in IP-based embedded systems in order to achieve high reliability, productivity, reusability.
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
Chapter 17 Networking Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut SwissFEL Timing System.
Dayle Kotturi and Stephanie Allison Facility Advisory Committee Meeting April 20-21,
04/14/2008CSCI 315 Operating Systems Design1 I/O Systems Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
12 GeV Trigger Workshop Session II - DAQ System July 8th, 2009 – Christopher Newport Univ. David Abbott.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
04/16/2010CSCI 315 Operating Systems Design1 I/O Systems Notice: The slides for this lecture have been largely based on those accompanying an earlier edition.
PROGRESS project: Internet-enabled monitoring and control of embedded systems (EES.5413)  Introduction Networked devices make their capabilities known.
Chapter 13 Embedded Systems
I/O Systems CS 3100 I/O Hardware1. I/O Hardware Incredible variety of I/O devices Common concepts ◦Port ◦Bus (daisy chain or shared direct access) ◦Controller.
Basic Input/Output Operations
Students:Gilad Goldman Lior Kamran Supervisor:Mony Orbach Mid-Semester Presentation Spring 2005 Network Sniffer.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.
INPUT/OUTPUT ORGANIZATION INTERRUPTS CS147 Summer 2001 Professor: Sin-Min Lee Presented by: Jing Chen.
OSI and Architecture Independent Device Driver Jim Chen HYTEC ELECTRONICS LIMITED Spring 2013 – Diamond Light Source.
ELI: Electronic Timing System (ETS) at Facility Level E L I – B L – – P R E – B.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
CSCI-235 Micro-Computer in Science The Network. © Prentice-Hall, Inc Communications  Communication is the process of sending and receiving messages 
ARM Timers.
INTRODUCE OF SINAP TIMING SYSTEM
Overview of SINAP Timing System Electronics Group Beam Diagnostics & Control Division SINAP.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
I/O Systems I/O Hardware Application I/O Interface
Micro-Research Finland Oy Timing System with Two-Way Signaling cRIO-EVR Jukka Pietarinen EPICS Meeting Padova October 2008.
A Portal Based Approach to Viewing Aggregated Network Performance Data in Distributed Brokering Systems By Gurhan Gunduz, Shrideep Pallickara, Geoffrey.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
IMPROVING THE MRF BASELINE Prague, June 5 th 2014.
Micro-Research Finland Oy Timing System Developments Jukka Pietarinen EPICS Collaboration Meeting Shanghai March 2008.
REDNET Prototype overview Rok Stefanic the best people make cosylab.
Micro-Research Finland Oy Timing System Modules Jukka Pietarinen EPICS Collaboration Meeting, Argonne, June 2006.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
Micro-Research Finland Oy Components for Integrating Device Controllers for Fast Orbit Feedback Jukka Pietarinen EPICS Collaboration Meeting Knoxville.
I/O management is a major component of operating system design and operation Important aspect of computer operation I/O devices vary greatly Various methods.
MRF & Cosylab on timing system: integration support Joze Dedic the best people make cosylab … Head of Hardware.
General Time Update David Thompson Epics Collaboration Meeting June 14, 2006.
1 Timo Korhonen PSI 1. Concepts revisited…again 3. New (Diamond) cards features and status 4. EPICS interface 5. Conclusions SLS & Diamond Timing System.
Chapter 13: I/O Systems. 13.2/34 Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware.
Modes of transfer in computer
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
Simics: A Full System Simulation Platform Synopsis by Jen Miller 19 March 2004.
Connecting EPICS with Easily Reconfigurable I/O Hardware EPICS Collaboration Meeting Fall 2011.
REDNet - Status overview Rok Stefanic Ziga Kroflic
By Fernan Naderzad.  Today we’ll go over: Von Neumann Architecture, Hardware and Software Approaches, Computer Functions, Interrupts, and Buses.
What is Java? Object Oriented Programming Language Sun Microsystems “Write Once, Run Everywhere” Bytecode and Virtual Machine Java Platform (Java VM and.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 13: I/O Systems Overview I/O Hardware Application.
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
Motivation FACE architecture encourages modularity of components on data boundaries Transport Services Segment interface is centered on sending and receiving.
ESS Timing System Prototype 2012 Miha Reščič, ICS
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut Synchronous DAQ using.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
8255:Programmable Peripheral Interface
Research Unit for Integrated Sensor Systems and Oregano Systems Cern Timing Workshop 2008 Patrick Loschmidt, Georg Gaderer, and Nikolaus Kerö.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Embracing the consumerization of IT There are four components to Microsoft’s strategy.
Main Timing System Overview
Module 12: I/O Systems I/O hardware Application I/O Interface
I/O Systems I/O Hardware Application I/O Interface
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Module 12: I/O Systems I/O hardwared Application I/O Interface
Operating System Design Options
Presentation transcript:

User Oriented APIs for Timing System Jim Chen Hytec Electronics Ltd Timing Workshop – 5 th June 2014, Prague

The Problem Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd MRF timing module now has many functionalities rather than purely trigger generation. These include timestamp, event FIFO, data transmit and even GPIO etc. This is excellent! Timing system also has many ways of generating signals – distributed bus, events, sequencer, prescaler etc. This is also good. Variety of outputs – TTL, LVPECL, CML, Univ I/O. Great! Many form factors. One of the problems – functions are not always to all platforms Not easy to configure – especially for new comers

What we end up Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd MRF provides low level APIs for VxWorks/RTEMS and Linux Each lab has its own app implementation. mrfioc2 Cosylab Taiwan Light Source – TPS pciGeneral Device Support Hytec UDP for Orion, APIs for ELI, NUS …… Re-invent the wheel from time to time and it continues

What end-user needs Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd Triggers!

What end-user needs Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd Generate repetitive triggers in different frequencies Fire single shot Set delay/relative delay and width for each trigger Enable/disable triggers/modules Set up timestamp Transfer data Interrupt notification and callback etc…

What would be nice Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd Trigger implementation transparent to the user – EvrSetPulseProperties, EvrSetPrescalerTrig, EvrUnivDlySetDelay, EvrSetFineDelay – hide all these! User function oriented rather than device function oriented A Generic API function set for all platforms – EPICS, TANGO, OPC, VxWorks, Linux and Windows Maintained by community or by Jukka?

How easy to achieve this Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd Not easy given so many options Need well defined structures Need many branches to distinguish architecture differences, signal generation differences, trigger type differences, output type differences, jitter requirement and accuracy differences etc. Separate the OS specific from the generic APIs Proper interrupt mechanism and callback Endian issue

What we can do Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd

The main entities Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd OS resource wrapper – base address, interrupt, DMA if required Jukka’s low level APIs Trigger structure – need to cover all aspects Trigger – need to encapsulate all operations EVG – capable of defining trigger source or the combination EVR – simple class

The implementation Jim Chen Timing Workshop – 5 th June 2014, Prague Hytec Electronics Ltd Let’s discuss……