54 debugging software simulators allow the programmer

Info iconThis preview shows pages 54–62. Sign up to view the full content.

View Full Document Right Arrow Icon
54 Debugging • Software Simulators allow the programmer to debug completely on the host system, which can be quicker . • When it comes down to it, an oscilloscope and a multimeter can be your best friend for debugging.
Background image of page 54

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
SUSHMA RAWAL 55 Device Drivers Device Any peripheral such as a graphics display, disk driver, terminal, or printer is a device. A device is usually considered to be a piece of hardware that you can connect to your computer system and that you wish to manipulate by sending commands and data.
Background image of page 55
SUSHMA RAWAL 56 Device Drivers Three Classes of Device Character Devices ex: Key board, mouse, monitor, printer, Tape, etc., Block Devices Ex: CD-ROM, floppy, Hard disk, etc., Network Interfaces ex: Ethernet card, etc.,
Background image of page 56

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
SUSHMA RAWAL 57 Device Drivers • The OS interacts with devices through a program known as “Device Driver” • A device driver is a specific type of computer software developed to allow interaction with hardware devices. • Typically this constitutes an interface for communicating with the device, through the specific computer bus or communications subsystem that the hardware is connected to, providing commands to and/or receiving data from the device, and on the other end, the requisite interfaces to the operating system and software applications
Background image of page 57
SUSHMA RAWAL 58 Device Drivers • Structure of Device Driver is OS specific • Some RTOS allow device drivers to be installed and removed dynamically. Statically linked driver , whose object code is linked with the kernel. The code of such device driver is physically contained in the kernel and therefore loaded in memory when the system boots. Dynamically linked driver , whose object code is NOT linked with the kernel. The code of such device driver is NOT contained in the kernel, and the device driver is loaded and unloaded as and when required.
Background image of page 58

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
SUSHMA RAWAL 59 Real time in operating systems “The ability of the operating system to provide a required level of service in a bounded response time.”
Background image of page 59
SUSHMA RAWAL 60 Characteristics of an Embedded OS • Small footprint • Memory Resident: size is important consideration – Data structure optimized – Kernel optimized and usually in assembly language • Provide efficient methods for resource management • Real-time scheduling – tight-coupled scheduler and interrupts • Power management capabilities
Background image of page 60

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
SUSHMA RAWAL 61 Who are the Embedded OS players • Wind River Systems – VxWorks – pSOS • Mentor Graphics – Nucleus • Palm Computing – PalmOS • Symbian – SymbianOS
Background image of page 61
SUSHMA RAWAL 62 Challenges in embedded system design How much hardware do we need? How big is the CPU? Memory? How do we meet our deadlines? Faster hardware or cleverer software? How do we minimize power? Turn off unnecessary logic? Reduce memory accesses?
Background image of page 62
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page54 / 62

54 Debugging Software Simulators allow the programmer to...

This preview shows document pages 54 - 62. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online