Writing Your Own Custom IP Drivers for the IOC Blade 9010 By Darrell Nineham 5 Craddock.

Slides:



Advertisements
Similar presentations
Layered EPICS User Gap Control Interface for NSLS Mini-gap Undulators William Nolan and John Skinner, Biology Department Susila Ramamoorthy and Lonny Berman,
Advertisements

Computer System Laboratory
RTEMS and Linux at the Canadian Light Source Tony Wilson Canadian Light Source University of Saskatchewan.
ITER Fast Controller Prototype Feng Wang, Shi Li and Xiaoyang Sun Institute of Plasma Physics, Chinese Academy of Sciences 4/15/20151 The Spring 2010 EPICS.
EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 The use of EtherCAT with EPICS at Diamond Ronaldo Mercado 22/10/2014.
StreamBlade SOE TM Initial StreamBlade TM Stream Offload Engine (SOE) Single Board Computer SOE-4-PCI Rev 1.2.
1. 2 FRC 2010 Driver Station Doug Norman & Stephanie Brierty National Instruments January 8, 2010 Thanks to Joe Ross – Team 330.
Future Designs, Inc. Your Development Partner
FLIGHT READINESS REVIEW TEAM HAWAII. LEO HANO FULL SCALE LOW POWER March 13, 2011 Motor = K780R.
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
Brian Martlew 6 th June 2006 Controls Ground Rules Brian Martlew.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
Provisional Hytec Electronic Ltd Hytec HotSwap Darrell Nineham Hytec Electronics Ltd.
Provisional Hytec Electronic Ltd Hytec 1U IOC Darrell Nineham Hytec Electronics Ltd.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
Data Acquisition and Control Systems HYTEC ELECTRONICS LIMITED Motor Control and Power Drive Support Graham Cross.
ASPPRATECH.
ICS – Software Engineering Group 1 SNS Power Supply Control Sheng Peng.
OSI and Architecture Independent Device Driver Jim Chen HYTEC ELECTRONICS LIMITED Spring 2013 – Diamond Light Source.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
Argonne National Laboratory is managed by The University of Chicago for the U.S. Department of Energy P0 Feedback Project: Merging EPICS with FPGA’s Nicholas.
HARDWARE OPAL-RT MARC PASTOR Real-Time 2009 Montreal, Quebec, Canada.
18. June 2003EPICS WS Control of Digital Power Supplies Andreas Lüdeke Swiss Light Source / PSI 20 May 2003 EPICS Collaboration Meeting.
Wir schaffen Wissen – heute für morgen 24 August 2015PSI,24 August 2015PSI, Paul Scherrer Institut Status WP 8.2 RF Low Level Electronic Manuel Brönnimann.
Silicon Labs ToolStick Development Platform
Single Board Computers and Industrial PC Hardware at the CLS
PC Components, Features, System Design.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
Managing Windows Server 2008 R2 Lesson 2. Objectives.
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
GBT Interface Card for a Linux Computer Carson Teale 1.
Concept of Modular Design Module Carriers Embedded or PC-Host Modules A/D,D/A,I/O DSP,FPGA IMAGING,MEMORY Systems Data Acquisition Medical Industrial Control.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
ICS – Software Engineering Group 1 The PCI Record EPICS Collaboration Meeting l May 2002 at BESSY, Germany May 2002 at BESSY, Germany David.
1 EPICS Linux Based IOC Support EPICS Meeting at BESSY May 2002 Marty Kraimer.
ATLAS HSIO DEVELOPMENT BOARD TESTING An Overview and Test Summary of High Speed Input/Output Boards Lawrence Carlson August 10, 2010.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
Fast Fault Finder A Machine Protection Component.
1. EPICS IOC on CompactRIO EPICS Collaboration Meeting Fall 2011.
Connecting EPICS with Easily Reconfigurable I/O Hardware EPICS Collaboration Meeting Fall 2011.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
PSI Power Supply Controls MedAustron Controls Workshop 1 PR a-FMO-PSI_Power_Supply_Controls.pptx F. Moser - PSI Power Supply Controls 1.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
New IP Drivers using drvIpac Module Driver:CANopen Carrier Driver:GPFC drvIpac ?? CANopen Tip810 CAN Tip810 mv162GPFCatc40vipc310vipc616 Module driver.
Lab 12 Department of Computer Science and Information Engineering National Taiwan University Lab12 – Driver 2014/12/16 1 /21.
11 MANAGING DEVICES AND PERIPHERALS Chapter 4. Chapter 4: Managing Devices and Peripherals2 CHAPTER OVERVIEW  Implement, manage, and troubleshoot input.
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
Timing Board FPGA. Use existing IP version until firmware is ported to new FPGA FPGA Existing IP Carrier UCD Digital I/O TSG Timing Board.
DE2-115 Control Panel - Part I
Introduction to Kernel
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Computer System Laboratory
Laboratorio per dottorandi 2017 Particle Accelerators Control System
Implementation of Embedded OS
Experience & Status of the LIGO Slow Controls System(s)
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Introduction Functional Requirements (Stephanie) SLC Executive (Diane)
GFA Controls IT Alain Bertrand
TECHNICAL TRAINING 2007.
Plug-and-Play.
Future Designs, Inc. Your Development Partner
Status of Fast Controller EPICS Supports for ITER Project
Booting Up 15-Nov-18 boot.ppt.
Radiation- and Magnet field- Tolerant Power Supply System
asyn Driver Tutorial Measurement Computing 1608GX-2A0
TANGO MONITORING SYSTEM
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Presentation transcript:

Writing Your Own Custom IP Drivers for the IOC Blade 9010 By Darrell Nineham 5 Craddock Road, Reading, Berkshire, RG2 OJT, UK

Introduction… Background. Brief Hardware Overview. Write Your Own Driver Notes. 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

General All (including Source Code) Supplied FREE. EPICS Scientific Linux Version 4 and RTEMS. Kernel Linux Version 2.6. Alternatives Windows XP / OPC, V-system etc. 5 Craddock Road, Reading, Berkshire, RG2 0JT, UK

Typical Non-EPICS Users… 5 Craddock Road, Reading, Berkshire, RG2 0JT, UK

Typical TANGO Users… 5 Craddock Road, Reading, Berkshire, RG2 0JT, UK

PCI Devices 2 x PCI Devices / Interfaces. The first is 1 x PMC. The Second is 6 x IP Cards + Carrier Board Specific Registers. The IP Cards Access is Memory Mapped. The Carrier Board is I/O Mapped. 5 Craddock Road, Reading, Berkshire, RG2 0JT, UK

Carrier Board Hardware 6 x Fan Speed Monitoring in RPM. Fan Override - Halt, Half or Full Speed. 5 Temperature 0-40°C in discreet 10°C Steps. Individual IP Cards Clocks 8 / 32 MHz. Front Panel and Jumper Switches. LCD Automatic / Override with own Messages. 5 Craddock Road, Reading, Berkshire, RG2 0JT, UK

Why Write Your Own Drivers… You May Want Extended / Different Functions. Any Hytec IP Card we will support. Legacy IPs to support. You May Choose IPs from another source. WARNING TO FOLLOW ! 5 Craddock Road, Reading, Berkshire, RG2 0JT, UK

Method of IP Cards Drivers Directly with Driver Calls. Via API. Memory Mapped (Hopefully Soon). 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

Producing Your Own Quick Driver … Go to Download the EPICS Example the ‘Idiots Guide’ and IOCBlade9010.tar.gzip This is an EPICS example application and also includes a copy of the Hytec IOC Blade Linux Kernel 2.6 Driver under the Directory… /IOCBlade9010/pci To install the driver simply type.. /root/IOCBlade9010/pci/IOC9010-load 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

Simple C Example … #include "9010LinuxDriver.h” /* Open the Stream */ IOCHandle = open("/dev/IOC9010",0); if (IOCHandle = = -1) printf("9010: Error Opening Device !\n"); 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

Simple C Example … /* Set up the Data Structure */ ioctl_buf.lAddress = IP_A_ID_BASE_ADDR + ID_MODEL_NUMBER; ioctl_buf.lLength = 1; ioctl_buf.sData = (unsigned long)(&data); /* Read IP Card Type from ID PROM */ ioctl(IOCHandle, OP_GENERAL_READ, &ioctl_buf); 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

Simple C Example … /* Do Something With It */ printf("IP Slot %c = %4X\n", 'A', data); /* Close the Stream */ close(IOCHandle); 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

Quick Reference Drivers include… 9010 Fan / Temp ao, ai, mbbi, mbbo etc x 16 Bit ADC x 16 Bit DAC Bit Digital Input/Output Card Bit Digital Input/Output Card Channel Stepper Motor Card. 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

Full Drivers Written… Channel Stepper Motor Card. Completed 13 June Debug Testing Now. Using AsynDriver Full Motor Record Support. Many Thanks to Nick Rees and particularly Peter Denison of Diamond Light Source. Written in about 3 Hours (45 min MRE). 5 Cradock Road, Reading, Berkshire, RG2 0JT, UK

IOC Blade Craddock Road, Reading, Berkshire, RG2 0JT, UK Any Questions / Help