VME Basics. Appendix. Introduction to the VMEbus Accessing boards across the VMEbus VMEbus interrupt handling
|
|
- Olivia Reed
- 5 years ago
- Views:
Transcription
1 Appendix E VME Basics Tornado Device Driver Workshop Copyright E-1 Introduction to the VMEbus Accessing boards across the VMEbus VMEbus interrupt handling
2 VME Basics 8.6 VMEbus Addressing VMEbus Interrupts Tornado Device Driver Workshop Copyright E-2 VMEbus address spaces (Address Modifiers) CPU memory maps Converting a VMEbus address to a local address Creating a virtual to physical map to access (unmapped) VMEbus address
3 VMEbus Terminology Master Slave Arbiter A board which can initiate data transfer A board which responds to requests generated by a master A board that grants masters control of the bus Only the system controller in the first slot can be the arbiter. Most I/O boards are slaves. Some I/O boards are masters. Most masters are also slaves. Tornado Device Driver Workshop Copyright E-3 VMEbus is called a multimaster bus, since multiple boards may initiate data transfers. Whether a board can be a master, slave, or arbiter is hardware determined. The Matrix DAADIO is an example of a slave. CPU cards are typically masters and slaves. I/O boards with microprocessors on-board may be masters. The Matrix MS-SCSIFD (SCSI & floppy controller) is an example of an I/O master.since most I/O boards are slaves only, the driver writer needs to know how the master (CPU card) accesses the I/O board, but does not have to concern themselves with the I/O board accessing the master (since it only responds to the master s requests). If the I/O board is also a master, then the driver needs to be aware how access can be made in both directions.note that while most masters are slaves, not all slaves are masters.
4 VME Backplane VME Chassis backplane connectors P1 P2 The VMEbus is designed for flexibility to accommodate varying needs: P1/J1 P2/J2 24 bit addressing, 16 bit data, plus control lines Expands capability to 32 bit addressing and 32 bit data Tornado Device Driver Workshop Copyright E-4 The most common cards are double height (6U), which connect into both P1 and P2. Single height (3U) cards are also common. Do NOT leave empty slots between boards (unless the backplane is correctly jumpered for it). The Matrix DAADIO is an example of a slave. CPU cards are typically masters and slaves. I/O boards with microprocessors on-board may be masters. The Matrix MS-SCSIFD (SCSI & floppy controller) is an example of an I/O master.since most I/O boards are slaves only, the driver writer needs to know how the master (CPU card) accesses the I/O board, but does not have to concern themselves with the I/O board accessing the master (since it only responds to the master s requests). If the I/O board is also a master, then the driver needs to be aware how access can be made in both directions. Note that while most masters are slaves, not all slaves are masters.
5 VMEbus Address Spaces Name Short I/O (A16) Standard (A24) Extended (A32) Address Length 16-bit 24-bit 32-bit Size 64 Kbytes 16 Mbytes 4 Gbytes Tornado Device Driver Workshop Copyright E-5 The VMEbus was designed with these different addressing modes to permit a wide range of applications: less demanding applications can use Short I/O (A16) addressing which requires less hardware (e.g. address decoding logic) while more complex applications can use the full 32-bit addressing.
6 Typical CPU Board Memory Map Short I/O Local Devices St 0xffffffff 0xffff0000 0xff xfe Extended Local RAM 0x Tornado Device Driver Workshop Copyright E-6 The addresses and ordering will differ between boards. Note that picture above is not to scale. Short I/O space (64K) is less than 4/1000 of the 32-bit address space. The map above shows an 1 Mbyte local RAM, 3 Gbytes 991 Mbytes extended space, 16 Mbytes standard space, 15 Mbytes 1008 Kbytes for local devices, and 64 Kbytes for short I/O.
7 Map To VMEbus Address Space Memory Map Short I/O Short I/O VMEbus Address Space Standard Standard Extended Extended Tornado Device Driver Workshop Copyright E-7 The diagram above is an example. Your board will differ. It is common for a CPU to have non-contiguous regions that map to VMEbus extended address space. Typically, all of VME short I/O and standard address space is accessible. Only a subset of VME extended address space is accessible.
8 Address Modifiers CPU I/O / 32 / 32 / 6 Address Lines Data Lines Address Modifier Address modifiers specify the VMEbus address space. Tornado Device Driver Workshop Copyright E-8 Boards typically have jumpers to specify where registers or memory reside in a given address space. For example, if a board has one Mbyte of memory in standard space, it will typically have jumpers to select where in the 16 Mbyte Standard address space it is mapped.
9 Address Modifiers Privilege Level Supervisor Supervisor or User Type of access Data Program Block Transfer Address Size Extended Standard Short I/O Tornado Device Driver Workshop Copyright E-9 For VxWorks privilege level is irrelevant, since VxWorks runs in supervisor mode. Typically, I/O boards select Privilege Level with jumpers. Not all combinations above are used. Symbolic constants for Address Modifiers are defined in wind/target/h/ vme.h. Program is text or code. Block transfer (sometimes called burst mode ) allows transferring up to 256 bytes with only one address cycle (like DMA).
10 Accessing a Board on the VMEbus You must know: The address modifier to which the board responds The addresses to which it responds The CPU address mapping Example: Address Modifier is VME_AM_SUP_SHORT_IO (Short I/0 supervisor) Address is 0x100 CPU maps Short I/O space to 0xffff0000. Tornado Device Driver Workshop Copyright E-10 What address would be used on the CPU to access the board described above? The address to use would be 0xffff0100 (0xffff x100). In this example, the address put on the bus is 0x100 (address lines A01-A15). The most significant 16-bits (0xffff) is used to indicate to the CPU that this is a VMEbus address and the address modifier should be set to 0x2d (AM0- AM5).
11 Converting a VMEbus Address STATUS sysbustolocaladrs (addrspace, busaddr, plocaladdr) addrspace busaddr plocaladdr The VMEbus address modifier The VMEbus address to be accessed A pointer to store the converted address Returns OK on success, else ERROR. To enhance portability, use this routine in lieu of hardcoding the local address. Typically, called once in driver initialization routine. Tornado Device Driver Workshop Copyright E-11 Use the symbolic constants defined in wind/target/h/vme.h for the addrspace parameter. Example: #include "vxworks.h" #include "vme.h"... char * pboard;... if (sysbustolocaladrs (VME_AM_SUP_SHORT_IO, (char *)0x100, &pboard) == ERROR) return (ERROR); Assuming that your board only uses one address space, the routine above need only be called once. This may not be obvious to all students.
12 Probing A Bus Address STATUS vxmemprobe (addr, mode, len, pval) addr mode len pval Traps bus errors. Address to test. Test for reading, VX_READ(0), or writing VX_WRITE (1). Length in bytes to probe--must be 1, 2, or 4. Address of data to write (VX_WRITE) or address to store value read (VX_READ). Useful in initialization code when unsure of location of hardware. Tornado Device Driver Workshop Copyright E-12 Include vxlib.h.
13 VIRTUAL 0xffffffff 0xffff0000 0xff xfe not mapped 0x x Boards with MMUs PHYSICAL 0xffffffff 0xffff0000 0xff xfe x VMEbus Short I/O Local Devices VMEbus Standard VMEbus Extended Local RAM Tornado Device Driver Workshop Copyright E-13 By default, boards with Memory Mapping Units map virtual to physical addresses one-to-one. Not all virtual addresses are mapped. As in the example above, BSP s typically map all of VMEbus short I/O and standard addresses, but do not map all the extended addresses. This is in addition to the earlier limitation already discussed: In the example above, most of the 4Gb VMEbus Extended space (0x to 0xfe000000) is mapped by the address decode logic on the CPU board. Of these addresses only a subset have virtual address mapping (0x to 0x ). To access an unmapped VMEbus extended address requires adding a mapping.
14 Mapping VMEbus Addresses This is only an issue for boards with MMU s that do not map addresses needed by an application. Writing to an unmapped address causes a bus error. To map an (unmapped) VMEbus address: Convert the bus address to a local address using sysbustolocaladrs( ). Create a virtual address mapping for these addresses using one of two methods which will be described: Modify syslib.c Use VxVMI routines Tornado Device Driver Workshop Copyright E-14 VxVMI is an optional product. There may be architecture-dependent constraints on how much memory may be mapped. For example, the MC68K requires 512 bytes for each megabyte mapped (to store translation table information)
15 Method 1: Modifying syslib.c Modify the sysphysmemdesc initialized in syslib.c. It is as an array of PHYS_MEM_DESC structures: virtualaddr Starting virtual address physicaladdr Starting physical address len Number of bytes to map initialstatemask Initial state mask, e.g.: VM_STATE_MASK_VALID VM_STATE_MASK_WRITABLE VM_STATE_MASK_CACHEABLE initialstate Initial state, e.g.: VM_STATE_VALID / VM_STATE_VALID_NOT VM_STATE_WRITABLE / VM_STATE_WRITABLE_NOT VM_STATE_CACHEABLE / VM_STATE_CACHEABLE_NOT Tornado Device Driver Workshop Copyright E-15 The virtualaddr and physicaladdr must be on page boundaries. The len must be a multiple of page size. To get page size, use vmbasepagesizeget ( ) or vmpagesizeget ( ). The state and state mask values above are generic, architecture independent. Different architectures may have provided additional, architecture dependent, states. The state mask is a generic tool to allow modifying a state flag without knowing the current state values. It must be provided here for consistency purposes. The sysphysmemdesc may be modified by: Changing an existing PHYS_MEM_DESC element Adding one or more PHYS_MEM_DESC elements
16 Modifying Mapping Example 1 PHYS_MEM_DESC sysphysmemdesc [] = {... 2 { /* some A32 vme */ 3 (void *) 0x , /* address 0 */❶ 4 (void *) 0x ,❷ 5 0x x /* Mbytes */ ❸ 6 VM_STATE_MASK_VALID VM_STATE_MASK_WRITABLE VM_STATE_MASK_CACHEABLE, ❹ 7 VM_STATE_VALID VM_STATE_WRITABLE VM_STATE_CACHEABLE_NOT ➎ 8 },... 9 { /* add some A32 vme */ 10 (void *) 0x , ❶ 11 (void *) 0x , ❷ 12 0x , /* 16 Mbytes */ ❸ 13 VM_STATE_MASK_VALID VM_STATE_MASK_WRITABLE VM_STATE_MASK_CACHEABLE, ❹ 14 VM_STATE_VALID VM_STATE_WRITABLE VM_STATE_CACHEABLE_NOT ➎ 15 },... Tornado Device Driver Workshop Copyright E-16 The example above shows how to modify sysphysmemdesc by: ❶ ❷ ❸ ❹ ➎ Modifying an existing PHYS_MEM_DESC element (in this case, by increasing the size of the existing extended (A32) address space from 16 to 32Mb.), or Adding a new PHYS_MEM_DESC element (in this case, to map additional, non-contiguous VMEbus extended addresses). Starting virtual address to map Starting physical address to map Size in bytes State mask Initial state. Note that the VMEbus addresses are set to VM_STATE_CACHEABLE_NOT.
17 Method 2: Mapping Addresses Using VxVMI Allows building application initialization code to map addresses without having to modify syslib.c. First map the memory: STATUS vmglobalmap (virtualaddr, physicaladdr, len) Call before creating any virtual memory contexts. Address and length must be on page boundaries. Next call: STATUS vmstateset (NULL, virtualaddr, len, statemask, state) Tornado Device Driver Workshop Copyright E-17 Requires optional VxVMI product. The NULL argument in vmstateset( ) indicates that the current virtual context is to be used. The values and meaning for statemask and state are identical to those previously described for modifying sysphysmemdesc. Must define INCLUDE_MMU_FULL in config.h in the target directory.
18 VME Basics VMEbus Addressing 8.7 VMEbus Interrupts Tornado Device Driver Workshop Copyright E-18 VMEbus interrupt acknowledge cycle Enabling a CPU board to respond to VMEbus interrupts Managing multiple I/O boards Vectored interrupts and autovectored interrupts
19 Interrupts and Priorities Absolute System-Wide Priority Interrupt Interrupt. Interrupt Task Task. Task Interrupt Level (Hard Wired) Execution Order Controlled by Hardware Execution Order Controlled by Kernel Task Priority (Programmable) Tornado Device Driver Workshop Copyright E-19 Interrupts preempt even highest priority task.
20 Interrupt Terminology Interrupt Level Seven VMEbus levels available: IRQ1 - IRQ7 IRQ7 is the highest priority Only one CPU can respond to a given IRQ Interrupt Number 256 available (Motorola) Index into the interrupt vector table Interrupt Vector The byte offset of an entry in the interrupt vector table Tornado Device Driver Workshop Copyright E-20 Any board (with the appropriate hardware) can generate interrupts (does not have to be a master). The interrupt number is selected by programming (or setting jumpers) on the interrupting board. The usage interrupt number and interrupt vector are WRS specific. In the industry, interrupt vector typically refers to the index into the interrupt table.
21 VMEbus Interrupts CPU I/O IRQ1 - IRQ7 Tornado Device Driver Workshop Copyright E-21 To generate an interrupt, the I/O board asserts one of the seven interrupt lines. The line it asserts is the interrupt level. The CPU board recognizes the assertion of the interrupt line (if enabled) and begins the interrupt acknowledge cycle. The enabling of interrupts is done by sysintenable() -- some (usually older) boards can not enable interrupts through software but require the setting of jumpers. Only one board should be programmed to handle a given interrupt level. With multiple CPUs and I/O boards on the same backplane, different I/O boards can generate different interrupt levels which could then be handled by different CPUs.
22 VMEbus Interrupts CPU I/O IACK A01-A03 Tornado Device Driver Workshop Copyright E-22 The acknowledging CPU places the interrupt level number on the lower order address lines and asserts the Interrupt Acknowledge (IACK) line. The IACK line is daisy-chained through the backplane. Starting with the card in slot 0, each board determines if the interrupt being acknowledged is one that it generated. If not, it passes the signal down. If it is, the board continues the interrupt acknowledge cycle and does not pass the signal on. The daisy-chaining of IACK allows multiple boards to use the same IRQ line (only one will be acknowledged at a time). The interrupting board may be in a lower numbered slot then the acknowledging CPU.
23 VME Interrupts CPU I/O DTACK D00-D31 Tornado Device Driver Workshop Copyright E-23 The I/O card places the STATUS/ID on the data bus and asserts DTACK. The CPU card (typically) reads the STATUS/ID and uses it as the interrupt number, i.e. an index into the Interrupt Vector Table. The Interrupt Vector Table holds the addresses of interrupt service routines. DTACK is used by interrupting board to terminate cycle.
24 VME Interrupts Multiple boards may generate interrupts using the same interrupt level. A CPU card must be programmed to respond to the specified interrupt level: STATUS sysintenable (intlevel) Only one CPU card can handle a given IRQ line. Tornado Device Driver Workshop Copyright E-24 If more than one interrupt of the same level occurs at the same time, the board closest to slot 0 will be processed first. Boards typically assert an IRQ line until they are acknowledged. If two boards assert the same IRQ: The responsible CPU card begins the interrupt acknowledge cycle. The first board serviced releases the IRQ line after acknowledgment. The second board still has the IRQ line asserted, so the CPU begins a second interrupt acknowledge cycle. The second board serviced releases the IRQ line after acknowledgment.
25 Managing Multiple Boards CPU CPU I/O I/O #0 #1 #0 #1 IRQ3 IRQ4 IACK Multiple I/O boards can be managed by one or more CPU s. Tornado Device Driver Workshop Copyright E-25 To have separate CPU s control multiple I/O boards: CPU #0 calls sysintenable( ) for IRQ3, but not IRQ4 CPU #1 calls sysintenable( ) for IRQ4, but not IRQ3 I/O #0 generates interrupts on IRQ3 I/O #1 generates interrupts on IRQ4 One CPU may control multiple I/O boards using the same interrupt level: CPU #0 calls sysintenable( ) for IRQ3 I/O #0 and #1 generate interrupts on IRQ3 If both boards generate interrupts at the same time, I/O #0 is serviced first (board closest to slot 0).
26 Interrupt Acknowledge Cycle Most CPU boards perform the interrupt acknowledge cycle automatically. If a CPU board does not do so, it will autovector, i.e., use the interrupt level as an index into the vector table to obtain the address of an ISR. In the event of autovectoring, the interrupt acknowledge cycle must be completed by executing the following call: int sysbusintack (intlevel) which returns the STATUS/ID read from the bus. Tornado Device Driver Workshop Copyright E-26 Boards that perform the interrupt acknowledge cycle in hardware have a null sysbusintack( ) routine.
27 Interrupt Vector Table Interrupt Number Interrupt Vector Interrupt Service Routine (ISR) Tornado Device Driver Workshop Copyright E-27 The size of the Interrupt Vector Table is architecture dependent. The table holds pointers to Interrupt Service Routines (ISRs). The Interrupt Vector Table is normally (but not always) located at address 0. The Interrupt Vector is the address of a specific entry in the Interrupt Vector Table. Use the INUM_TO_IVEC(intNumber) macro to convert interrupt number to interrupt vector. The above example is for a typical Motorola 68K board.
28 VMEbus Interrupt Handling Vectored interrupts Most common STATUS/ID from interrupt acknowledge cycle is used as index into interrupt table to select ISR Autovectored interrupts Interrupt level indexes ISR entry Interrupt acknowledge cycle must still be completed For most architectures, ISRs use a separate interrupt stack. Tornado Device Driver Workshop Copyright E-28 The size of the interrupt stack is determined by the ISR_STACK_SIZE in wind/target/config/all/configall.h. The default stack size is architecture dependent. ISRs for the following architectures use the current task s stack: Motorola CPU32 Motorola MC68000, MC68010 and MC68060 Intel 80386, and Pentium RAD 6000
The Peripheral Component Interconnect (PCI) Bus and vxworks
The Peripheral Component Interconnect (PCI) Bus and vxworks A Discussion of the implementation of PCI support on Tornado/vxWorks BSPs. Copyright 1984-1999 Wind River Systems Inc. ALL RIGHTS RESERVED. vxworks,
More informationIntroduction to VME. Laboratory for Data Acquisition and Controls. Last modified on 4/16/18 5:19 PM
Introduction to VME Laboratory for Data Acquisition and Controls Last modified on 4/16/18 5:19 PM VMEbus VMEbus is a computer architecture VME = Versa Module Eurocard 1980 Bus is a generic term describing
More informationVMEbus Vertical Interconnect Alan Jones
VMEbus Vertical Interconnect Alan Jones 1.0 INTRODUCTION The Vertical Interconnect module allows a standard VMEbus crate to be expanded, by accessing other remote VMEbus crates over a 60 MHz serial link.
More informationInterfacing. Introduction. Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures. Vahid, Givargis
Interfacing Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures Vahid, Givargis Introduction Embedded system functionality aspects Processing Transformation of data Implemented
More informationTechnical Information Manual
Technical Information Manual Revision n. 1 27 September 2002 MOD. V560 series 16 CHANNEL SCALERS CAEN will repair or replace any product within the guarantee period if the Guarantor declares that the product
More informationINPUT/OUTPUT ORGANIZATION
INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and
More informationVxWorks Driver Installation
VxWorks Driver Installation Document: CTI_SIO_Install Revision: 1.01 Date: January 4, 2010 VxWorks Driver Installation 2 of 16 VxWorks Driver Installation 1. HISTORY... 3 2. HARDWARE REQUIREMENTS... 4
More informationInterrupt/Timer/DMA 1
Interrupt/Timer/DMA 1 Exception An exception is any condition that needs to halt normal execution of the instructions Examples - Reset - HWI - SWI 2 Interrupt Hardware interrupt Software interrupt Trap
More informationCEC 450 Real-Time Systems
CEC 450 Real-Time Systems Lecture 10 Device Interface Drivers and MMIO October 29, 2015 Sam Siewert MMIO Interfacing to Off-Chip Devices Sam Siewert 2 Embedded I/O (HW View) Analog I/O DAC analog output:
More informationChapter Operation Pinout Operation 35
68000 Operation 35 Chapter 6 68000 Operation 6-1. 68000 Pinout We will do no construction in this chapter; instead, we will take a detailed look at the individual pins of the 68000 and what they do. Fig.
More informationINPUT/OUTPUT ORGANIZATION
INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and
More informationAllen-Bradley PLCs. Product Data
Product Data Take advantage of enhanced PLC-5 processor compatibility. As a full member of the PLC-5 family of processors, the PLC-5/VME processor provides the same capabilities as other enhanced PLC-5
More informationA[31..28] A[27..23] A[22] A[21..2] A[1] A[0] 0 Internal Memory Space SHARC A 0000 BAR[7..3] 1 Internal Memory Space SHARC B
MROD-Out Introduction The output part of the MROD module consists of a cluster of two output SHARCs. This cluster of SHARCs has three basic functions: 1. Drive an S-LINK 2. Connect to VMEbus 3. Receive
More information6 Direct Memory Access (DMA)
1 License: http://creativecommons.org/licenses/by-nc-nd/3.0/ 6 Direct Access (DMA) DMA technique is used to transfer large volumes of data between I/O interfaces and the memory. Example: Disk drive controllers,
More informationTrident Robotics and Research, Inc. User Documentation Department 2516 Matterhorn Drive Wexford, PA (412)
The information in this document is subject to change without notice. Trident Robotics and Research, Inc. does not guarantee the accuracy of the information contained in this document and makes no commitment
More informationSYS68K/CPU-6 User s Manual
SYS68K/CPU-6 User s Manual Edition No. 4 March 1997 P/N 200119 FORCE COMPUTERS Inc./GmbH All Rights Reserved This document shall not be duplicated, nor its contents used for any purpose, unless express
More informationTsi148/Universe II Differences Application Note. Formal Status September 29, 2014
Titl Tsi148/Universe II Differences Application Note September 29, 2014 Introduction This document outlines the differences between the Tsi148 and the Universe II (CA91C142D) VME bridge devices. It is
More informationUnit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION
Unit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION Introduction A general purpose computer should have the ability to exchange information with a wide range of devices in varying environments. Computers
More informationICS-121. VxWORKS DEVICE DRIVER MANUAL
ICS-121 VxWORKS DEVICE DRIVER MANUAL Interactive Circuits And Systems Ltd. February 1999 The information in this manual has been carefully checked and is believed to be reliable; however, no responsibility
More informationTPMC500-SW-42. VxWorks Device Driver. User Manual. The Embedded I/O Company. 32 Channel 12 Bit ADC. Version 2.0.x. Issue 2.0.
The Embedded I/O Company TPMC500-SW-42 VxWorks Device Driver 32 Channel 12 Bit ADC Version 2.0.x User Manual Issue 2.0.0 October 2004 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 e-mail: info@tews.com 25469 Halstenbek
More informationBus System. Bus Lines. Bus Systems. Chapter 8. Common connection between the CPU, the memory, and the peripheral devices.
Bus System Chapter 8 CSc 314 T W Bennet Mississippi College 1 CSc 314 T W Bennet Mississippi College 3 Bus Systems Common connection between the CPU, the memory, and the peripheral devices. One device
More informationEEL 4744C: Microprocessor Applications. Lecture 7. Part 1. Interrupt. Dr. Tao Li 1
EEL 4744C: Microprocessor Applications Lecture 7 Part 1 Interrupt Dr. Tao Li 1 M&M: Chapter 8 Or Reading Assignment Software and Hardware Engineering (new version): Chapter 12 Dr. Tao Li 2 Interrupt An
More informationReading Assignment. Interrupt. Interrupt. Interrupt. EEL 4744C: Microprocessor Applications. Lecture 7. Part 1
Reading Assignment EEL 4744C: Microprocessor Applications Lecture 7 M&M: Chapter 8 Or Software and Hardware Engineering (new version): Chapter 12 Part 1 Interrupt Dr. Tao Li 1 Dr. Tao Li 2 Interrupt An
More information1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7.
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 1 Introduction Electrical Considerations Data Transfer
More informationArchitecture Specification
PCI-to-PCI Bridge Architecture Specification, Revision 1.2 June 9, 2003 PCI-to-PCI Bridge Architecture Specification Revision 1.1 December 18, 1998 Revision History REVISION ISSUE DATE COMMENTS 1.0 04/05/94
More informationChapter. Overview. Tornado BSP Training Workshop Copyright Wind River Systems 1-1 Wind River Systems
Chapter 1 Overview Tornado BSP Training Workshop Copyright 1-1 Overview 1.1 Integration Issues VxWorks Boot Sequence Tornado Directory Structure Conventions and Validation Tornado BSP Training Workshop
More information8086 Interrupts and Interrupt Responses:
UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller
More informationProgrammed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors. 10/12/2017 Input/Output Systems and Peripheral Devices (02-2)
Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors 1 Principle of Interrupt-Driven I/O Multiple-Interrupt Systems Priority Interrupt Systems Parallel Priority Interrupts Daisy-Chain
More informationThe Purpose of Interrupt
Interrupts 3 Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is a hardware-initiated
More informationA Flexible VME Input/Output Module
A Flexible VME Input/Output Module (preliminary) Shudi Gu, Ed Jastrzembski Data Acquisition Group 7/99 Introduction It is often required in experiments to have a number of digital Input/Output (I/O) channels
More informationVMESCmodule. VME System Controller Module. Version 1.3.2
Datasheet VMESCmodule VME System Controller Module Version 1.3.2 INICORE INC. 5600 Mowry School Road Suite 180 Newark, CA 94560 t: 510 445 1529 f: 510 656 0995 e: info@inicore.com www.inicore.com C O P
More informationEPC -8 Highly integrated Intel486 -based VMEbus Embedded CPU
RadiSys EPC -8 Highly integrated Intel486 -based VMEbus Embedded CPU System Overview Two-slot version of EPC-8 VMEbus CPU module The RadiSys EPC-8 VMEbus CPU module is a high-performance Intel486- based
More information1 Do not confuse the MPU with the Nios II memory management unit (MMU). The MPU does not provide memory mapping or management.
Nios II MPU Usage March 2010 AN-540-1.0 Introduction This application note covers the basic features of the Nios II processor s optional memory protection unit (MPU), describing how to use it without the
More informationVMEbus MVS Series SCSI Host Adapters
VMEbus MVS Series SCSI Host Adapters Up to 40MB/s SCSI Data Rate Per Port Over 55MB/s VMEbus Burst Rate With Scatter/Gather Up to 5X The Performance of Embedded CPU Ports Mix SCSI FAST, FAST/WIDE & Ultra
More informationRemote booting. Slave booting, backplane booting and 'headless' booting procedures for a VxWorks target
Remote booting Slave booting, backplane booting and 'headless' booting procedures for a VxWorks target Copyright 1984-1999 Wind River Systems Inc ALL RIGHTS RESERVED VxWorks, Wind River Systems, the Wind
More informationNitro240/260 CPU Board Scalable 680x0 VME board for I/O intensive applications
Nitro240/260 CPU Board Scalable 680x0 VME board for I/O intensive applications Nitro260 features a 50 MHz MC68060 CISC processor with superscalar pipeline architecture for maximum integer and floating
More informationAlma2e PCI-to-VME Bridge: Using VME 2eSST Protocol
Alma2e PCI-to-VME Bridge: Using VME 2eSST Protocol Serge Tissot September 25, 2002 Overview The ALMA2e is a new bus bridge designed by Thales Computers that interfaces between the PCI bus and the VMEbus.
More informationCS399 New Beginnings. Jonathan Walpole
CS399 New Beginnings Jonathan Walpole Memory Management Memory Management Memory a linear array of bytes - Holds O.S. and programs (processes) - Each cell (byte) is named by a unique memory address Recall,
More informationTPMC821-SW-42. VxWorks Device Driver. User Manual. The Embedded I/O Company. INTERBUS Master G4 PMC. Version 1.4. Issue 1.
The Embedded I/O Company TPMC821-SW-42 VxWorks Device Driver INTERBUS Master G4 PMC Version 1.4 User Manual Issue 1.2 January 2004 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek / Germany Phone:
More informationCARRIER-SW-42. VxWorks Device Driver. IPAC Carrier. Version 4.2.x. User Manual. Issue July 2018
The Embedded I/O Company CARRIER-SW-42 VxWorks Device Driver IPAC Carrier Version 4.2.x User Manual Issue 4.2.0 July 2018 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany Phone: +49 (0) 4101
More informationModel 618-3, 618-9U & Adapters Hardware Manual. Connect a PCI Computer to a VMEbus System
Model 618-3, 618-9U & 620-3 Adapters Hardware Manual Connect a PCI Computer to a VMEbus System 2 Disclaimer Please read and abide by the following paragraphs. Questions and comments should be directed
More informationCPU Structure and Function. Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition
CPU Structure and Function Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition CPU must: CPU Function Fetch instructions Interpret/decode instructions Fetch data Process data
More informationChapter 12: INTERRUPTS
Chapter 12: INTERRUPTS 12 1 BASIC INTERRUPT PROCESSING This section discusses the function of an interrupt in a microprocessor-based system. Structure and features of interrupts available to Intel microprocessors.
More informationModule 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1
Module 3 Embedded Systems I/O Version 2 EE IIT, Kharagpur 1 Lesson 15 Interrupts Version 2 EE IIT, Kharagpur 2 Instructional Objectives After going through this lesson the student would learn Interrupts
More informationI/O - input/output. system components: CPU, memory, and bus -- now add I/O controllers and peripheral devices. CPU Cache
I/O - input/output system components: CPU, memory, and bus -- now add I/O controllers and peripheral devices CPU Cache CPU must perform all transfers to/from simple controller, e.g., CPU reads byte from
More informationTechnical Information Manual
Technical Information Manual Revision n. 0 MOD. V551 C-RAMS SEQUENCER TABLE OF CONTENTS TABLE OF CONTENTS... i LIST OF FIGURES... i LIST OF TABLES... i 1. DESCRIPTION... 1 1.1. FUNCTIONAL DESCRIPTION...
More information2. System Interconnect Fabric for Memory-Mapped Interfaces
2. System Interconnect Fabric for Memory-Mapped Interfaces QII54003-8.1.0 Introduction The system interconnect fabric for memory-mapped interfaces is a high-bandwidth interconnect structure for connecting
More informationVME64M VME64 MASTER CONTROLLER. Version 1.1
Datasheet VME64M VME64 MASTER CONTROLLER Version 1.1 INICORE INC. 5600 Mowry School Road Suite 180 Newark, CA 94560 t: 510 445 1529 f: 510 656 0995 e: info@inicore.com www.inicore.com C O P Y R I G H T
More informationDesign with Microprocessors
Design with Microprocessors Year III Computer Science 1-st Semester Lecture 11: I/O transfer with x86 I/O Transfer I/O Instructions We discussed IN, OUT, INS and OUTS as instructions for the transfer of
More informationComputer Architecture 5.1. Computer Architecture. 5.2 Vector Address: Interrupt sources (IS) such as I/O, Timer 5.3. Computer Architecture
License: http://creativecommons.org/licenses/by-nc-nd/3./ Hardware interrupt: 5. If in an eternal device (for eample I/O interface) a predefined event occurs this device issues an interrupt request to
More informationHANDLING MULTIPLE DEVICES
HANDLING MULTIPLE DEVICES Let us now consider the situation where a number of devices capable of initiating interrupts are connected to the processor. Because these devices are operationally independent,
More informationComputer Architecture CS 355 Busses & I/O System
Computer Architecture CS 355 Busses & I/O System Text: Computer Organization & Design, Patterson & Hennessy Chapter 6.5-6.6 Objectives: During this class the student shall learn to: Describe the two basic
More informationMicroStandards. The VME subsystem bus Shlomo Pri-Tal SPECIAL FEATURE / Motorola Microsystems Tempe, Arizona
SPECIAL FEATURE /.............. MicroStandards The VME subsystem bus Shlomo Pri-Tal Motorola Microsystems Tempe, Arizona In the latter part of 1984, the Technical Committee of the VME International Trade
More informationEE414 Embedded Systems. Ch 6. Interfacing. Part 4/4: DMA & Arbitration
EE414 Embedded Systems Ch 6. Interfacing Part 4/4: DMA & Arbitration Byung Kook Kim School of Electrical Engineering Korea Advanced Institute of Science and Technology Overview Part D. DMA and Arbitration
More informationUNIT II SYSTEM BUS STRUCTURE 1. Differentiate between minimum and maximum mode 2. Give any four pin definitions for the minimum mode. 3. What are the pins that are used to indicate the type of transfer
More informationQuestion Bank Microprocessor and Microcontroller
QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to
More informationComputer Organization ECE514. Chapter 5 Input/Output (9hrs)
Computer Organization ECE514 Chapter 5 Input/Output (9hrs) Learning Outcomes Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge
More informationINPUT-OUTPUT ORGANIZATION
1 INPUT-OUTPUT ORGANIZATION Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer Priority Interrupt Direct Memory Access Input-Output Processor Serial Communication 2
More informationEmbedded Busses. Large semiconductor. Core vendors. Interconnect IP vendors. STBUS (STMicroelectronics) Many others!
Embedded Busses Large semiconductor ( IBM ) CoreConnect STBUS (STMicroelectronics) Core vendors (. Ltd AMBA (ARM Interconnect IP vendors ( Palmchip ) CoreFrame ( Silicore ) WishBone ( Sonics ) SiliconBackPlane
More informationVMIVME-7700 Ultra Low Voltage Intel Celeron VMEbus
Ultra Low Voltage Intel Celeron VMEbus Intel s Ultra Low Voltage Celeron 400 MHz/650 MHz processor Special features for embedded applications include: Up to 1 GB bootable Flash on secondary IDE (optional)
More informationThe control of I/O devices is a major concern for OS designers
Lecture Overview I/O devices I/O hardware Interrupts Direct memory access Device dimensions Device drivers Kernel I/O subsystem Operating Systems - June 26, 2001 I/O Device Issues The control of I/O devices
More informationWeek 11 Programmable Interrupt Controller
Week 11 Programmable Interrupt Controller 8259 Programmable Interrupt Controller The 8259 programmable interrupt controller (PIC) adds eight vectored priority encoded interrupts to the microprocessor.
More informationIntroduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses
Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses 1 Most of the integrated I/O subsystems are connected to the
More informationSL100/SL240 Software Installation Manual for Tornado 2.2 and VxWorks Using the PCI, PMC, or CPCI Cards. Document No. F-T-MI-VWXXGS21-A-0-A5
SL100/SL240 Software Installation Manual for Tornado 2.2 and VxWorks 5.31-5.5 Using the PCI, PMC, or CPCI Cards Document No. F-T-MI-VWXXGS21-A-0-A5 FOREWORD The information in this document has been carefully
More informationEmbedded Systems Dr. Santanu Chaudhury Department of Electrical Engineering Indian Institute of Technology, Delhi
Embedded Systems Dr. Santanu Chaudhury Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 13 Virtual memory and memory management unit In the last class, we had discussed
More informationPAS 9796/DIO ENGINEERING SPECIFICATION
Document PAS018 DOC Revision C1 10/14/2009 PAS 9796/DIO ENGINEERING SPECIFICATION 160 CHANNEL VME DIGITAL INPUT / OUTPUT CARD Additional copies of this manual or other Precision Analog Systems (PAS) literature
More informationImplementing Basic Memory Protection in VxWorks: A Best Practices Guide
WIND RIVER WHITE PAPER Implementing Basic Memory Protection in VxWorks: A Best Practices Guide Paul Chen Product Manager, Wind River Contents Implementing Basic Memory Protection in VxWorks: A Best Practices
More informationArtisan Technology Group is your source for quality new and certified-used/pre-owned equipment
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment FAST SHIPPING AND DELIVERY TENS OF THOUSANDS OF IN-STOCK ITEMS EQUIPMENT DEMOS HUNDREDS OF MANUFACTURERS SUPPORTED
More information2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.
DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in
More informationInstruction Set Architecture of MIPS Processor
CSE 3421/5421: Introduction to Computer Architecture Instruction Set Architecture of MIPS Processor Presentation B Study: 2.1 2.3, 2.4 2.7, 2.10 and Handout MIPS Instructions: 32-bit Core Subset Read:
More informationVMIVME Intel Pentium III Socket 370 Processor-Based VMEbus Single-Board Computer REVIEW
Intel Pentium III Socket 370 Processor-Based VMEbus Single-Board Computer Intel Pentium III PGA370 socket-based single-board computer (SBC) with operating system support for Windows 98 second edition,
More informationVME - CAN4 CAN Controller for 4 CAN Nets Hardware Manual
VME - CAN4 CAN Controller for 4 CAN Nets Hardware Manual N O T E The information in this document has been carefully checked and is believed to be entirely reliable. esd makes no warranty of any kind with
More informationChapter 8 Memory Management
Chapter 8 Memory Management Da-Wei Chang CSIE.NCKU Source: Abraham Silberschatz, Peter B. Galvin, and Greg Gagne, "Operating System Concepts", 9th Edition, Wiley. 1 Outline Background Swapping Contiguous
More informationCS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14
CS 134 Operating Systems April 8, 2013 Lecture 20 Input/Output Instructor: Neil Rhodes Hardware How hardware works Operating system layer What the kernel does API What the programmer does Overview 2 kinds
More informationVME-GPIB Installation and User Guide
VME-GPIB Installation and User Guide Contents Introduction Introduction... 1 What Your Kit Should Contain... 2 Optional Equipment and Software Packages... 3 Unpacking your VME-GPIB... 3 Functional Overview...
More informationMEMORY MANAGEMENT UNITS
Memory Management Units memory management unit (MMU) simply converts a virtual address generated by a CPU into a physical address which is applied to the memory system address space divided into fixed
More informationHardware Reference Manual VME64Bus Adapters
GE Intelligent Platforms GFK-2945 Hardware Reference Manual VME64Bus Adapters Third Edition Number: 85913163 These instructions do not purport to cover all details or variations in equipment, nor to provide
More informationVMIVME Intel Pentium III Processor-Based VMEbus Single-Board Computer
Pentium III FC-PGA/PGA2 socket processor-based single-board computer (SBC) with 133 MHz system bus Special features for embedded applications include Up to 192 Mbyte bootable flash on secondary IDE (optional)
More informationVMIVME-7750* Specifications
GE Intelligent Platforms VMIVME-7750* Specifications Intel Pentium III Processor- Based VME Single Board Computer Features: Up to 1.26 GHz Pentium III processor with 512 Kbyte advanced transfer cache Up
More informationTechnical Information Manual
Technical Information Manual Revision n. 3 28 August 2002 MOD. V550 / V550 B MOD. V550 A / V550 AB 2 CHANNEL C-RAMS CAEN will repair or replace any product within the guarantee period if the Guarantor
More informationECE 485/585 Microprocessor System Design
Microprocessor System Design Lecture 3: Polling and Interrupts Programmed I/O and DMA Interrupts Zeshan Chishti Electrical and Computer Engineering Dept Maseeh College of Engineering and Computer Science
More informationLearning Outcomes. An understanding of page-based virtual memory in depth. Including the R3000 s support for virtual memory.
Virtual Memory 1 Learning Outcomes An understanding of page-based virtual memory in depth. Including the R3000 s support for virtual memory. 2 Memory Management Unit (or TLB) The position and function
More informationSOLVING VENDOR LOCK-IN IN VME SINGLE BOARD COMPUTERS THROUGH OPEN-SOURCING OF THE PCIE-VME64X BRIDGE
16th Int. Conf. on Accelerator and Large Experimental Control Systems ICALEPCS2017, Barcelona, Spain JACoW Publishing doi:10.18429/jacow-icalepcs2017- SOLVING VENDOR LOCK-IN IN VME SINGLE BOARD COMPUTERS
More informationLearning Outcomes. An understanding of page-based virtual memory in depth. Including the R3000 s support for virtual memory.
Virtual Memory Learning Outcomes An understanding of page-based virtual memory in depth. Including the R000 s support for virtual memory. Memory Management Unit (or TLB) The position and function of the
More information4) In response to the the 8259A sets the highest priority ISR, bit and reset the corresponding IRR bit. The 8259A also places
Lecture-52 Interrupt sequence: The powerful features of the 8259A in a system are its programmability and the interrupt routine address capability. It allows direct or indirect jumping to the specific
More informationsun4m Architecture Porting Guide
sun4m Architecture Porting Guide Hal L. Stern Sun Microsystems Computer Company Northeast Area Systems Engineering Group Lincoln, MA Introduction The sun4m architecture is Sun s first multiprocessing system,
More informationSystems Architecture II
Systems Architecture II Topics Interfacing I/O Devices to Memory, Processor, and Operating System * Memory-mapped IO and Interrupts in SPIM** *This lecture was derived from material in the text (Chapter
More informationIPAC for VME64x. Pete Owens Daresbury Laboratory
IPAC for VME64x Pete Owens Daresbury Laboratory VME64x Geographical addressing Hot-swap capability Intelligent backplane First slot detection More backplane connectors/pins Rear plug in units... 2 Hytec
More informationEmbedded System Design
Embedded System Design Lecture 5 Jaeyong Chung System-on-Chips (SoC) Laboratory Incheon National University What We Have Covered So Far Instruction Set Architecture How CPU interacts with I/O controllers
More informationCARRIER-SW-82. Linux Device Driver. IPAC Carrier Version 2.2.x. User Manual. Issue November 2017
The Embedded I/O Company CARRIER-SW-82 Linux Device Driver IPAC Carrier Version 2.2.x User Manual Issue 2.2.0 November 2017 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany Phone: +49 (0)
More informationCS 550 Operating Systems Spring Interrupt
CS 550 Operating Systems Spring 2019 Interrupt 1 Revisit -- Process MAX Stack Function Call Arguments, Return Address, Return Values Kernel data segment Kernel text segment Stack fork() exec() Heap Data
More informationArchitecture of Computers and Parallel Systems Part 2: Communication with Devices
Architecture of Computers and Parallel Systems Part 2: Communication with Devices Ing. Petr Olivka petr.olivka@vsb.cz Department of Computer Science FEI VSB-TUO Architecture of Computers and Parallel Systems
More informationEE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University
EE108B Lecture 17 I/O Buses and Interfacing to CPU Christos Kozyrakis Stanford University http://eeclass.stanford.edu/ee108b 1 Announcements Remaining deliverables PA2.2. today HW4 on 3/13 Lab4 on 3/19
More informationPC Interrupt Structure and 8259 DMA Controllers
ELEC 379 : DESIGN OF DIGITAL AND MICROCOMPUTER SYSTEMS 1998/99 WINTER SESSION, TERM 2 PC Interrupt Structure and 8259 DMA Controllers This lecture covers the use of interrupts and the vectored interrupt
More informationTPMC868-SW-42. VxWorks Device Driver. 16 Channel Serial PMC. Version 2.1.x. User Manual. Issue December 2011
The Embedded I/O Company TPMC868-SW-42 VxWorks Device Driver 16 Channel Serial PMC Version 2.1.x User Manual Issue 2.1.0 December 2011 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany Phone:
More informationTypes of Interrupts:
Interrupt structure Introduction Interrupt is signals send by an external device to the processor, to request the processor to perform a particular task or work. Mainly in the microprocessor based system
More informationLatticeMico32 GPIO. Version. Features
The LatticeMico32 GPIO is a general-purpose input/output core that provides a memory-mapped interface between a WISHBONE slave port and generalpurpose I/O ports. The I/O ports can connect to either on-chip
More informationArtisan Technology Group is your source for quality new and certified-used/pre-owned equipment
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment FAST SHIPPING AND DELIVERY TENS OF THOUSANDS OF IN-STOCK ITEMS EQUIPMENT DEMOS HUNDREDS OF MANUFACTURERS SUPPORTED
More information30/05/96 V465 User's Manual CHIMERA VERSION TABLE OF CONTENTS
TABLE OF CONTENTS TABLE OF CONTENTS...i LIST OF FIGURES...ii LIST OF TABLES...ii 1. DESCRIPTION...1 1.1. FUNCTIONAL DESCRIPTION (STD. VERSION)...1 1.2. FUNCTIONAL DESCRIPTION ()...2 2. SPECIFICATIONS...4
More informationChapter 6. I/O issues
Computer Architectures Chapter 6 I/O issues Tien-Fu Chen National Chung Cheng Univ Chap6 - Input / Output Issues I/O organization issue- CPU-memory bus, I/O bus width A/D multiplex Split transaction Synchronous
More information