Você está na página 1de 28

COMPUTER HARDWARE & MAINTENANCE

Device Driver Programming

Unit-1 : Introduction

Prepared by : Bharti Parmar

Contents

Introduction: Device driver device driver programming What is System Embedded System Processor in the System Software Embedded into a System System-On-Chip(SOC) Embedded System in VLSI Circui

What is Device driver ?

A program that controls the functioning

of a device. A device driver is software code that enables an operating system to interface with a hardware device. In essence, the driver acts as a translator between the operating system and the hardware. Every device, whether it be a Peripheral such as printer, LCD display unit, keypad or an internal device such as timer, must have a driver.

Device Driver

A program that controls the functioning of a device. A device may have multiple functions. Each device function is controlled by the driver The driver provides a software layer (interface) between application and the actual device.

Device Driver

Device driver use a set of generic functions,

such as create ( ),open ( ), connect ( ), listen ( ), accept ( ),read ( ), write ( ), close ( ), delete ( ) for use by high level programmers Each generic function calls a specific software (interrupt service routine), which controls a device function or device input or output

What is device driver programming


Device driver development may be quite complex since it requires a registerlevel understanding of the hardware as well as a low-level understanding of the operating system.

WHAT IS SYSTEM

A way of working, organizing or performing one

or many tasks according to a fixed set of rules, program or plan. Also an arrangement in which all units assemble and work togethe according to a program or plan. Examples-Time display system A watch Cloth washing system A washing machine

Embedded System

An embedded system is a combination of

computer hardware and software, and perhaps additional mechanics or other parts, designed to perform a specific function Embedded systems are electronic systems that contain a microprocessor or microcontroller, but we do not think of them as computers computer is hidden or embedded in the system.

Embedded System

A electronic system which is designed for a


dedicated purpose is called Embedded system . Software for an embedded system is developed on one platform but runs on another Platform may means different things depends on its context. Platform = Hardware or Software or Development tools

Examples of embedded systems


Embedded system exist everywhere, if we look around our self, we can find many embedded systems. classic example is your watch. Examples of embedded system in your home: microwave oven, washing machine, TV, DVD player, remote control, toys, mobile, telephone etc. your car have more that 100 embedded systems in it.

Processor in the System

Software Embedded into a System

Device drivers Device manager Operating System Real Time System Software tools

Device Driver
A device driver is software for controlling (configuring), receivin and sending a byte or a stream of bytes from or to a device.

Device Manager
Device Management software (usually a part of the OS) provide codes for detecting the presence of devices, for initializing (configuring) these and for testing the devices that are present

Operating System

Real Time System

Real time system = a system that is response to

its external input (event) in a timely (restrict or non restrict) fashion. External events are o synchronous = periodic o asynchronous = aperiodic

Real Time System


Real-time system must respond to external events
1. recognizing when an event occurs 2. performing the required processing as a result of the event

outputting the necessary results within a given time constraint 4. Timing constraints include finish time, or both start time and finish time.

Software tools
1. 2. 3. 4. Editor, Interpreter, Compiler, Assembler and Cross Assembler, IDE, 5. Prototyper

SYSTEM-ON-CHIP (SoC)

SoC is a system on a VLSI chip that


has all needed analog as well as digital circuits, processors and software, for example, single-chip mobile phone

Embedded System in VLSI Circuit

Embedded System in VLSI Circuit

Thanx !!!!

Exemplary Embedded Systems

Você também pode gostar