Font Size: a A A

Design And Implementation Of Embedded Data Acquisition System Based On ACoral

Posted on:2015-04-19Degree:MasterType:Thesis
Country:ChinaCandidate:L J ZhangFull Text:PDF
GTID:2308330473450630Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
embedded systems has a long history, from the 1960 s to now the development has made great progress. especially with the recent rise of the aCoral16ernet and mobile networking, embedded systems is in full swing rapidly. at the same time with the domestic research capacity enhance,the domestic embedded systems is also booming. aCoral embedded systems is by our project team developed and is a embedded operating system support real-time and multi-core cpu. aCoral system now has support for multiple cpu and peripherals as well as a wealth of basic software such as file systems, tcp/ip protocols. embedded systems are used in all aspects of society, resulting in embedded systems need to support complex and varied external devices. so as device driver, which is support equipment as necessary procedures work properly,has become complex and diverse. this situation also allows the driver to become difficult to manage and develop.and because the driver and the kernel tightly coupled, which increasing the difficulty of managing the kernel and the danger of collapse. device driver model emerged just to solve the above problem by decoupling between the kernel and drivers, reducing the risk kernel crash. at the same time driving model defines various aCoral16erfaces and management module, so that the driving development and management becomes easy. aCoral system is in this context presents its own device driver model.This thesis first analyzes the driven model of mainstream operating systems RTthread and embedded operating system RTthread and the implementation code. And then identify the common characteristics of different drive models, analyzed the advantages and disadvantages. Analysis results show that mostly driven model draws on the decoupling characteristics of the software engineering field. Such a variety of drivers will not jumbled together so that the device driver is easy to manage, while increasing the stability of the system. In the specific implementation, the system also draws on a variety of object-oriented thinking, through his son inherited features to manage the relationship between the various bus and equipment. This thesis draws on these ideas, for the aCoral operating system, which selectively absorbs the advantages of the system and in accordance with aCoral own characteristics so that can achieve a suitable driver model of their own.In order to verify the validity of the model-driven, but also add usb function so that I implement the usb ohci protocol stack. First of all I read the usb protocol stack, and then analysis the realization RTthread kernel usb agreement, understanding how to achieve usb protocol stack, and then realized the usb ohci agreement. And then I implement the funciton of u-disk. Finally, for the test, the system can correctly identify the u disk device can read and write properly completed u disk file. Verify the correctness of the protocol and OHCI driver model.
Keywords/Search Tags:aCoral, device driver model, usb ohci protocol stack
PDF Full Text Request
Related items