摘要
为快速高效地开发稳定的符合汽车开放系统架构(AUTOSAR)规范的底层驱动,从底层驱动接口标准、参数配置接口、错误处理机制等方面研究符合AUTOSAR规范的底层驱动设计开发方法,并以CAN驱动的开发为例验证该方法的可行性。测试结果表明,利用该方法开发的驱动程序能有效捕获CAN控制器运行时发生的错误,并抛出相应的异常和激活相应的异常处理程序,从而可降低驱动错误对上层系统稳定性的影响。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2011年第9期62-64,67,共4页
Computer Engineering
基金
"核高基"重大专项"汽车电子控制器嵌入式软件平台研发及产业化"(2009ZX01038-002-002-2)
重庆市科技攻关计划基金资助项目(CSTC
2009AB6085
CSTC
2009AB2244)
关键词
汽车开放系统架构
可移植性
驱动接口规范
驱动软件设计
稳定性测试
AUTomotive Open Systems ARchitecture(AUTOSAR)
portability
driver interface specification
driver software design
stability test