Advanced Embedded Systems

  Home  Artificial intelligence (AI)  Advanced Embedded Systems


“Advanced Embedded Systems related Frequently Asked Questions by expert members with job experience as Advanced Embedded Systems. These questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts”



76 Advanced Embedded Systems Questions And Answers

61⟩ Please explain which 8051 version is using UV-EPROM?

☛ Ultraviolet EPROM is used in the version 8751.

☛ Here it becomes easier to erase the data using uv rays.

☛ It takes around 20 minutes to erase the data.

☛ To overcome this short coming flash ROM versions of 8751 available.

 227 views

62⟩ List out various uses of timers in embedded system?

Timers in embedded system are used in multiple ways

☛ Real Time Clock (RTC) for the system

☛ Initiating an event after a preset time delay

☛ Initiating an even after a comparison of preset times

☛ Capturing the count value in timer on an event

☛ Between two events finding the time interval

☛ Time slicing for various tasks

☛ Time division multiplexing

☛ Scheduling of various tasks in RTOS

 236 views

63⟩ What is JNC?

☛ It is a command used to jump if no carry occurs after an arithematic operation.

☛ It is called as jump if no carry( conditional jump instruction).

☛ Here the carry flag bit in PSW register is used to make decision.

☛ The processor looks at the carry flag to see if it is raised or not.

☛ If carry flag is 0 ,CPU fetches instructions from the address of the label.

 265 views

64⟩ Tell me how are labels named in assembly language?

☛ Label name should be unique and must contain alphabetic letters in both uppercase and lowercase.

☛ 1st letter should always be an alphabetic letter.

☛ It can also use digits and special characters ?,.,@,_,$.

☛ Label should not be one of the reserved words in assembly language.

☛ These labels make the program much easier to read and maintain.

 219 views

65⟩ Explain me what is the need for an infinite loop in Embedded systems?

☛ Infinite Loops are those program constructs where in there is no break statement so as to get out of the loop, it just keeps looping over the statements within the block defined.

Example:

While(Boolean True) OR for(;;);

{

//Code

}

☛ Embedded systems need infinite loops for repeatedly processing/monitoring the state of the program. One example could be the case of a program state continuously being checked for any exceptional errors that might just occur during run time such as memory outage or divide by zero etc.,

☛ For e.g. Customer care Telephone systems where in a pre-recorded audio file is played in case the dialer is put on hold..

☛ Also circuits being responsible for indicating that a particular component is active/alive during its operation by means of LED's.

 219 views

66⟩ Do you know what is EQU?

☛ EQU is the equate assmbler directive used to define a constant without occupying a memory location.

☛ It associates a constant value with data label .

☛ Whenever the label appears in the program ,constant value is subsituted for label.

☛ Advantage: The constant value occuring at various positions in a program can be changed at once using this directive.

☛ Syntax: label EQU constant value

 236 views

67⟩ Do you know what is lst file?

☛ This file is also called as list file.

☛ It lists the opcodes ,addresses and errors detected by the assembler.

☛ List file is produced only when indicated by the user.

☛ It can be accessed by an editor and displayedon monitor screen or printed.

☛ Progammer uses this file to find the syntax errors and later fix them.

 217 views

68⟩ Explain me what are real-time embedded systems?

Real-time embedded systems are computer systems that monitor, respond or control an external environment. This environment is connected to the computer system through actuators, sensors, and other input-output interfaces.

 229 views

69⟩ What are buses used for communication in embedded system?

For embedded system, the buses used for communication includes

I2C: It is used for communication between multiple ICs

CAN: It is used in automobiles with centrally controlled network

USB: It is used for communication between CPU and devices like mouse, etc.

While ISA, EISA, PCI are standard buses for parallel communication used in PCs, computer network devices, etc.

 216 views

70⟩ Tell me why is Model transformations used in the embedded system?

Model transformations involve multiple models that are used to define different views of a system. It provides different level of granularity that it doesn’t use either the top-down approach or the bottom-up approach to implement the basic functionality of the system. It is used to integrate the library components used that involves the iteration of the model that needs to be constructed. It also involves the analysis of the model so that the process can be made automated by using the construction tools. The compilation made the progress by improving the code that is written in high level language and the code generator produce the code that is required for the machine language.

 207 views

71⟩ Explain me which 8051 version uses Flash ROM?

☛ Atmel Corporation is manufacturing flash ROM

☛ At 89C51 chip of atmel is using flash ROM.

☛ Here no Rom eraser is needed.

☛ Erasing process is done by the PROM burner itself.

☛ To avoid use of PROM burner the 8052 version support in-system programming.

 206 views

72⟩ Tell me are all the bits of flag register used in 8051?

☛ The flag register also called as the program status word uses only 6 bits.

☛ The two unused bits are user defineable flags.

☛ Carry, auxillary carry, parity and overflow flags are the conditional flags used in it.

☛ PSW.1 is a user definable bit and PSW.5 can be used as general purpose bit.

☛ Rest all flags indicate some or the other condition of an arithmetic operation.

 178 views

73⟩ Explain which 2 ports combine to form the 16 bit address for external memory access?

☛ Port0 and port2 together form the 16 bit address for external memory.

☛ Port0 uses pins 32 to 39 of 8051 to give the lower address bits(AD0-AD7)

☛ Port2 uses pins 21 to 28 of 8051 to give the higher address bits(A8-A15)

☛ This 16 bit address is used to access external memory if attached.

☛ When connected to external memory they cannot be used as input output ports.

 231 views

74⟩ Explain me what are the commonly found errors in Embedded Systems?

☛ Damage of memory devices due to transient current and static discharges.

☛ Malfunctioning of address lines due to a short in the circuit.

☛ Malfunctioning of Data lines.

☛ Some memory locations being inaccessible in storage due to garbage or errors.

☛ Improper insertion of Memory devices into the memory slots.

☛ Faulty control signals.

 211 views