Font Size: a A A

Design And Implementation Of The Kernel Of Virtual Experiment System For Embedded Systems

Posted on:2014-01-11Degree:MasterType:Thesis
Country:ChinaCandidate:A H ZhangFull Text:PDF
GTID:2248330398472141Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Embedded technology develops rapidly with the advent of the post-PC era, resulting in a huge talent gap."Embedded System" is a very practical course. Due to constantly upgrading of embedded devices and the large investment in them, some universities are unable to provide sufficient experimental equipment. In addition, distance education can not provide the real equipment. So it becomes a feasible solution to build a virtual experiment system for this course with information and network technology.In this paper, based on the in-depth research on virtual experiment systems home and abroad as well as the situation of experimental teaching of embedded systems, a virtual experiment system for embedded systems with separated user interface (UI) and kernel is designed according to the characteristics of embedded systems and the existing web-based virtual experiment platform, and a detailed description of the implementation of the kernel and its interface with the UI is given.The kernel of the system is modeled with object-oriented methods, and is divided into three parts:the virtual device system, the instruction simulation system and the control system. In the virtual equipment system, a general device model is established, and the devices are designed and implemented independently, which contribute to the expansion of the devices and the freedom to build experimental circuit, In the instruction simulation system, the instruction set is simulated in interpretive mode, which ensures that the instruction execution is transparent to users, In the control system, the run control of the experiment is simplified with message mechanism, in which a unified format of the message and scheduling algorithm is designed, thus achieving the signal transimsission of the experimental circuit and the processing of the user’s operations. The whole kernel is implemented in modeling way, so it has good portability.The interface between the kernel and the UI is designed with the requirements of richness, convenience and scalability, and is implemented with JNA. Therefore, the UI of the system can easily call the functions provided by the kernel, so as to show to the user the whole process of the experiment.With the example of8051, this paper introduces the design and implementation of the specific device, processor and instruction system according to the models in the kernel, In addition, the design of the kernel is verified to be rational after the test with two comprehensive experiments of8051. The good design of the kernel ensures the scalability and stability after the follow-up to add a web UI, thus being able to meet the needs of the development of virtual experimental teaching platform for embedded systems.
Keywords/Search Tags:embedded system, virtual experiment, device simulation&modeling, instruction simulation, 8051
PDF Full Text Request
Related items