1 EPICS Linux Based IOC Support EPICS Meeting at BESSY May 2002 Marty Kraimer.

Slides:



Advertisements
Similar presentations
Real Time Versions of Linux Operating System Present by Tr n Duy Th nh Quách Phát Tài 1.
Advertisements

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 The use of EtherCAT with EPICS at Diamond Ronaldo Mercado 22/10/2014.
Linux Migration GBT e2e Software Review May 3, 2005 Ramon Creager Melinda Mello
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.
Introduction to Operating Systems What is an operating system? Examples How do many programs run at the same time, with one processor?
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)
Brian Martlew 6 th June 2006 Controls Ground Rules Brian Martlew.
Home: Phones OFF Please Unix Kernel Parminder Singh Kang Home:
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
Threads CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
OSI and Architecture Independent Device Driver Jim Chen HYTEC ELECTRONICS LIMITED Spring 2013 – Diamond Light Source.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Performance Evaluation of Real-Time Operating Systems
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
E Virtual Machines Lecture 4 Device Virtualization
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
ICS – Software Engineering Group 1 The SNS General Time Timestamp Driver Sheng Peng & David Thompson.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Writing Your Own Custom IP Drivers for the IOC Blade 9010 By Darrell Nineham 5 Craddock.
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
GBT Interface Card for a Linux Computer Carson Teale 1.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
Conversion to EPICS R3.14 Mark Rivers. New capabilities Progress in converting synApps/GSECARS Outstanding issues Work to be done Outline.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
JavaIOC EPICS Meeting SSRF March Presented by: Marty Kraimer.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
ICS – Software Engineering Group 1 GeneralTime Proposal Status at SNS and Ideas for EPICS base David Thompson Sheng Peng Kay-Uwe Kasemir.
Real-Time Linux Evaluation NASA Glenn Research Center Kalynnda Berens Richard Plastow
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
Oct 8-9, 2005ACS Collaboration Meeting – Archamps, France The MicroIOC From Custom To Production First customer: PSI 25 pieces.
FECC/SAIOC/RTEMS Making Lemonade. FECC “Slow” Code (in PC) –Ported iRMX code –By Bob Sass and Tony –As little hand work as possible –EPICS OSI layer –Dual.
EPICS DIAMOND EPICS Meeting, EPICS base 3.14 OSI: Operating System Independent Support Marty Kraimer.
4300 Lines Added 1800 Lines Removed 1500 Lines Modified PER DAY DURING SUSE Lab.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
1 EPICS EPICS Base 3.13 and 3.14 Status and License IHEP August 2002 Marty Kraimer and Andrew Johnson.
CSCI1600: Embedded and Real Time Software Lecture 9: Input Output Concepts Steven Reiss, Fall 2015.
Migration to PPC at JLab Richard Dickson. VME data interface differences: CPU VMEchip2 VME mvme177 System Local Bus PPC 750 CPU Raven VME mvme2700.
OSes: 2. Structs 1 Operating Systems v Objective –to give a (selective) overview of computer system architectures Certificate Program in Software Development.
Device Driver Concepts Digital UNIX Internals II Device Driver Concepts Chapter 13.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 2, 2005 I/O through system calls Protection.
ICOM Noack Linux I/O structure Device special files Device switch tables and fops How the kernel finds a device Parts of a device driver or module.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
MINIX Presented by: Clinton Morse, Joseph Paetz, Theresa Sullivan, and Angela Volk.
Low Overhead Real-Time Computing General Purpose OS’s can be highly unpredictable Linux response times seen in the 100’s of milliseconds Work around this.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Kernel Modules – Introduction CSC/ECE 573, Sections 001 Fall, 2012.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Introduction to Real-Time Operating Systems
JavaIOC Overview and Update
Chapter 19: Real-Time Systems
CS 6560: Operating Systems Design
Mechanism: Limited Direct Execution
Development of Embedded EPICS on F3RP61-2L
CS 3305 System Calls Lecture 7.
May 2002 EPICS Collaboration Meeting Trip Report
Operating System Concepts
Chapter 19: Real-Time Systems
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
APS Controls Marty Kraimer APS.
EPICS BASE Release alpha3 EPICS Meeting at IHEP
EPICS: Experimental Physics and Industrial Control System
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

1 EPICS Linux Based IOC Support EPICS Meeting at BESSY May 2002 Marty Kraimer

2 EPICS VISION u LINUX REPLACES VXWORKS u BUT: Linux isn’t a real time operating system u Non-preemptive kernel => no context switch while kernel active. u Interrupts can be disabled for long periods of time. u Worst case can be 100s milliseconds. u Future u Development kernel is preemptive. u Work in progress so that interrupts disabled for short times. u Other possibilities u RTLinux u RTAI

3 EPICS Modified Vision u Existing Linux good enough for some Applications. u 2.6 Kernel will be good enough for additional Apps. u Often small part of App has stricter real time. requirements. In this case consider RTLinux/RTAI. u For demanding Apps use RTEMS or stay with vxWorks.

4 EPICS Near Term Goals u Industry Pack Support on Linux IOCs u Work with Tim Mooney’s group u Joe Sullivan working on PCI based motor support. u IP + Motor => usable for some beam line applications. u Expect there will be a lot of interest.

5 EPICS Progress u PCI-40A : SBS Quad IP Carrier for PCI Bus u Linux Kernel support now exists for u Generic IP carrier support (Like ANJs IPAC support) u PCI-40A u IP-488 (Green Springs GPIB IP using the ti9914) u EPICS Gpib driver u Implements Benjamin Franksen’s interface u Talks via file system to IP488 Linux driver u DG535 support works (For awhile before crashing) u Message Passing Facility MPF ported to 3.14 u Lots of cleanup. u Ran several tests successfully

6 EPICS Still to do u IP Serial u IP330 (ADC) u DAC128V (DAC) u ipUnidig (Digital I/O) u BIG ISSUE u Existing support allows MPF support to register with interrupt routine, i.e. user code called directly by interrupt routine. u IP330 allows floating point in interrupt routine. u Initial Strategy u Extract interrupt handlers and use insmod to put them in kernel u Convert floating point to integer.

7 EPICS Additional Tasks u Allow user level to access IP register space. u Have written but not tested. u Is this better than kernel drivers? u What about interrupts? u Work with Tim’s group to support synapps on Linux u APS/ASD can also use Linux IP support. u Many many records for serial I/O. u Quite a few using IP330. u Monitoring Only and not time critical u Future hardware??? PC*MIP, etc, etc.