1
Er, 1
● The following statement about embedded system development is correct (10). (10) a. Only A logical connection needs to be established between the host and the target b. Only serial communication can be adopted between the host and the target. C. Cross-compiler must be used on the host to generate the executable code of the target. The debugger and the program to be debugged must be installed on the same machine
Host machine is the machine used to develop programs; The target machine is the machine that ultimately runs the program.
There is more than one way to communicate between the host and the target. Options like this with “only” are probably wrong.
The connection mode between host and target is different depending on the embedded development and debugging mode.
The debugger and the program to be debugged do not have to be installed on the same machine. For example, the online simulation method, is the host machine runs the debugger, control the target machine to be debugged. So choice D is wrong.
The cross-compiler is a necessary development tool for the host computer. The so-called crossover is the development on the host machine and debugging on the target machine.
- Circuit / ˈ s ɜ ː fairly rk ɪ t /
the complete path of wires and equipment along which an electric current flows
- The emulator / ˈ emjule ɪ t goes r /
from emulate Computer Science To imitate the function of (another system), as by modifications to hardware of software that allow the imitating system to accept the same data, execute the same programs, and achieve the same results as the imitated system.
This topic examines the knowledge point is more, more complex.
Answer: C
Er, 2
● The following statement about the hardware abstraction layer of embedded systems is incorrect (11). (11) a. The hardware abstraction layer is closely related to hardware and can hide the diversity of hardware from the operating system. The hardware abstraction layer separates the operating system from the hardware platform. C. The hardware abstraction layer enables the design and debugging of hardware and software in parallel. The hardware abstraction layer should include device drivers and task scheduling
This problem examines the hardware abstraction layer. The key is to remember these two pictures.
Task scheduling is what the operating system should do. The driver interacts with the hardware abstraction layer to drive the hardware.
Answer: D
Bo 3
● (12) Is not reflective of embedded real-time operating systems. (12) a. Task execution time B. Interrupt response and delay time C. Task switching time D. Semaphore mixing time
A. task switching time B. task switching time C. task switching time
Answer: A,
2 Knowledge points involved
- The communication mode between the host and the target.
- Embedded development debugging.
- Cross-compile environment.
- Embedded system hardware abstraction layer.
- Real-time evaluation indicators.
References:
- Embedded development platform and debugging environment
- Hardware abstraction layer
- Real-time embedded operating system