ES Unit 5
ES Unit 5
1.Introduction
▪ Emulation Device
• Emulation device is a replica of the target CPU
which receives various signals from the target
board through a device adaptor connected to the
target board and performs the execution of
firmware under the control of debug commands
from the debug application.
• The emulation device can be either a standard
chip same as the target processor (e.g.
AT89C51) or a Programmable Logic Device
(PLD) configured to function as the target CPU.
▪ Emulation Memory
• It is the Random Access Memory (RAM)
incorporated in the Emulator device. It acts as a
replacement to the target board’s EEPROM
where the code is supposed to be downloaded
after each firmware modification.
• Hence the original EEPROM memory is
emulated by the RAM of emulator. This is
known as ‘ROMEmulation’.
• Emulation memory also acts as a trace buffer in
debugging. Trace buffer is a memory pool
holding the instructions executed/registers
modified/related data by the processor while
debugging.
• The common features of trace buffer memory
and trace buffer data viewing are listed below:
• Trace buffer records each bus cycle in frames
• Trace data can be viewed in the debugger
application as Assembly/Source code
• Trace buffering can be done on the basis of a
Trace trigger (Event)
• Trace buffer can also- record signals from
target board other than CPU signals (Emulator
depen dent)
• Trace data is a-very useful information in
firmware debugging
• Emulator Control Logic
o Emulator control logic is the logic circuits used for
implementing complex hardware breakpoints, trace
buffer trigger detection, trace buffer control, etc.
• Device Adaptors
o Device adaptors act as an interface between the target
board and emulator POD. Device adaptors are normally
pin-to-pin compatible sockets which can be
inserted/plugged into the target board for routing the
various signals from the pins assigned for the target
processor.
5.On Chip Firmware Debugging (OCD)
• On-chip debugger provides the means to set simple
breakpoints, query the internal state of the chip and single step
through code.
• OCD module implements dedicated registers for controlling
debugging. An On Chip Debugger can be enabled by setting
the OCD enable bit (The bit name and register holding the bit
varies across vendors).
• Debug related registers are used for debugger control
(Enable/disable single stepping, Freeze execution, etc.) and
breakpoint address setting. BDM and JTAG are the two
commonly used interfaces to communicate between the Debug
application running on Development PC and OCD module of
target CPU.
• Chips with JTAG debug interface contain a built-in JTAG port
for communicating with the remote debugger application.
• The signal lines ofJTAG protocol are explained below.
o Test Data In (TDI): It is used for sending debug
commands serially from remote debugger to the target
processor.
o Test Data Out (TDO): Transmit debug response to the
remote debugger from target CPU.
o Test Clock (TCK): Synchronises the serial data transfer.
o Test Mode Select (TMS): Sets the mode of testing.
o Test Reset (TRST): It is an optional signal line used for
resetting the target CPU.
Hardware debugging involves the monitoring of various signals of the target board
(address/data lines, port pins, etc.), checking the inter, connection among various components,
circuit continuity checking, etc.
The various hardware debugging tools used in Embedded Product Development are
explained below.
• Magnifying Glass (Lens)
o A magnifying glass is a powerful visual inspection tool. With a magnifying
glass (lens), the surface of the target board can be examined thoroughly for
dry soldering of components, missing components, improper placement of
components, improper soldering, track (PCB connection) damage, short of
tracks, etc.
o Nowadays high quality magnifying stations are available for visual inspection.
• Multimeter
o A multimeter is used for measuring various electrical quantities like voltage
(Both AC and DC), current (DC as well as AC), resistance, capacitance,
continuity checking, transistor checking, cathode and anode identification of
diode, etc.
o It is the primary debugging tool for physical contact based hardware
debugging and almost all developers start debugging the hardware with it. In
embedded hardware debugging it is mainly used for checking the circuit
continuity between different points on the board, measuring the supply
voltage, checking the signal value, polarity, etc. Both analog and digital
versions of a multimeter are available.
• Digital CRO
o CRO is a very good tool in analysing interference noise in the power supply
line and other signal lines. Monitoring the crystal oscillator signal from the
target board is a typical example of the usage of CRO for waveform capturing
and analysis in target board debugging.
• Logic Analyser
o Logic analyser is used for capturing digital data (logic 1 and 0) from a digital
circuitry whereas CRO is employed in capturing all kinds of waves including
logic signals.
o A logic analyser contains special connectors and clips which can be attached
to the target board for capturing digital data.
o In target board debugging applications, a logic analyser captures the states of
various port pins, address bus and data bus of the target processor/controller,
etc.
o Logic analysers give an exact reflection of what happens when a particular
line of firmware is running.
o Function Generator
o Function generator is not a debugging tool. It is an input signal simulator tool.
o A function generator is capable of producing various periodic waveforms like
sine wave, square wave, saw-tooth wave, etc. with different frequencies and
amplitude.
7. Boundary Scan
• Boundary scan is a technique used for testing the interconnection among the various
chips, which support JTAG interface, present in the board. Chips which support
boundary scan associate a boundary scan cell with each pin of the device.
• A JTAG port which contains the five signal lines namely TDI, TDO, TCK, TRST
and TMS form the Test Access Port (TAP) for a JTAG supported chip. Each device
will have its own TAP.
• The PCB also contains a TAP for connecting the JTAG signal lines to the external
world. A boundary scan path is formed inside the board by interconnecting the
devices through JTAG signal lines.
• The TDI pin of the TAP of the PCB is connected to the TDI pin of the first device.
The TDO pin of the first device is connected to the TDI pin of the second device. In
this way all devices are interconnected and the TDO pin of the last JTAG device is
connected to the TDO pin of the TAP of the PCB.
• The clock line TCK and the Test Mode Select (TMS) line of the devices are
connected to the clock line and Test mode select line of the Test Access Port of the
PCB respectively.
• This forms a boundary scan path. Figure 13.41 illustrates the same.
•
• The boundary scan cells can be operated in Normal, Capture, Update and Shift
modes.
• In the Normal mode, the input of the boundary scan cell appears directly at its output.
• In the Capture mode, the boundary scan cell associated with each input pin of the chip
captures the signal from the respective pins to the cell and the boundary scan cell
associated with each output pin of the chip captures the signal from the internal
circuitry.
• In the Update mode, the boundary scan cell associated with each input pin of the chip
passes the already captured data to the internal circuitry and the boundary scan cell
associated with each output pin of the chip passes the already captured data to the
respective output pin.
• In the shift mode, data is shifted from TDI pin to TDO pin of the device through the
boundary scan cells.
• Instruction Register, Bypass Register, Identification Register, etc. are examples of
boundary scan related registers.
• The Instruction Register is used for holding and processing the instruction re: ceived
over the TAP.
• The bypass register is used for bypassing the boundary scan path of the device and
directly interconnecting the TDI pin of the device to its TDO.
• Extest, Bypass, Sample and Preload, Intest, etc. are examples for instructions for
different types of boundary scan tests, whereas the instruction Runbist is used for
performing a self test On the internal functioning of the chip. The Runbist instruction
produces a pass/fail result.
• Boundary Scan Description Language (BSDL) is used for implementing boundary
scan tests using JTAG. BSDL is a subset of VHDL and it describes the JTAG
implementation in a device. BSDL provides information on how boundary scan is
implemented in an integrated chip.
• The BSDL file is used as the input to a Boundary Scan Tool for generating boundary
scan test cases for a PCB. Automated tools are available for boundary scan test
implementation from multiple vendors.
8. Embedded Software development process and tools.
Unit-VI: Embedded System Implementation And Testing:
The main software utility tool, CAD and the hardware, Translation tools-Pre-
processors, Interpreters, Compilers and Linkers, Debugging tools, Quality
assurance and testing of the design, Testing on host machine, Simulators,
Laboratory Tools.
• Utility tools are general tools that aid in software or hardware development, such as
editors (for writing source code), VCS (Version Control Software) that manages software
files, and ROM burners that allow software to be put onto ROMs.
• Translation tools convert code a developer intends for the target into a form the target
can execute, and debugging tools can be used to track down and correct bugs in the
system.
• Development tools of all types are as critical to a project as the architecture design,
because without the right tools, implementing and debugging the system would be very
difficult, if not impossible.
• At the highest level, a behavioral model of the entire circuit is created for both analog and
digital circuits, and is used to study the behavior of the entire circuit.
• This behavioral model can be created with a CAD tool that offers this feature or can be
written in a standard programming language.
4. Translation tools-Pre-processors, Interpreters, Compilers and Linkers
• This mechanism usually includes one or some combination of preprocessing,
translation, and/or interpretation machine code generation techniques. These
mechanisms are implemented within a wide variety of translating development
tools.
• The preprocessor’s role is to organize and restructure the source code to make
translation or interpretation of this code easier. The preprocessor can be a separate
entity, or can be integrated within the translation or interpretation unit.
• Many languages convert source code, either directly or after having been
preprocessed, to target code through the use of a compiler.
• As is usually the case in embedded systems, most compilers are located on the
programmer’s host machine and generate target code for hardware platforms that
differ from the platform the compiler is actually running on. These compilers are
commonly referred to as cross-compilers.
• In the case of assembly, an assembly compiler is a specialized cross-compiler
referred to as an assembler and will always generate machine code.
• After all the compilation on the programmer’s host machine is completed, the remaining
target code file is commonly referred to as an object file and can contain anything from
machine code to Java byte code, depending on the programming language used.
• As shown in Figure 12-5, a linker integrates this object file with any other required
system libraries, creating what is commonly referred to as an executable binary file,
either directly onto the board’s memory or ready to be transferred to the target embedded
system’s memory by a loader.
• The interpreters located on the target. An interpreter generates (interprets) machine code one
source code line at a time from source code or target code generated by an intermediate compiler
on the host system (see Figure 12-6).
• Optimizing the code for performance means that the compiler understands and makes use of the
various features of a particular Instruction Set Architecture (ISA), such as math operations, the
register set; knowing the various types of on-chip ROM and random access memory (RAM), the
number of clock cycles for various types of accesses, etc.
5. Debugging tools
• Debugging is primarily the task of locating and fixing errors within the system. This task
is made simpler when the programmer is familiar with the various types of debugging
tools available and how they can be used.
• The debugging tools reside and interconnect in some combination of standalone devices,
on the host, and/or on the target board.
6. Quality assurance and testing of the design
• Among the goals of testing and assuring the quality of a system are finding bugs within a
design and tracking whether the bugs are fixed.
• With testing, on the other hand, bugs are discovered as a result of trying to break the
system, including both testing-to-pass and testing-to-fail, where weaknesses in the system
are probed.
• Ensuring the quality of source code is visible along with feature feedback from day 1,
requires executing a disciplined test strategy as soon as any software is running on the
system.
• Track all hardware and software defects, including measure defect rate in specific
components as they are found.
• Highly problematic components are more expensive to debug than to replace, so it is
critical to monitor these defects to ensure knowing when these unstable components are
in a state that they must be replaced or rewritten.
• In general, testing techniques fall under one of four models: static black-box testing,
static white-box testing, dynamic black-box testing, or dynamic white-box testing (see the
matrix in Figure 12-9).
• Black-box testing occurs with a tester that has no visibility into the internal workings of
the system (no schematics, no source code, etc.).
• Black-box testing is based on general product requirements documentation, as opposed to
white-box testing (also referred to clear-box or glass-box testing) in which the tester has
access to source code, schematics, etc.
• Static testing is done while the system is not running, whereas dynamic testing is done
when the system is running.
• Testing can be further broken down to include, for example:
o Unit/module testing: incremental testing of individual elements within the
system.
o Compatibility testing: testing that the element doesn’t cause problems with other
elements in the system.
o Integration testing: incremental testing of integrated elements.
o System testing: testing the entire embedded system with all elements integrated.
o Regression testing: rerunning previously passed tests after system modification.
o Manufacturing testing: testing to ensure that manufacturing of the system didn’t
introduce bugs.
• Code inspection team type of roles:
o Moderator: responsible for managing the code inspection process and meeting(s).
o Reader: reads out-loud the source code and relative specifications for the operational
investigation. Should not be the developer that created the source code being inspected.
o Recorder: fills in code inspection check list report and documents any agreed upon open
items.
o Author: helps explain source to code inspection team, to discuss errors found, and future
rework that needs to be done. Should be the developer of the source code being
inspected.
7. Testing on host machine
8. Laboratory Tools.
1.
2. A general purpose microprocessor is a processor that is not tied to or integrated with a particular
language or piece of software. Most general purpose microprocessors are present in personal
computers. They are often used for computation, text editing, multimedia display, and
communication over a network. Other microprocessors are part of embedded systems. These
provide digital control over practically any technology, such as appliances, automobiles, cell
phones, industrial process control, etc.
The DSP processor, on the other hand, is a particular type of microprocessor. DSP stands for digital
signal processing. It is basically any signal processing that is done on a digital signal or information
signal. A DSP processor is a specialized microprocessor that has an architecture optimized for the
operational needs of digital signal processing.
The main difference between a DSP and a microprocessor is that a DSP processor has features
designed to support high-performance, repetitive, numerically intensive tasks. DSP processors are
designed specifically to perform large numbers of complex arithmetic calculations and as quickly
as possible. They are often used in applications such as image processing, speech recognition and
telecommunications. As compared to general microprocessors, DSP processors are more efficient
at performing basic arithmetic operations, especially multiplication.
Most general-purpose microprocessors and operating systems can execute DSP algorithms
successfully. However, they are not suitable for use in portable devices such as mobile phones.
Hence, specialized digital signal processors are used. Digital Signal Processors have
approximately the same level of integration and the same clock frequencies as general purpose
microprocessors, but they tend to have better performance, lower latency, and no requirements for
specialized cooling or large batteries. This allows them to be a lower-cost alternative to general-
purpose microprocessors.
DSPs also tend to be two to three times as fast as general-purpose microprocessors. This is because
of architectural differences. DSPs tend to have a different arithmetic Unit architecture; specialized
units, such as multipliers, etc
In shorts dsps are comparitively faster,cheaper and are better optimised for specific operations.
3. time to market (TTM) is the length of time it takes from a product being conceived until its
being available for sale. The reason that time to market is so important is because being late erodes
the addressable market that you have to sell your product into.[1] A common assumption is that
TTM matters most for first-of-a-kind products, but actually a late product launch in any industry
can negatively impact revenues—from reducing the window of opportunity to generate revenues
to causing the product to become obsolete faster. [2]
Why Product Development is Important
Product development, is the life-blood of companies and societies. The product could be a
physical product such as an automobile, smartphone, or coffee maker. It could also be services
such as new IT solution, new manufacturing process, or a new real estate marketing concept.
All successful product development actions provide the following:
• Silicon Providers
1. Analog Devices
2. Xilinx
3. Atmel
4. Maxim/Dallas
5. NXP Semiconductor
6. Renesas
7. Texas Instruments
8. Fujitsu
9. Infineon
10. NEC
1. ENEA
2. The Math Works
3. Keil Software
4. Lauterbach
5. ATTiSAN
6. Microsoft
• Solution Providers
• Bosch Automotive
• DENSO Automotive
• Infosys Technologies
• Delphi
UNIT-2
1.
Meaning Data flows in bi-direction, bit by bit Multiple lines are used to send data, i.e. 8 bits or 1 byte at a
time
Number of communication channel Only one N number of communication channels are needed
required
Need of converters Required to convert the signals according to the Not required
need.
Serial Transmission Parallel Transmission
S.NO
2.
required for its next output as feedback used with input for
generation. next output generation.
5 Elementary Elementary building blocks for On other hand building blocks for
Blocks combinational circuit are logic sequential circuit are flip flops..
gates.
4.
Embedded system-Definition, history of embedded systems, classification of embedded systems, major application areas
of embedded systems, purpose of embedded systems, the typical embedded system-core of the embedded system,
Memory, Sensors and Actuators, Communication Interface, Embedded firmware, Characteristics of an embedded system,
Quality attributes of embedded systems, Application-specific and Domain-Specific examples of an embedded system.
QUESTION BANK
QUESTION BANK
Syllabus
Embedded Firmware design approaches, Embedded Firmware development languages, ISR concept, Interrupt sources, Interrupt
servicing mechanism, Multiple interrupts, DMA, Device driver programming, Concepts of C versus Embedded C and Compiler
versus Cross-compiler.
QUESTION BANK
Syllabus
Operating system basics, Types of operating systems, Tasks, Process and Threads, Multiprocessing and Multitasking, Task
Scheduling, Threads, Processes and Scheduling, Task communication, Task synchronisation, Device Drivers.: Fundamental
Issues in Hardware Software Co-Design, Computational models in embedded design, Hardware software Trade-offs,
Integration of Hardware and Firmware, ICE.
QUESTION BANK
1. What is shared memory? Explain different mechanisms are adopted to implement shared memory.
2. What are the building blocks of UML? Explain it.
3. Write and explain the basic functions of real time kernel.
4. Explain data flow graph and state machine model in embedded design.
5. Define process? Draw the processor state transition diagram and explain it.
6. Define message passing? Explain how the message passing is classified.
7. What is dead lock? List and explain different conditions favoring a deadlock situation.
8. Explain the fundamental issues in hardware software co-design.
9. Compare various Task scheduling algorithms in RTOS.
10. Differentiate between Hardware and Software Co-Design with all the salient features of them.
11. In a real time system having periodic Tasks T1, T2, T3 and an aperiodic task T4 all requesting at time t = 0
have the following properties
Task Period Execution Time Dead Line
T1 210 70 210
T2 70 21 70
T3 140 28 140
T4 aperiodic 80 420
(i) Calculate the utilization ratios and hence find the scheduling.
(ii) Determine whether the tasks can meet deadlines.
12. Explain the important Hardware Software Tradeoffs in Hardware Software Partitioning.
13. Discuss how ICE is useful for testing an Embedded System with neat diagram.
14. What are pseudo-ops? What is the use of it in assembly language programming?
15. Discuss about Multiprocessing and Multitasking techniques used in RTOS?
16. What is the difference between general purpose kernel and real time kernel? Give example.
17. Explain the different multitasking models in operating system context
18. What is task scheduling? Explain Round Robin scheduling algorithm
19. Explain about how to choose an RTOS
20. Explain the architecture of device driver
21. What is critical section? What are the different techniques to control critical section?
22. Explain the difference between super loop based and OS based embedded firmware design.
23. Three processes with process IDs P1, P2, P3 with estimated completion time 12, 10, 2 milliseconds
respectively enters the ready queue together in the order P2, P3, P1. Process P4 with estimated execution
completion time 4 milliseconds enters the Ready queue after 8 milliseconds. Calculate the waiting time and
Turn Around Time (TAT) for each process and the average waiting time and Turn Around Time
(Assuming there is no I/O waiting for the processes) in the FIFO scheduling.
24. What is IDLEPROCESS? What is the significance of IDLEPROCESS in the process scheduling context?
25. Explain Thread context switch and the various activities performed in thread context switching for user
level and kernel level threads.
26. What is hardware software co-design? Explain the fundamental issues in hardware software co-design?
27. Explain Round Robin process scheduling with interrupts.
28. What is kernel space and user space? How is kernel space and user space interfaced?
29. Explain the different task communication synchronization issues encountered in interprocess
communication
30. Compare various Task scheduling algorithms in RTOS.
Syllabus
The integrated development environment, Types of files generated on cross-compilation, Deassembler/Decompiler, Simulators,
Emulators and Debugging, Target hardware debugging, Boundary Scan, Embedded Software development process and tools.
QUESTION BANK
QUESTION BANK
UNIT-1
1. Distinguish between a sensor and an actuator. Also explain their role in an embedded
system with suitable examples
2. Explain how Digital Signal processor and Media processor are different than a general
purpose processor and also compare them.
3. Explain about Domain Specific Embedded System application by taking an Automotive
Embedded System (AES) as an example.
4. What are the different types of memories used in Embedded System design? Explain the
role of each.
UNIT-2
1. What are serial communication devices? Explain.
2. Explain the working of watchdog timer and also explain about control and status
registers.
3. Explain briefly about parallel device ports.
4. Explain the purpose of a Real Time Clock and its functionality in an embedded system.
UNIT-3
1. Explain the advantages and disadvantages of Assembly language based embedded
firmware development.
2. What is Device driver? explain about device driver programming
3. Explain the following: (i) interrupt (ii) Interrupt Vector address and (iii) Interrupt Service
Routine (ISR)? Explain the role of ISR in an embedded application development
4. Explain the working of DMA with appropriate diagrams.
UNIT-4
UNIT-6
1. Explain Computer-Aided Design (CAD) and hardware.
2. Differentiate static and dynamic testing.
3. Explain the testing steps on host machine. Why host system is used for most of the
development?
4. List and describe the translation tools used in an embedded system
Code No: R164104D R16 Set No. 1
IV B.Tech I Semester Supplementary Examinations, July/Aug - 2021
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
3. a) List different input devices? Explain the significance of input devices. [7]
b) What are the analog and digital electronic components? Explain [7]
4. a) What are the basic approaches for the design and implementation of embedded [7]
firmware? Explain any one approach.
b) Discuss about interrupt servicing mechanism. [7]
6. a) What are the Embedded software development tools? Discuss about Target [7]
machines.
b) What are some features that differentiate compiling needs in embedded systems [7]
versus in other types of computer systems?
7. a) List and define the four models under which testing techniques fall. Within [7]
each of these models, what are five types of testing that can occur?
b) List and describe four real-world examples of each type of debugging tool [7]
1 of 1
||''|'''|''|'|''''||
Code No: R164104D R16 Set No. 1
IV B.Tech I Semester Regular/Supplementary Examinations, March - 2021
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
3. a) Explain the sequence of operations for communicating with an I2c slace device. [7]
b) Explain the purpose of (i) Counting Device and (ii) Real Time Clock in an [7]
embedded system.
5. a) Explain how thread and process are used in an embedded system. [7]
b) Differentiate between Hardware and Software Co-Design with all the salient [7]
features of them.
7. a) Explain at least four models that are used for testing an Embedded System. [7]
b) Write short notes on Translation Tools. [7]
1 of 1
||''|'''|''|'|''''||
Code No: R164104D R16 Set No. 2
IV B.Tech I Semester Regular/Supplementary Examinations, March - 2021
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Explain the advantages and disadvantages of high level language based [7]
embedded firmware development.
b) What is interrupt? Explain its role in embedded application development. [7]
5. a) Discuss how ICE is useful for testing an Embedded System with neat diagram. [7]
b) Explain the architecture of device drivers. [7]
6. a) Explain in detail about different files generated during the cross compilation of [7]
an Embedded C file.
b) State the uses of assembler and dissembler in embedded application [7]
development.
7. a) Explain in detail the testing process involved in developing an embedded system. [7]
b) Explain in detail about below terms: [7]
i) Interpreters ii) Simulator
1 of 1
||''|'''|''|'|''''||
Code No: R164104D R16 Set No. 3
IV B.Tech I Semester Regular/Supplementary Examinations, March - 2021
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
PART–A (14 Marks)
1. a) What are the applications of embedded systems? [3]
b) What is the role of reset circuit in embedded systems? [3]
c) What is the difference between C and Embedded C. [2]
d) Explain multi task and their functions in embedded system. [2]
e) What are the advantages of simulator base debugging? [2]
f) What is the use of host machine for embedded system? [2]
PART–B (4x14 = 56 Marks)
2. a) Distinguish between a sensor and an actuator. Explain their role in an embedded [7]
system with suitable examples.
b) Explain about application specific embedded system with suitable example. [7]
4. a) Discuss about compiler and cross compiler with respect to Embedded Firmware. [7]
b) Explain structure in the 'Embedded-C' programming context. Explain the [7]
significance of structure over normal variables.
7. a) Explain how the compiling needs of an embedded system are different from that [7]
of general purpose computer with suitable examples.
b) Compare various Laboratory tools used for embedded system implementation and [7]
testing.
1 of 1
||''|'''|''|'|''''||
Code No: R164104D R16 Set No. 4
IV B.Tech I Semester Regular/Supplementary Examinations, March - 2021
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
PART–A (14 Marks)
1. a) Discuss various embedded systems requirements. [3]
b) What are Timer and counting devices? [3]
c) What are concepts of Embedded C. [2]
d) Explain the functional and non-functional requirements to choose a RTOS. [2]
e) What are the types of files generated on cross-compilation? [2]
f) Describe preprocessor and Interpreters. [2]
PART–B (4x14 = 56 Marks)
2. a) What is non-operational quality attributes? Explain the important non-operational [7]
Quality attributes to be considered in any embedded system design.
b) Write the details about the embedded hardware units and devices in a system. [7]
3. a) What are the various serial communication devices used in an Embedded [7]
Hardware? Explain any one of them.
b) Explain about Timer and counting devices in Embedded Hardware. [7]
6. a) Draw and explain the integrated embedded system development environment. [7]
b) What is ROM emulator? Explain ICE based debugging in detail. [7]
1 of 1
||''|'''|''|'|''''||
Code No: R164104D R16 Set No. 1
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
1 of 1
|''|'''||''||'''||||
Code No: R164104D R16 Set No. 2
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Write and explain the drawbacks of assembly language based development. [7]
b) What is Interrupt? Explain multiple interrupts with examples. [7]
5. a) Write and explain the basic functions of real time kernel. [7]
b) Explain data flow graph and state machine model in embedded design. [7]
1 of 1
|''|'''||''||'''||||
Code No: R164104D R16 Set No. 3
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Explain the conversion process from source file to object file translation. [7]
b) Explain briefly about interrupt servicing mechanism. [7]
5. a) Define process? Draw the processor state transition diagram and explain it. [7]
b) Define message passing? Explain how the message passing is classified. [7]
1 of 1
|''|'''||''||'''||||
Code No: R164104D R16 Set No. 4
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Write and explain the advantages of high level based development. [7]
b) Discuss the Mixing Assembly with high level language and mixing high level
language with assembly. [7]
6. a) What is the difference between assembler and disassembler? State their uses in
embedded application development. [7]
b) Explain the Boundary Scan based hardware debugging in details. [7]
1 of 1
|''|'''||''||'''||||
Code No: R164104D R16 Set No. 1
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: R164104D R16 Set No. 2
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Write and explain the drawbacks of assembly language based development. [7]
b) What is Interrupt? Explain multiple interrupts with examples. [7]
5. a) Write and explain the basic functions of real time kernel. [7]
b) Explain data flow graph and state machine model in embedded design. [7]
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: R164104D R16 Set No. 3
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Explain the conversion process from source file to object file translation. [7]
b) Explain briefly about interrupt servicing mechanism. [7]
5. a) Define process? Draw the processor state transition diagram and explain it. [7]
b) Define message passing? Explain how the message passing is classified. [7]
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: R164104D R16 Set No. 4
IV B.Tech I Semester Regular Examinations, October/November - 2019
EMBEDDED SYSTEMS
(Electronics and Communication Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any FOUR questions from Part-B
*****
4. a) Write and explain the advantages of high level based development. [7]
b) Discuss the Mixing Assembly with high level language and mixing high level
language with assembly. [7]
6. a) What is the difference between assembler and disassembler? State their uses in
embedded application development. [7]
b) Explain the Boundary Scan based hardware debugging in details. [7]
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: RT42043C R13 Set No. 1
IV B.Tech II Semester Regular/Supplementary Examinations, April/May - 2019
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering and Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) List the different categories of Embedded Systems based on the area of
applications. [3]
b) Explain any two wireless communication devices used in an Embedded System. [4]
c) Explain the different files generated during the cross-compilation of an Embedded
C file. [3]
d) Explain multi task and their functions in embedded system. [4]
e) Compare Emulator and Simulator along with their major differences. [4]
f) Distinguish between software and hardware based debugging. [4]
3. a) Explain about serial communication devices and parallel device ports. [8]
b) Discuss the significance of Watchdog timer in an Embedded System. [8]
4. a) What is a Device Driver? Explain different types of device drivers and use of them. [8]
b) Explain different Embedded Firmware design approaches. [8]
7. a) Explain the testing steps on host machine. Why host system is used for most of the
development? [8]
b) What is a target system? Explain the process of loading Embedded Software into
the target system. [8]
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: RT42043C R13 Set No. 2
IV B.Tech II Semester Regular/Supplementary Examinations, April/May - 2019
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering and Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) List the Application-specific and Domain Specific examples of an embedded
System. [3]
b) Distinguish between serial and parallel communication devices. [4]
c) Compare Compiler and Cross-compiler. [4]
d) Explain the functional and non-functional requirements to choose a RTOS. [4]
e) What is an IDE? [3]
f) List out the translation tools used in an Embedded system. [4]
3. a) Explain the purpose of a Real Time Clock and its functionality in an embedded
system. [8]
b) Explain serial interface, timer and counters along with their usage in an embedded
processor. [8]
4. a) Explain the following: (i) interrupt (ii) Interrupt Vector address and (iii) Interrupt
Service Routine (ISR)? Explain the role of ISR in an embedded application
development [8]
b) Briefly discuss about the different types of device drivers used in an embedded
system along with their usage. [8]
6. a) Explain how cross-compiler is used for host and target machines? [8]
b) Discuss Embedded Software Development Tools in details. [8]
7. a) Explain the following (i) Interpreter, (ii) Compiler and (iii) Linker [8]
b) Compare various Laboratory tools used for embedded system implementation and
testing. [8]
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: RT42043C R13 Set No. 3
IV B.Tech II Semester Regular/Supplementary Examinations, April/May - 2019
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering and Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) List out the different communication Interface used in an embedded system. [3]
b) Explain the role of watchdog timer in a single board computer. [4]
c) Give the functionalities of an Embedded device driver. [4]
d) Explain different Computational models used in an Embedded System design. [4]
e) What is an IDE and what is the selection criterion of an IDE. [4]
f) Describe preprocessor and Interpreters. [3]
3. a) Explain the purpose of (i) Counting Device and (ii) Real Time Clock in an
embedded system, [8]
b) Explain different I/O subsystems of embedded systems. [8]
4. a) What are the different possible sources of interrupts? Explain different interrupt
service mechanisms. [8]
b) What is a device driver? Explain the programming of the device driver with an
example. [8]
5. a) In a real time system having periodic Tasks T1, T2, T3 and an aperiodic task T4
all requesting at time t = 0 have the following properties.
Task Period Execution Time Dead Line
T1 210 70 210
T2 70 21 70
T3 140 28 140
T4 aperiodic 80 420
(i) Calculate the utilization ratios and hence find the scheduling.
(ii) Determine whether the tasks can meet deadlines. [8]
b) Explain the important Hardware Software Tradeoffs in Hardware Software
Partitioning. [8]
1 of 2
|''|'''||''||'''|||| www.manaresults.co.in
Code No: RT42043C R13 Set No. 3
6. a) Explain various techniques used for uploading the code in to the target
Hardware. [8]
b) Discuss the Boundary Scan based hardware debugging in detail. [8]
7. a) Explain in detail the testing process involved in developing an embedded system. [8]
b) Explain how the compiling needs of an embedded system are different from that
of general purpose computer with suitable examples. [8]
2 of 2
|''|'''||''||'''|||| www.manaresults.co.in
Code No: RT42043C R13 Set No. 4
IV B.Tech II Semester Regular/Supplementary Examinations, April/May - 2019
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering and Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
3. a) Explain the working of watchdog timer and also explain about control and status
registers. [8]
b) Compare the data transfer using serial and parallel port devices along with their
advantages and disadvantages. [8]
5. a) Explain how thread and process are used in an embedded system. [8]
b) Discuss how ICE is useful for testing an Embedded System with neat diagram. [8]
7. a) Explain the following Laboratory Tools (i) Logic Probe (ii) Oscilloscope
(iii) Logic Analyzer (iv) System Monitor Codes [8]
b) Explain at least four models that are used for testing an Embedded System. [8]
1 of 1
|''|'''||''||'''|||| www.manaresults.co.in
Code No: RT42043C R13 Set No. 1
IV B.Tech II Semester Regular/Supplementary Examinations, April - 2018
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering & Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) What is the difference between big -endian and little-endian processors? [4]
b) Explain the role of logic gates in embedded hardware design? [4]
c) What is task control block (TCB)? [4]
d) What is relocatable code? [3]
e) List the different files generated during the cross compilation? [4]
f) What is the use of host machine for embedded system? [3]
4. a) Explain the various activities involved in the creation of process and threads. [8]
b) Three processes with process IDs P1, P2, P3 with estimated completion time 12,
10, 2 milliseconds respectively enters the ready queue together in the order P2,
P3, P1. Process P4 with estimated execution completion time 4 milliseconds
enters the Ready queue after 8 milliseconds. Calculate the waiting time and Turn
Around Time (TAT) for each process and the average waiting time and Turn
Around Time (Assuming there is no I/O waiting for the processes) in the FIFO
scheduling. [8]
5. a) Explain the high level language based embedded firmware development. [8]
b) What are pseudo-ops? What is the use of it in assembly language programming? [8]
7. a) Explain about Laboratory instruments for testing the embedded system. [8]
b) Write short notes on quality assurance and testing of the embedded system
design. [8]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 2
IV B.Tech II Semester Regular/Supplementary Examinations, April - 2018
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering & Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) List out the major application areas of embedded systems. [4]
b) What is the difference between multiplexer and de-multiplexer? [4]
c) Explain the process management in the operating system context. [3]
d) Explain the format of assembly language instruction. [3]
e) Explain the various details stored in an object file generated during the cross
compilation. [4]
f) List the various simulators used for embedded system testing. [4]
3. a) What is a sequential circuit? Draw a 3-bit binary counter using T flip flop and
explain its functioning. [8]
b) Explain the role of real time clock in embedded systems with suitable diagram? [8]
5. a) Explain the difference between super loop based and OS based embedded
firmware design. [8]
b) List out the limitations/drawbacks of assembly language based embedded
firmware development. [8]
7. a) Explain the important features of compilers and linkers that are relevant to
embedded system? [8]
b) List and describe the translation tools used in an embedded system. [8]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 3
IV B.Tech II Semester Regular/Supplementary Examinations, April - 2018
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering & Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) List the differences between embedded system and general computing system. [3]
b) What is the difference between synchronous and asynchronous sequential
circuits? [4]
c) Explain the task scheduling in the operating system context. [4]
d) What is absolute object file? [3]
e) Explain the various details held by map file generated during the cross
compilation. [4]
f) How the target systems differ from the final embedded system? [4]
6. a) Describe in detail the improvements over firmware debugging starting from the
most primitive type of debugging to the most sophisticated on chip debugging. [8]
b) Explain the different tools used for hardware debugging. [8]
7. a) List and describe the debugging tools used in an embedded system. [8]
b) Briefly discuss about testing on host machine. [8]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 4
IV B.Tech II Semester Regular/Supplementary Examinations, April - 2018
EMBEDDED SYSTEMS
(Common to Electronics and Communications Engineering, Electronics and
Instrumentation Engineering & Electronics and Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) What is the difference between PLD and ASIC? [4]
b) List out the analog electronic components in embedded hardware design. [4]
c) Explain the concept of multithreading. [4]
d) Explain library file in assembly language. [3]
e) What is a decompiler? [3]
f) Explain the need of editor. [4]
3. a) What is an integrated circuit? Explain the different types of integrations for ICs.
Give an example for each. [8]
b) List out the differences between digital combinational and sequential circuits? [8]
4. a) What is kernel space and user space? How is kernel space and user space
interfaced? [8]
b) Explain the different task communication synchronization issues encountered in
interprocess communication. [8]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 1
IV B.Tech II Semester Regular Examinations, April/May - 2017
EMBEDDED SYSTEMS
(Common to Electronics & Communication Engineering, Electronics & Instumentation
Engineering and Electronics & Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) What is meant by Embedded firmware? [3]
b) What are Timer and counting devices? [4]
c) What are concepts of Embedded C? [4]
d) What are the types of RTOS? [3]
e) What are types of files generated on cross-compilation? [4]
f) What are the various simulators used for Embedded system testing? [4]
6. a) Draw and explain the integrated embedded system development environment. [8]
b) Write notes on Embedded software development-process? [8]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 2
IV B.Tech II Semester Regular Examinations, April/May - 2017
EMBEDDED SYSTEMS
(Common to Electronics & Communication Engineering, Electronics & Instumentation
Engineering and Electronics & Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) What is operational quality attribute? [3]
b) What is the operation of transistor based relay driver circuit [4]
c) What is the difference between C and Embedded C [4]
d) What is process life cycle? [3]
e) What are the advantages of simulator base debugging? [4]
f) What is a target system? How does the target system differ from the final
embedded system? [4]
PART–B (3x16 = 48 Marks)
2. a) What is Digital Signal Processor? Explain the role of DSP in embedded system
design. [8]
b) Explain the different characteristics of embedded systems in detail? [8]
5. a) What is the difference between general purpose kernel and real time kernel?
Give example. [8]
b) Explain the different multitasking models in operating system context [8]
6. a) Explain in detail about different files generated during the cross compilation of
an Embedded C file [8]
b) What is a monitor program? Explain role in embedded firmware debugging.
[8]
7. Explain in detail about below terms
a) Interpreters b) Simulator c) Linkers [16]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 3
IV B.Tech II Semester Regular Examinations, April/May - 2017
EMBEDDED SYSTEMS
(Common to Electronics & Communication Engineering, Electronics & Instumentation
Engineering and Electronics & Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) What is non-operational quality attribute? [3]
b) What is role of reset circuit in embedded systems? [4]
c) What is macro in embedded C? [3]
d) What are the activities involved during context switching? [4]
e) What is logic Analyzer? [4]
f) What do you mean by application software for a target system? [4]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||
Code No: RT42043C R13 Set No. 4
IV B.Tech II Semester Regular Examinations, April/May - 2017
EMBEDDED SYSTEMS
(Common to Electronics & Communication Engineering, Electronics & Instumentation
Engineering and Electronics & Computer Engineering)
Time: 3 hours Max. Marks: 70
Question paper consists of Part-A and Part-B
Answer ALL sub questions from Part-A
Answer any THREE questions from Part-B
*****
PART–A (22 Marks)
1. a) What are the difference between general purpose computing and embedded
systems [4]
b) What is watchdog timer? [3]
c) What is Assembly language programming? [4]
d) What is ICE? [4]
e) What are the limitations of simulator base debugging? [4]
f) What are Laboratory Tools? [3]
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||