本文主要目的在於依據OSEK/VDX協定,針對車載ECU通訊網路所規範之作業系統、通訊管理與網路管理的開放式標準,進行OSEK ECU網路管理功能API之研發。 本研究首先使用C/C++語言,進行API程式編輯,並以Freescale公司CodeWarrior開發軟體編譯完成後,藉由Freescale之USB Multilink Interface,線上燒錄至Freescale MC9S08DZ60晶片中,並結合測試軟體及CAN介面,進行ECU網路管理功能應用程式介面函式庫(API)之開發,以及OSEK ECU節點網路管理功能測試。 本文完成OSEK網路管理中的11項應用程式介面函式庫(API),以11項API架構出具OSEK ECU網路管理功能之系統模型,實現OSEK規範中的狀態轉換、監控和配置管理等功能。另藉由網路管理協議單元定義訊框格式,實現睡眠模式,以達到節能目的。本研究成果可提供車輛零件供應廠及車輛製造廠在車輛網路ECU元件或系統模組開發階段引用,藉以提昇國內車輛電子產業相關技術。
This article is based on the open standard specification of the communication network operating system, communication management and network management of OSEK/VDX protocol for ECU on vehicles, and develops the APIs of network management of OSEK on ECU. This research compiles the API program based on C language by Freescale CodeWarrior, and online programming to Freescale MC9S08DZ60. Combining the testing software and CAN interface, this research proceeds the development of the API of network management of OSEK on ECU, and tests the network management of nodes of OSEK on ECU. This article completes the 11 APIs of OSEK network management, and constructs the network module based on OSEK network management by this 11 APIs. Also, this research implements the state transition, monitoring and configuration management, and defines the message frame by the network management protocol data unit. In addition, it accomplishes the sleep mode for energy saving. This research can be involved into vehicle parts supplier or vehicle manufacturer for developing the ECU of network on vehicle or system module. And, it improves the domestic relevant industry technology of telematics.