Sei sulla pagina 1di 14

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

IV.B.TECH - I SEMESTER REGULAR EXAMINATIONS NOV/DEC, 2009


EMBEDDED SYSTEMS
(Common to CSE, IT, E.CON.E, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks

1. a) What are the levels of abstraction in a embedded system design process.[8+8]


b) What are the major components of an embedded system hardware.

2. a) Explain the Timer Counter unit operations of 8051. [8+8]


b) List the internal memory contents and their functions.

3. a) Explain the shift an rotate instructions of 8051 with examples [8+8]


b) Write an assembly language program to 8051 to rotate R R registers to left by two positions treating R R together
1

as a 16-bit register

4. a) Write an assembly language program to search for consecutive zeros in internal RAM locations 60H to 7FH
[8+8]
b) Explain with suitable examples the conditional and unconditional Jump instructions in 8051

5. Interface 4x4 matrix keypad to 8051 and display the key number on 7 segment display interfaced to same 8051 [16]

6. Explain how scheduling takes place in preemptive scheduling algorithm. Compare it with non- Preemptive
scheduling [16]
7. List and explain COS library functions used in task monitoring system. [16]

8. Write a brief notes on [8+8]


a. CAN Bus architecture

b. Programming model of ARM.

190

R05

Code. No : 37328

IV.B.TECH - I SEMESTER REGULAR EXAMINATIONS NOV/DEC, 2009


EMBEDDED SYSTEMS
(Common to CSE, IT, E.CON.E, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
--1. a) Define an embedded system? List out the software tools needed on designing on embedded system. Discuss about any
one of them. [8+8]
b) Compare top down and bottom up design
2. a) Draw the program model of 8051, Explain the function of special function registers of 8051
b) Explain the interrupt handling capacity of 8051 [8+8]
and R R of register bank O of 8051, store the result in R R from register bank 2 of 8051. [8+8] 3. a) Write an assembly
7

language program to add two 16 bit numbers stored in R R


1

b) Write a brief note on shift and rotate operations of 8051.


4. a) Explain different brands instructions in 8051 with an example each [8+8]
b) Write an assembly language program to 8051 to keep incrementing R and R
1

decrementing R register of register Bank 3 of 8051 till they become equal. R


2

5 Explain the different serial data communication modes of 8051 with examples [16]
6 a) Compare, binary semaphores, Mutex and counter semaphore [8+8]
b) Describe the function relevant to cos operating systems.
7. a) Using VRTX RTOS develop C Pseudo code for handling interrupts for a typical embedded systems. [8+8]
b) Explain how resource sharing is carried out in a typical embedded systems design.
8. Write a note on
a) Architectural features of ARM
b) 2IC bus
*****

R05

Code.No: 37328
191

IV.B.TECH - I SEMESTER REGULAR EXAMINATIONS NOV/DEC, 2009


EMBEDDED SYSTEMS
(Common to CSE, IT, E.CON.E, CSS)
Time: 3hours

Max.Marks:80
Answer any FIVE questions

All questions carry equal marks


---

1. a) What are the basic functional circuit chips in an embedded system? Explain them in brief. [8+8]
b) What are the techniques of energy and power management in an embedded system?

2. Explain different modes of serial communication interface in 8051, explain each of the modes with an example each.
[16]

3. a) Explain different addressing modes of 8051 microcontroller with an example.

b) Explain data transfer instructions of 8051. [8+8]

4. a) Write a brief note in SJMP, LJMP and AJMP instructions in 8051.Give an example for each instruction use.
b) How is DPTR register used is 8051? Explain
c) Briefly explain the post 3 functions in 8051. [16]

5 Design an interface to 8051 to display the alphanumeric characters on alphanumeric display unit by giving inputs through a
Keyboard. [16]
6. Compare semaphores, events and queues for implanting inter task communication with an example [16]
7. What is the need to encapsulate the massage queue, explain with an example on flash memory read & write operation. [16]
8. Write a brief note on [16]
a. Distributed embedded architecture
b. IP packet structure.

**********

IV.B.TECH - I SEMESTER REGULAR EXAMINATIONS NOV/DEC, 2009


192

EMBEDDED SYSTEMS
(Common to CSE, IT, E.CON.E, CSS)
Time: 3hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
---

1. a) Classify embedded systems. [8+8]


b) What are the advantages and disadvantages in having fixed point arithmetic unit and additional floating point
arithmetic processing unit.
2. With the help of a neat block diagram explain the architecture of 8051. [16]

3. a) Explain different ALU instructions in 8051 with an example. [8+8]


b) Write a brief note on addressing modes of 8051.
4. a) Write an assembly language program to 8051 to generate an interrupt after a time delay of 4ms the crystal frequency
is 12MHZ. [8+8]
b) Explain how signed arithmetics is carried out in 8051.
5. Interface an 8 bit DAC to 8051 and generate a triangular wave form with amplitude of +6v and frequency of 1KHz [16]

6. a) Explain different kernel objects in an RTOS. [8+8]


b) Explain the inter task communicators through message queues, pipes, mailboxes
7. Explain in detail the basic functions in developing a RTOS. Explain for one RTOS used in embedded system design.
[16]

8. Write a brief note on [8+8]


a) Memory organization of ARM processor
b) Fixed point ALU in SHARC
*****

Code No: R05410501

Set No.1
193

IV B.Tech. I Semester Regular Examinations, November -2008


EMBEDDED SYSTEMS
(Common to Computer Science & Engineering, Information
Technology, Electronics & Control Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
1.

(a) What is an embedded computer system? Give an example.


(b) Explain the characteristics of embedded computing applications. [8+8]

2.

Draw the figure showing the connections between an 8051 and an external memory configuration consisting of 16k
of EPROM and 8k of static RAM. Explain the timing associated with an external memory access cycle. [16]

3.

(a) Why the programmer must know about the CPU in order to program in assembly language
(b) Explain about various data addressing modes. [6+10]

4.

(a) Explain in detail about different types of jump instructions with suitable examples.
(b) Discuss about decimal arithmetic with example. [8+8]

5.

(a) Explain Intelligent LCD display with appropriate diagrams.


(b) Give a note on hardware circuits for multiple interrupts. [8+8]

6. (a) What is a reentrant function? Is the following function reentrant? Justify your answer.
int CErrors;
void vcount Errors (int CNewErrors)
{
CErrors+=CNewErrors;
}
(b) Compare and contrast various methods for inter-task communication. [8+8]
7.

Explain with an example the basic design of an embedded system using a Real
time operating system. [16]

8.

Write notes on:


(a) CAN bus
(b) SHARC Link ports. [8+8]

Code No: R05410501

Set No.2
194

IV B.Tech. I Semester Regular Examinations, November -2008


EMBEDDED SYSTEMS
(Common to Computer Science & Engineering, Information
Technology, Electronics & Control Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. (a) Explain the challenges in embedded computing system design.
(b) Briefly describe the distinction between specification and architecture. [10+6]
2. Give the formats of the following function registers of 8051.
(a) SCON
(b) PCON
(c) TCON
(d) TMOD [4+4+4+4]
3. (a) Identify four reasons to program a CPU in assembly language.
(b) Describe how data may be pushed and popped using a stack. [6+10]
4. (a) Write a program to count the number of IS in any number in register B and put the count in R5.
(b) Explain in detail about different types of jump instructions with suitable examples. [8+8]
5. (a) Determine why it is important to employ some kind of debounce subroutine in a keyboard program, particularly for
interrupt-driven programs, even if keys with absolutely no bounce are used.
(b) Discuss about various network configurations with diagrams. [8+8]
6. (a) Explain the following inter-task communication technique:
i. Message queues
ii. Mail boxes
(b) Explain with an example how semaphores solve the shared-data problem.[8+8]
7. Write notes on:
(a) Encapsulating semaphores
(b) Hard Real-time scheduling considerations
(c) saving memory space. [6+5+5]
8. (a) Explain in detail instruction level parallelism.
(b) Give a note on Internet-enabled systems. [8+8]

Code No: R05410501

Set No.3
195

IV B.Tech. I Semester Regular Examinations, November -2008


EMBEDDED SYSTEMS
(Common to Computer Science & Engineering, Information
Technology, Electronics & Control Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. (a) What are the reasons for using microprocessor in digital systems?
(b) External constraints are one important source of difficulty in embedded system design. Explain. [6+10]
2. Discuss in detail about the serial data communication circuit in 8051. [16]
3. (a) List four types of utility programs.
(b) What are the four addressing modes used to access data? Explain. [6+10]
4. (a) Write a program to multiply the data in RAM location 22h by the data in RAM location 15h; put the result in RAM
locations 19h (low byte) and 1Ah (high byte).
(b) Discuss how the CPU uses the stack to store call opcode return addresses.[8+8]
5. (a) Discuss about various keyboard configurations in detail.
(b) Explain about the standard 8-bit VART mode. [8+8]
6. (a) Give a note on Timer functions.
(b) Explain different ways of protecting shared data. [8+8]
7. Explain in detail about Embedded software development tools. [16]
8. Write notes on the following:
(a) I2C Bus
(b) SHARC Link ports. [8+8]

Code No: R05410501

Set No.4
196

IV B.Tech. I Semester Regular Examinations, November -2008


EMBEDDED SYSTEMS
(Common to Computer Science & Engineering, Information
Technology, Electronics & Control Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions

1. Explain in detail the embedded system design process. [16]


2. (a) Explain various Timer modes of operation of 8051.
(b) What is the function of IP function register? Specify the purpose of each bit in the register. [8+8]
3. (a) Explain the general structure of 8051 syntax.
(b) Discuss at least four different methods to copy the byte in TCON to register R2. [8+8]
4. (a) Write a program to increment the contents of RAM locations 13h,14h and 15h using indirect addressing only.
(b) What are the sequence of events involved in CALL instruction. [8+8]
5. (a) Explain about the Seven Segment Numerical display.
(b) Explain why mode 0 is not suitable for 8051 communications. [8+8]
6. (a) What is a semaphore? What are the various operations on semaphores? How does semaphore make a function reentrant?
(b) Explain about memory management in RTOS. [8+8]
7. (a) Give a note on Linker/Locators for Embedded software.
(b) Give a brief note on ROM emulators. [10+6]
8. Explain in detail about distributed Embedded Architectures. [16]

R05

Set No. 2
197

IV B.Tech I Semester Supplementary Examinations, June 2010


EMBEDDED SYSTEMS
Common to Information Technology, Electronics And Control Engineering,
Computer Science And Engineering, Computer Science And Systems
Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. (a) Classify the embedded systems into small scale, medium scale and sophisticated systems.
(b) List the software tools needed in designing an embedded system. Discuss about any one of them. [8+8]
2. (a) Describe the IP packet structure?
(b) Describe the internet service stack? [16]
3. (a) Draw the pin out diagram of the 8051 microcontroller and abbreviate the names of the signals for each pin.
(b) Draw the circuit diagram of the 8051 microcontroller oscillator and explain the concept of 8051 timing. [8+8]
4. (a) Explain with suitable example, how to perform unsigned multiplication using relevant mnemonics.
(b) Write an assembly language program to multiply the unsigned number in register R3 by the unsigned number on port 2
and put the result in external RAM locations 10h(MSB) and 11h(LSB). Place comments on each line of Code. [8+8]
5. Interface 8-bit DAC to 8051-based system to generate a TRIANGULAR waveform with amplitude of +4V and frequency
of 256Hz. [16]
6. List and explain various _C/OS library functions used in the overall program structure of tank monitoring system example.
[16]
7. Explain the following with an example with reference to 8051 Assembly language.
(a) RLA,
(b) RLCA,
(c) RRA,
(d) RRCA. [4+4+4+4]
8. Assume that a message is to be printed line by line after formatting it. Develop C-pseudo code using _C /OS RTOS's
function prototypes by using a semaphore as a signaling device. Assume one printer task function and one printer interrupt
function. [16]

Code No: R05410501

R05

Set No. 4
198

IV B.Tech I Semester Supplementary Examinations, June 2010


EMBEDDED SYSTEMS
Common to Information Technology, Electronics And Control Engineering,
Computer Science And Engineering, Computer Science And Systems
Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. (a) Explain the difference between code memory and data memory. Explain why Assembly language programming is used.
[8+8]
2. Design the hardware and software for receiving one character -'A' from a serial input device using 8051-based system under
status driven i / o mechanism. [16]
3. (a) What are the arithmetic instructions available in 8051 explain briefly.
(b) List out all the instructions that affect the ags explain in detail. [8+8]
4. Distinguish among lower end of spectrum and higher end of spectrum of practical RTOS es software packages with respect
to vendor name, name of the package, and functionalities. [16]
5. Write two applications of SHARC processor-based systems with functional block diagram for each application and explain
its working. [16]
6. Draw the various port pin configurations of the 8051 microcontroller and explain them in detail. [16]
7. Develop suitable hardware and software at functional level for monitoring and controlling the road track at FOUR-ROAD
JUNCTION with the assumption of suitable data. [16]
8. (a) Name and describe the four development models which most embedded projects are based upon.
(b) Explain in brief about five challenges commonly faced when designing an embedded system. [8+8]

199

Code No: R05410501

R05

Set No. 1

IV B.Tech I Semester Supplementary Examinations, June 2010


EMBEDDED SYSTEMS
Common to Information Technology, Electronics And Control Engineering,
Computer Science And Engineering, Computer Science And Systems
Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. (a) What are the specific features of the 8051 microcontroller architecture.
(b) Draw the programming model of the 8051 microcontroller that has collection of 8-and 16-bit registers and 8-bit memory
locations. [8+8]
2. (a) What is Data-Push Network Architectures? Explain briefly.
(b) What are the suitable networks for embedded systems? Explain? [8+8]
3. (a) What do you understand by interface and interfacing an I/O device? Give examples for standard interfaces with brief
specifications.
(b) List different types of keyboards with their specifications. Explain two ways how a key position is represented as TTL
logic '1' and TTL logic '0' for open and close positions of the switch respectively. [8+8]
4. Compare the features in an exemplary family chip or core of each of the following:
(a) Video processor
(b) Media processor
(c) ASSP
(d) RISC processor. [16]
5. (a) Explain the commands that place data in registers, internal memory and external memory.
(b) Write an assembly language program to copy a block of 8 bytes of data to RAM locations starting at 50H from RAM
locations 30H. Also write comment on this. [8+8]
6. Explain the concept of address resolution with an example in developing an application software. [16]
7. (a) Explain with suitable example, how to perform byte jumps using relevant mnemonics.
(b) Write an assembly language program for the following: Find the address of the _rst two internal RAM locations between
20h and 60h which contain consecutive numbers. If so, set the carry ag to 1, else clear the ag. Place comments on each line of
code. [8+8]

8. Develop C-pseudo code for two tasks that communicate error information to error task using a simple queue. Use _C /OS
RTOS's function prototypes by passing pointers on queues. [16]

200

Code No: R05410501

R05

Set No. 3

IV B.Tech I Semester Supplementary Examinations, June 2010


EMBEDDED SYSTEMS
Common to Information Technology, Electronics And Control Engineering,
Computer Science And Engineering, Computer Science And Systems
Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. Explain operational aspects of one of the bus protocols suitable for networking of embedded systems of your choice. [8+8]
2. Explain the following types of relationships exist between objects and classes.
(a) Association
(b) Aggregation
(c) Composition
(d) Generalization. [8+8]
3. (a) What are RTOS semaphores? Explain how a typical RTOS binary semaphore works with an example pseudo-code in Clanguage structure.
(b) Explain how semaphores make a function reentrant with a suitable example pseudo-code in C-language structure. [8+8]
4. (a) Explain the timer modes of operation in 8051 microcontroller.
(b) Discuss about SCON and PCON function registers relevant to serial data input/output in 8051 microcontroller. [8+8]
5. (a) Explain with suitable example, how to perform increment and decrement the contents of registers and RAM using
relevant mnemonics.
(b) Write an assembly language program to increment the contents of RAM locations 13h, 14h and 15h using indirect
addressing. Place comments on each line of code. [8+8]
6. Interface a 7-sement LED display to 8051-based system for displaying hex values with a delay of half second from Zero.
Write the display codes and assume that they are available at data memory locations. [16]
7. Give hardware and software at functional level for designing elevator controller using basic design principles using a
RTOS. [16]
8. (a) Write Assembly language program to clear register A using three different instructions.
(b) Write an Assembly language program that will complement every bit in register R6. [8+8]

201

Code No: R05410501

R05

Set No. 2

IV B.Tech I Semester Examinations, November 2010


EMBEDDED SYSTEMS
Common to Information Technology, Electronics And Control Engineering,
Computer Science And Engineering, Computer Science And Systems
Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. Design hardware and software for displaying your name on two line 20-character LCD display by interfacing it to 8051based system. [16]
2. Explain in detail about the types of interrupts, the interrupt program addresses and the interrupt control registers of the 8051
microcontroller. [16]
3. Verify whether the following function is a reentrant? Justify your answer. If not,
modify itto make it reentrant.
static int iCount;
void vNotReentrant (int x, int *p)
fint y;
y = x * 2;
++p;
*p = 123;
iCount +=234;
printf(\n n new Count : %d", x);
g [16]
4. Describe the various architectural features of one of the SHARC processors of your choice with its functional block
diagram. [16]
5. Give suitable hardware and software at functional level for monitoring and controlling the RAIL-ROAD CROSSING
SYSTEM with the assumption of suitable data.[16]
6. (a) Explain the formalisms for embedded system design.
(b) List the various complex systems available and explain their performance characteristics. [8+8]
7. (a) Explain the commands that get data from ROM addresses.
(b) Explain the commands that exchange data. [8+8]
8. (a) Add 05H to the register A using five deferent instructions.
(b) Write an Assembly language program to multiply 05H with 06H. [8+8]

R09
202

Code No: 57043

JAWAHARLAL NEHRU TECHNOLOGY UNIVERSITY, HYDERABAD


B.TECH III YEAR I Semester Examinations, December-2014
EMBEDDED SYSETEMS
(Electronics and Communication Engineering and ETM)
Time : 3hours
Max.Marks:75
Answer any five questions
All questions carry equal marks
--1.a) What is an embedded system ? Why is it so hard to define and explain in detail?
b) Why single purpose processor and general purpose processors are essentially the same and then describe how
they differ in terms of design metrics.
2.a) Explain the different memory Interfacings , I/O Devices of a 8051 microcontroller .
b) Describe about the timers, counters and interrupts in 8051.
3.a) Differentiate Logical and Brach Instructions sets with and application.
b) Write an 8051 assembly language program for multiplying the unsigned number
in register R3 by the unsigned number on port2 and the result in external RAM locations 10h and 11h.
4.a) Discuss the Hardware programming through PSOC Creator in detail.
b) Explain in detail the continuous Timer blocks and Switched Capacitor blocks of a PSOC system.
5.a) Write an assembly languge program for serial port programming and also explain the steps involved.
b) Discuss about task and task states in detail.
6.a) Explain the process and process state diagram. Show that Semaphores are used for process synchronization.
b) What are the functions expected from the kernel of RTOS?
7.a) Explain the step vise procedure for Getting Embedded software into the Target system.
b) How Logic analyzer is used as a debugging tool in embedded design process?
Explain various Debugging Techniques used

8. a) Descrobe and different the features of I2C bus and CAN bus and there usage for Networked embedded
systems.
b) Expalin the different Branch and Load Store Instructions of RAM.

203

Potrebbero piacerti anche