Font Size: a A A

Based Multi-site Bus Gateway In Arm / Vxworks Bsp And Driver

Posted on:2008-04-05Degree:MasterType:Thesis
Country:ChinaCandidate:G Z WangFull Text:PDF
GTID:2208360212499621Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As a digital communication network in field, fieldbus has been widely used in the field of modern industrial control and instrument measuring for its stong controllability, high reliability and excellent openness. However, a lot of kinds of fieldbuses coexist for historical and applied field reason. Fieldbuses of different kinds have to communicate with each other and users need to operate and control fieldbus devices of different varieties in practice. At the same time, measurement and control system in industry adopts fieldbus technology in the control level, but adopts enterprise information network constituted by Ethernet in the management level. The development of industrial network needs urgently to syncretize information network of top level, so as to share information and meet the needs of integrating management and control. To solve the two problems, this dissertation put forward an interconnecting gateway based on ARM and VxWorks to interconnect different fieldbuses and Ethernet. Through this gateway, different fieldbuses can communicate with each other and they can also communicate with Ethernet. In addition, the gateway provided uniform interface.This dissertation began with overall design of the gateway and analyzed overall structure design, hardware platform characteristics and software design. This dissertation expatiated the implemention principle of the real-time middleware of gateway in overall structure design. The dissertation mainly analyzed the implemention mechanism of booting from nandflash in hardware platform building. The dissertation deeply set forth convertion programme between different protocols in software design.BSP and driver design of the interconnecting gateway are the emphases of the dissertation. The dissertation brought forward a scheme to boot OS through two phases in the part of BSP design, conbining with the characteristic of BSP design based on the VxWorks OS and hardware characteristic of the interconnecting gateway. The booting code of the first phase mainly initialized hardware and carried the booting code of the second phase to SDRAM; the booting code of the second phase was responsible for booting VxWorks OS. In the end of BSP design, the dissertation emphasized the implemention mechanism of exception of the booting code. In the part of driver design, the dissertation started with the connection between I/O subsystem and driver in VxWorks OS, and analyzed the implemention course from I/O function call to driver. After that, the dissertation, combining with the source code of the project, analyzed datailedly the implemention mechanism and course of the drivers of serial device, Nandflash device, network card and CAN controlling card, and discussed how to load these device drivers to OS at the end of driver analysis of every device. The last is sum-up and further research of interconnecting gateway.
Keywords/Search Tags:Fieldbus, Interconnecting gateway, BSP, Driver
PDF Full Text Request
Related items