Combining with the application of wind tunnel measure and control system with embedded real-time operating system VxWorks , with the serial communication in it as an example ,the key techniques about realization of the serial communication in VxWorks are discussed. Communication mechanism, environment configure and corresponding program examples are provided.
VxWorks;RTOS;embedded operating system; Serial Communication
VxWorks是由wRS(wind River Systems,Inc.)公司開發的一套具有微內核、高性能、可伸縮的實時操作系統,支持廣泛的網絡通信協議,并能夠根據用戶的需求進行組合,其開放式的結構和對工業標準的支持使開發者只需做最少的工作即可設計出有效的適合于不同用戶要求的系統。除了性能出眾的操作系統之外,wRS公司還提供了優秀的實時操作系統開發工具Tornado。Tornado由三個高度集成的部分組成:Tornado工具,一整套強有力的交叉開發工具;VxWorks運行系統,是運行在目標機上的高性能、可裁剪的實時操作系統;連接目標機和宿主機的通信選項,加以太網、串行線路、在線仿真等。Tornado能夠支持Windows、Unix等流行的工作平臺和PowerPC、X86、ARM等幾乎所有的目標處理器,所提供的工具可用于所有目標機,并具有兩種調試模式(系統模式和任務模式)。除了基本的功能和開發工具外,Tornado還具有先進的系列網絡產品,極大地擴展了Tornado的網絡特性,并增強了嵌人式微處理器的網絡特性。