Professional Documents
Culture Documents
VII SYSTEMS
EMBEDDED 3 0 0 3
COMMON TO ECE & MECT
AIM
To learn the basic concepts of embedded systems and its applications.
OBJECTIVES
To introduce students to the embedded systems, its hardware and software.
To introduce devices and buses used for embedded networking.
To explain programming concepts and embedded programming in C and C++
To introduce the software development tools in embedded systems.
To introduce the concepts of Real Time Operating System.
UNIT I INTRODUCTION TO EMBEDDED SYSTEMS 9
Definition –Processor Embedded into a System – Embedded Hardware Units and Devices in system –
Embedded Software in a System – Examples of Embedded system –System on Chip (Soc) and Use
of VLSI Design Technology – Complex Design and Processors – Design Process – Formalizations of
System Design – Design Process and Design Examples – Classifications of Embedded Systems.
UNIT II DEVICES AND BUSES FOR DEVICES NETWORK 9
Device I/O Types and Examples – Serial Communication Devices – Parallel Devices Ports –
Sophisticated Interfacing Features in Devices Ports – Wireless Devices – Timer and Counting Devices
– Watchdog Timer – Real Time Clock – Networked Embedded Systems – Serial Bus
Communication Protocols – Parallel Bus Device Protocol – Parallel Communication Network Using
ISA, PCI, PCI-X, cPCI and advanced buses.
UNIT III PROGRAMMING CONCEPTS AND EMBEDDED PROGRAMMING IN C, C++ 9
Programming in assembly language (ALP) vs. High Level Language - C Program Elements,
Macros and functions -Use of Pointers - NULL Pointers - Use of Function Calls – Multiple function
calls in a Cyclic Order in the Main Function Pointers – Function Queues and Interrupt Service
Routines Queues Pointers – Concepts of EMBEDDED PROGRAMMING in C++ - Objected Oriented
Programming – Embedded Programming in C++, ‘C’ Program compilers – Cross compiler–
Optimization of memory codes.
UNIT IVSOFTWARE DEVELOPMENT AND TOOLS 9
Embedded system evolution trends. Round - Robin, robin with Interrupts, function-One-
Scheduling Architecture, Algorithms. Introduction to-assembler-compiler-cross compilers and
Integrated Development Environment (IDE). Object Oriented Interfacing, Recursion, Debugging
strategies, Simulators.
UNIT VREAL TIME OPERATING SYSTEMS 9
Task and Task States, tasks and data, semaphores and shared Data Operating system Services-Message
queues- Timer Function-Events-Memory Management, Interrupt Routines in an RTOS environment,
basic design Using RTOS.
TOTAL HOURS: 45
TEXT BOOKS:
1. Rajkamal, Embedded Systems Architecture, Programming and Design,
TATA McGraw-Hill, Second Edition, Sixth reprint Oct. 2010
2. David E Simon, “An embedded software primer ", Pearson education
Asia, Eighth Impression, 2009.
REFERENCE BOOKS:
1. Steve Heath, Embedded Systems Design, Second Edition-2003, Newnes,
2. Wayne Wolf, Computers as Components; Principles of Embedded
Computing System Design – Harcourt India, Morgan Kaufman
Publishers, 2008.
3. Frank Vahid and Tony Givargis, “Embedded Systems Design – A
unified Hardware /Software Introduction”, John Wiley, 2006.
VINAYAKA MISSIONS UNIVERSITY
VMKV ENGINEERING COLLEGE, SALEM
&
AARUPADAI VEEDU INSTITUTE OF TECHNOLOGY, CHENNAI
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING
QUESTION BANK
COMMON TO ECE & MECT
UNIT-I
INTRODUCTION TO EMBEDDED SYSTEMS
PART-A
1. Define Embedded System.
An embedded system is a system that has embedded software and computer-hardware,
which makes it a system dedicated for an application(s)or specific part of an application
or product or a part of a larger system.
5. Define a system.
A system is a way of working, organizing or doing one or many tasks according to
affixed plan, program or set of rules.
6. List out applications of embedded system
S.No Embedded Application
System
1 Home Dishwasher, washing machine, Microwave, Top-set box, Security System, HV
Appliances AC System, DVD, answering machine,garden sprinkler systems etc.
2 Office Fax,Copy machine,Smart phone System,Modem, Scanner, Printers
Automation
7. Define Processor.
A processor is the important unit in embedded system that executes the instruction cycles
and executes one process or many process as per the command given to it.
` 14. Mention the software components used in automatic chocolate vending machine.
a. Keypad input read task.
b. Display task.
c. Read coins task for finding coins sorted.
d. Deliver chocolate task.
e. TCP/IP stack processing task.
f. TCP/IP stack communication task.
PART-B
1. Discuss about the various processors Embedded into a system.
2. Describe about Embedded Hardware units and devices in a System.
3. Discuss about the classified the embedded system with example.
4. Write short note on:
a. Software Tools for Designing an Embedded System
b. Software for Device Driver and Device Management in an Operating System
5. Discuss about Embedded System on Chip and use of VLSI Circuit Design Technology
6. Illustrate the abstraction of steps in the Design Process.
7. Discuss about Challenges in Embedded System Design.
8. Elucidate the Automatic Chocolate Vending Machine with a neat Diagram.
9. Explain the System Design process for contact less Smart Card with a block diagram.
10. Discuss the Hardware and Software Components in a Digital Camera.
UNIT-II
DEVICES AND BUSES FOR DEVICES NETWORK
PART-A
1. Define Serial Port.
A serial port is a port for serial communication. A port for read and write operations with one bit at
an instance and where each bit of the message is separated by constant time intervals. A serial
port communication is over short or long distances.
PART-B
1. Classify the Serial ports of IO devices with necessary diagram.
2. Describe Synchronous Communication and Asynchronous Communication in serial communication
devices.
3. Elucidate the serial Data communication using the SPI, SCI and SI Port with suitable diagrams.
4. Explain the Parallel I/O, Bidirectional Device Ports with a neat diagram.
5. Explain the Parallel port interfacing with LCD Controller with a suitable diagram.
6. Explain the Parallel port interfacing with Switches & Keypad with suitable diagram.
7. Discuss in detail about Timer and Counting Devices.
8. Explain the CAN Bus involved in serial data communication with a neat diagram.
9. Explain the USB Bus involved in serial data communication with neat diagram.
10. Write Short notes on:
a. ARM BUS
b. ISA BUS
c. I²C BUS
UNIT – III
PROGRAMMING CONCEPTS AND EMBEDDING PROGRAMMING IN C, C++
PART-A
3. Mention the most important feature in C that makes it a popular HLL for an embedded system
i) Inline assembly
ii)Readily available modules and library functions.
5. List out some ‘Include’ header files used in ‘C’ language in embedded system.
#include<vxwork.h>
#include<semlib.h>
#include<tasklib.h>
#include<syslib.h>
9. What is List?
Each element includes item and pointer. Contain nodes (element).Each element has a
pointer to its next element. Only the first element is identifiable and it is done by list top
pointer. No other element is identifiable and hence is not accessible directly.
PART-B
2. Define Assembler
To convert an assembly language program into machine code,an assembler is required. Assemblers are
programs that process assembly language source program statements and translate these into executable
machine language object files.
4. Define Recursion.
A function which calls itself directly or indirectly again and again is known as the recursive function.
Recursive functions are very useful while constructing the data structures like linked lists, double linked
lists and trees.
6. Define Interrupt
A hardware signal that breaks the flow of program execution and transfers control to a predetermined
storage location so that another procedure can be followed or a new operation carried out.
8. Mention the advantages of Round Robin with Interrupt compared to Round Robin.
1. The interrupts are little more advantageous by controlling with priorities.since the interrupt
routines have high priority, they are executed once needed in service.
2. If any service needs high response, then they can be added inside interrupt routine.whatever
added in the interrupt routine gets high priority and executed first.
BDM is Background Debugging Module. The BDM communicates with the debugger using two or three
wired serial interface. BDM is not that flexible as ICE but still has ability to set breakpoints, stop the
computer, read/write registers,I/O ports and memory.
PART-B
UNIT – V
REAL TIME OPERATING SYSTEMS
PART-A
1. Define Task.
Task is defined as embedded program computational unit that runs on a CPU under the state-control of
kernel of an OS. It has a state, which at an instance defines by status (running, blocked or
finished),structure- its data, objects and resources and control block.
5. Define semaphore.
Semophores provides a mechanism to let a task wait until another finishes. It is the way of synchronizing
the concurrent processing operations.Semophores can be used as an event flag or as a resource
key.Resource Key is the one which permits use of resources like CPU memory or other functions or critical
section code.
8. Define Signal.
A signal is just an interrupt that is shared and used by another interrupt-servicing process. A signal raised by
one process forces another process (signal handler) to interrupt and catch that signal in case the signal is not
masked.
9. List the function of Semaphore.
1. OSSemCreate
2. OSSemPost
3. OSSemPend
4. OSSemAccept
5. OSSemQuery