VARDHAMAN COLLEGE OF ENGINEERING

(AUTONOMOUS)

Shamshabad, Hyderabad – 501 218

QUESTION PAPER

Name of the Subject: EMBEDDED SYSTEMS

Course: B. Tech / M. Tech / MBA Semester: VII

Subject Code: A1430 Max. Marks: 20

Midterm: II Time: 2 Hrs

Answer All Questions from Part - A
Answer any Three Questions from Part - B

PART-A (5 X 1M = 5 Marks)

Unit-III
1. / a) / Elaborate Task and Task priority? / 1M
b) / State the three possible states of Task in RTOS? / 1M
Unit-IV
c) / Draw the oscilloscope display of a reasonable clock signal, a questionable clock signal & a reasonable ROM chip select signal. / 1M
d) / What are the factors for selecting a processor during the system design phase? / 1M
Unit- V
e) / What is the difference between the Harvard and Von Neumann architectures? / 1M
PART-B (3 X 5M = 15 Marks)
Unit-III
2. / For each of the following situations, discuss which of the three shared-data protection mechanisms most likely to be best and explain why.
a) / Task A and Task B share an ‘int array’ and each often must update many elements in an array. / 2.5M
b) / Task B shares a single ‘char’ variable with one of the interrupt routines. / 2.5M
3. / a) / Discuss various methods adopted to reduce power consumption in embedded applications. / 2M
b) / State the importance of pipes in inter-task communication. / 3M
Unit-IV
4. / a) / What are the main goals of software development for embedded systems? Explain how a Host system meets these goals. / 2M
b) / Why serial communication facility is required in embedded systems? What are the communication parameters and explain the steps involved in typical serial data transmit and receive programs with the help of flow charts. / 3M
5. / Explain the following software development tools
a) / A Cross-Compiler and A Cross-Assembler / 3M
b) / A Linker and A loader/locator / 2M
Unit- V
6. / a) / Draw and explain the programming model of ARM processor? / 3M
b) / Explain the Differences between RISC and CISC Processor? / 2M

VARDHAMAN COLLEGE OF ENGINEERING

(AUTONOMOUS)

Shamshabad, Hyderabad – 501 218

QUESTION PAPER

Name of the Subject: EMBEDDED SYSTEMS

Course: B. Tech / M. Tech / MBA Semester: VII

Subject Code: A1430 Max. Marks: 20

Midterm: II Time: 2 Hrs

Answer All Questions from Part - A
Answer any Three Questions from Part – B

PART-A (5 X 1M = 5 Marks)

Unit-III
1. / a) / State the purpose of Scheduler in RTOS? / 1M
b) / Elaborate the following terms: (i) Semaphores in RTOS (ii) Reentrancy . / 1M
Unit-IV
c) / Compare PROM programmer & ROM emulators with notations. / 1M
d) / Differentiate cross assembler & cross compiler. / 1M
Unit- V
e) / What is the difference between a big-endian and little-endian data representation? / 1M
PART-B (3 X 5M = 15 Marks)
Unit-III
2. / a) / Elaborate the characteristics of a ‘reentrant’ function. Where and why do we need ‘reentrant’ functions? / 3M
b) / Explain the hard real-time scheduling considerations with an example. / 2M
3. / a) / State the functions of a scheduler in an RTOS and how does the scheduler carryout those functions. / 2M
b) / Demonstrate with neat sketch, the execution flow with semaphores in Tank monitoring system example? / 3M
Unit-IV
4. / a) / Taking suitable examples explain how to Create a Memory block, Get data from memory and Post data in the memory. / 3M
b) / Describe how the logic analyzers are working in timing mode & state mode with neat diagrams. / 2M
5. / a) / Define test scaffold, discuss the test scaffold foe the bar code scanner software with neat sketches. / 2M
b) / Draw & explain the block diagram of tool chain for building embedded software & native tool chain. / 3M
Unit- V
6. / a) / Elaborate ARM. List different type of instructions in ARM processor? / 3M
b) / What are the major difference between ARM and SHARC processor. / 2M

VARDHAMAN COLLEGE OF ENGINEERING

(AUTONOMOUS)

Shamshabad, Hyderabad – 501 218

QUESTION PAPER

Name of the Subject: EMBEDDED SYSTEMS

Course: B. Tech / M. Tech / MBA Semester: VII

Subject Code: A1430 Max. Marks: 20

Midterm: II Time: 2 Hrs

Answer All Questions from Part - A
Answer any Three Questions from Part – B

PART-A (5 X 1M = 5 Marks)

Unit-III
1. / a) / Distinguish reentrant function with non reentrant functions? / 1M
b) / Compare & contrast the preemptive & non preemptive operating systems with examples. / 1M
Unit-IV
c) / Define flash & monitor in RTOS. / 1M
d) / What are various steps involved in instruction set simulators for resolving the bugs? / 1M
Unit- V
e) / What is the purpose of CPSR, Z-bit & PC in ARM? / 1M
PART-B (3 X 5M = 15 Marks)
Unit-III
2. / a) / Explain the different types of memory devices used in embedded systems with their relative merits and demerits. / 2M
b) / Elaborate how scheduling takes place in pre-emptive scheduling algorithm. Compare it with non- Preemptive scheduling / 3M
3. / a) / Explain in detail the basic functions in developing a RTOS. Explain for one RTOS used in embedded system design. / 2M
b) / Demonstrate the inter task communication process through message queues, pipes, mailboxes / 3M
Unit-IV
4. / a) / Discuss in detail about the goals of typical testing processes with examples. / 3M
b) / What do you mean by embedded system-independent design followed by system integration and by embedded system concurrent hardware-software co-design? Give five examples for each design strategy? / 2M
5. / a) / What should be the goal during an embedded system development process? How does it vary from the software development process? / 2.5M
b) / Why is the selection of the right platform essential during the embedded system development process? / 2.5M
Unit- V
6. / a) / Explain operational aspects of one of the bus protocols suitable for networking of embedded system of your choice? / 3M
b) / How can an automotive network ensure that safety-critical components are not starved of bus access—that they are guaranteed to be able to transmit within a certain amount of time? / 2M

VARDHAMAN COLLEGE OF ENGINEERING

(AUTONOMOUS)

Shamshabad, Hyderabad – 501 218

QUESTION PAPER

Name of the Subject: EMBEDDED SYSTEMS

Course: B. Tech / M. Tech / MBA Semester: VII

Subject Code: A1430 Max. Marks: 20

Midterm: II Time: 2 Hrs

Answer All Questions from Part - A
Answer any Three Questions from Part - B

PART-A (5 X 1M = 5 Marks)

Unit-III
1. / a) / Justify how semaphores solves the shared data problems ? / 1M
b) / Demonstrate the mail boxes & pipe lining concept in RTOS with example. / 1M
Unit-IV
c) / Discuss the purpose of script file & output file. / 1M
d) / Define MACRO & discuss the technique of ASSERT MACRO. / 1M
Unit- V
e) / How do you return from an ARM procedure? / 1M
PART-B (3 X 5M = 15 Marks)
Unit-III
2. / a) / If one task is running and another, higher priority tasks unblocks, does the task that is running get stopped and moved to the ready state right away? / 2.5M
b) / How does the scheduler know when a task has become blocked or unblocked? / 2.5M
3. / a) / Demonstrate the execution flow with semaphores / 3M
b) / Compare and contrast the differences between methods for Inter Task Communication? / 2M
Unit-IV
4. / a) / Illustrate the software-hardware trade off? What are the advantages and disadvantages of software implementation instead of hardware implementation? / 2M
b) / Write a Interrupt routine to receive characters on a serial port? / 3M
5. / a) / With a neat sketch, explain the tool chain for building embedded software? / 3M
b) / Explain the format of Intel hex file format? / 2M
Unit- V
6. / a) / Elaborate CAN bus , and explain the architecture of CAN bus. / 3M
b) / Explain memory organization of SHARC. / 2M

VARDHAMAN COLLEGE OF ENGINEERING

(AUTONOMOUS)

Shamshabad, Hyderabad – 501 218

QUESTION PAPER

Name of the Subject: EMBEDDED SYSTEMS

Course: B. Tech / M. Tech / MBA Semester: VII

Subject Code: A1430 Max. Marks: 20

Midterm: II Time: 2 Hrs

Answer All Questions from Part - A
Answer any Three Questions from Part - B

PART-A (5 X 1M = 5 Marks)

Unit-III
1. / a) / What are the rules to be followed by the interrupt routines in RTOS? Why? / 1M
b) / How memory management is done by an RTOS? Why is memory management not used in embedded systems? / 1M
Unit-IV
c) / How the tool chain uses segments in host & target machines? / 1M
d) / Define Map, locator map & give examples. / 1M
Unit- V
e) / Draw the typical bus transactions on the I2C bus. / 1M
PART-B (3 X 5M = 15 Marks)
Unit-III
2. / a) / State the three alternative systems in three RTOS for responding a hardware Source call with the diagram explain? / 2M
b) / Explain the concept of RTOS Semaphores. / 3M
3. / a) / Demonstrate the Timer Function Accuracy with neat sketch? / 2M
b) / Explain the critical section service by a pre-emptive scheduler. / 3M
Unit-IV
4. / a) / Prove that telegraph code is Hardware independent? / 2M
b) / Illustrate with one example the use of each of the Debugging Capability and Device Simulation. / 3M
5. / a) / Illustrate the concept of ROM Emulator? / 2M
b) / Write short note on the laboratory instruments for testing the embedded systems. / 3M
Unit- V
6. / a) / Explain IP packet structure. / 2M
b) / Elaborate I2 C bus and discuss the structure and the electrical interface to the I2 bus. / 3M