作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (9): 62-64,67. doi: 10.3969/j.issn.1000-3428.2011.09.021

所属专题: “核高基”专题

• “核高基”专题 • 上一篇    下一篇

符合AUTOSAR规范的底层驱动软件开发

王安军a,蒋建春a,陈培然b   

  1. (重庆邮电大学 a. 汽车电子与嵌入式系统研究所;b. 通信与信息工程学院,重庆 400065)
  • 出版日期:2011-05-05 发布日期:2011-05-12
  • 作者简介:王安军(1984-),男,硕士研究生,主研方向:汽车电子,嵌入式系统;蒋建春,讲师、博士研究生;陈培然,硕士研究生
  • 基金资助:
    “核高基”重大专项“汽车电子控制器嵌入式软件平台研发及产业化”(2009ZX01038-002-002-2);重庆市科技攻关计划基金资助项目(CSTC,2009AB6085, CSTC,2009AB2244)

Device Driver Software Development According with AUTOSAR Specification

WANG An-jun  a, JIANG Jian-chun  a, CHEN Pei-ran  b   

  1. (a. Institute of Automotive Electronic and Embedded System; b. School of Communication and Information Engineering, Chongqing University of Posts and Telecommunications, Chongqing 400065, China)
  • Online:2011-05-05 Published:2011-05-12

摘要: 为快速高效地开发稳定的符合汽车开放系统架构(AUTOSAR)规范的底层驱动,从底层驱动接口标准、参数配置接口、错误处理机制等方面研究符合AUTOSAR规范的底层驱动设计开发方法,并以CAN驱动的开发为例验证该方法的可行性。测试结果表明,利用该方法开发的驱动程序能有效捕获CAN控制器运行时发生的错误,并抛出相应的异常和激活相应的异常处理程序,从而可降低驱动错误对上层系统稳定性的影响。

关键词: 汽车开放系统架构, 可移植性, 驱动接口规范, 驱动软件设计, 稳定性测试

Abstract: In order to develop a stable driver according with AUTOSAR specification quickly and effectively, this paper proposes design and implementation procedure for the driver from the standard of driver interface, parameter configuration interface, error handling and so on. The feasibility and effectiveness of the procedure are verified by the development of CAN driver. Test results show that the CAN driver developed by the procedure can capture effectively the runtime errors of CAN controller and active the appropriate exception handler. So it can bring less effect to the stability of upper-level system.

Key words: AUTomotive Open Systems ARchitecture(AUTOSAR), portability, driver interface specification, driver software design, stability test

中图分类号: