55
CT74 EMBEDDED SYSTEMS DEC 2015 © IETE 1 Q.1 a. Describe the domestic and industrial application of embedded system. Answer:

CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

Embed Size (px)

Citation preview

Page 1: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 1

Q.1 a. Describe the domestic and industrial application of embedded system. Answer:

Page 2: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 2

b. Show the contents of the PSW register of after execution of the following instruction.

MOV A, #0BFH ADD A, #1BH Answer:

Page 3: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 3

c. Explain briefly different types of memories used in 8051. Answer:

Page 4: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 4

Page 5: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 5

d. Explain Scheduling Algorithms of RTOS.

Page 6: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 6

Answer:

e. What is Pipelining? Explain with an example. Answer:

Page 7: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 7

Page 8: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 8

f. Explain development environment and debugging techniques. Answer:

Page 9: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 9

Page 10: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 10

Page 11: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 11

Page 12: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 12

Page 13: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 13

g. Generate a frequency of 100 KHz on pin p2.3. Use Timer 1 in mode 1 assume XTAL of 22 MHz. (7×4)

Answer:

Page 14: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 14

Q.2 a. What are the criteria for selection of processor for use in an embedded system? (6) Answer:

Page 15: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 15

Page 16: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 16

b. Design a Finite State Machine using a simple microprocessor. (6) Answer:

Page 17: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 17

Page 18: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 18

c. Give the features of SoC design. (6) Answer:

Page 19: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 19

Page 20: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 20

Q.3 a. What are the different types of ROM? Explain read/write mechanism of EEPROM. (6)

Answer:

Page 21: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 21

b. Discuss common memory problem and possible solutions. (6) Answer:

Page 22: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 22

Page 23: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 23

Page 24: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 24

Page 25: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 25

c. Give the issues that need to be considered when upgrading software using flash memory. (6)

Answer:

Page 26: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 26

Page 27: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 27

Page 28: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 28

Q.4 a. Explain communication basics for embedded system with a simple example of bus structure, read protocol and write protocol. (6)

Answer:

Page 29: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 29

Page 30: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 30

b. Discuss embedded processor interfacing and explain port-based I/O and bus-based I/O. (6)

Answer:

Page 31: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 31

Page 32: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 32

Page 33: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 33

Page 34: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 34

c. Draw and explain two-level bus architecture. (6) Answer:

Page 35: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 35

Page 36: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 36

Q.5 a. What is scheduler? Explain Priority based scheduling. (6) Answer:

Page 37: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 37

Page 38: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 38

Page 39: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 39

Page 40: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 40

b. Discuss some of the important criteria used in making an RTOS selection. (6) Answer:

Page 41: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 41

Page 42: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 42

Page 43: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 43

c. Explain interrupt handling in embedded system. (6) Answer:

Page 44: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 44

Q.6 a. Discuss system synthesis and hardware/software co-design. (6) Answer:

Page 45: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 45

Page 46: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 46

Page 47: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 47

b. Explain formal verification and simulation of hardware/software co-design. (6) Answer:

Page 48: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 48

c. Give the steps of development of process model. (6) Answer:

Page 49: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 49

Page 50: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 50

Page 51: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 51

Q.7 a. Design a process control system and explain its different parts. (10) Answer:

Page 52: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 52

Page 53: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 53

Page 54: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 54

b. Discuss the benefits of computer-based control implementations. (8) Answer:

Page 55: CT74 EMBEDDED SYSTEMS DEC 2015 - iete-elan.ac.in · CT74 EMBEDDED SYSTEMS DEC 2015 ... Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction

CT74 EMBEDDED SYSTEMS DEC 2015

© IETE 55

Text Book

Wayne Wolf, Computers as Components: Principle of Embedded Computing System Design, Second edition, Morgan Kaufmann Publishers, 2008.

Frank Vahid and Tony Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction , John Wiley & Sons,2002.