Embedded Systems Short Answers
Embedded Systems Short Answers
A compiler is a software tool that translates high-level programming language code into machine code or low-level code
executable by a processor.
A cross-compiler is a compiler that runs on one platform (host) but generates executable code for a different platform
(target).
An interrupt/event is a signal that temporarily halts the normal execution of a program to attend to a high-priority task.
An ISR is a special function that gets executed automatically in response to an interrupt signal.
Key issues include partitioning (deciding which function goes to hardware/software), communication between
components, synchronization, and meeting constraints like power, cost, and timing.
Q6. Explain Data Flow Graph (DFG) computational model with example.
A DFG represents computation as nodes (operations) and edges (data dependencies). Example: A = B + C; D = A * E -
'+' and '*' are nodes, with arrows showing data flow.
Q7. Explain Control Data Flow Graph (CDFG) computational model with example.
CDFG combines control structures with data flows to represent both operations and decisions. Example: An 'if'
Represents system behavior with states and transitions. Example: A traffic light with states (Green, Yellow, Red) and
Executes instructions one after another in a specific order. Example: A program calculating factorial using a loop.
Embedded Systems - Short Answer Questions
Multiple tasks run in parallel and communicate via messages or shared memory. Example: Sensor data acquisition and
Q11. Discuss various techniques used for embedding the firmware into the target board.
Includes ROM programming, EEPROM, Flash memory, and in-system programming methods like JTAG or ISP.
Firmware is programmed into the memory chip using a programmer before it is soldered onto the board.
Firmware is loaded directly into the microcontroller while it is already mounted on the PCB using serial interfaces like
Q14. Explain the importance hardware software trade-offs in hardware software partitioning?
Helps balance cost, performance, power, and development time by choosing the optimal implementation domain
(hardware or software).
Includes hardware (target board), software tools (IDE, compiler), debugger, simulator, emulator, and communication
interfaces.
Q16. Explain the role of integrated development environment (IDE) for embedded software development.
An IDE integrates editing, compiling, debugging, and flashing tools into a single interface to streamline development.
Q17. What are the different files generated during the cross-compilation? Explain them in detail.
Q18. Explain the various details held by a List File generated during the process of cross-compiling.
Embedded Systems - Short Answer Questions
Contains source code, line numbers, machine code, addresses, and symbol information.
Q19. Explain the various details held by a Map File generated during the process of cross-compiling.
Shows memory usage, symbol locations, code/data sizes, and section allocation.
Q20. Explain the various details held by an Object File generated during the process of cross-compiling.
Contains compiled code, symbol tables, relocation info, and debugging data.
Consists of ASCII lines with fields: Start code, byte count, address, record type, data, and checksum.
Q22. Explain them in detail about the different techniques available for embedded firmware debugging?
Include simulation, emulation, JTAG debugging, printf debugging, LED indicators, and hardware breakpoints.
Steps include requirements analysis, system design, coding, testing, debugging, and deployment.
Includes oscilloscopes, logic analyzers, multimeters, signal generators, and in-circuit emulators (ICE).