基于AutoSAR规范的驱动代码生成工具箱设计与实现

针对汽车控制器中驱动代码生成存在对硬件依赖性强、代码格式不规范、可重用性不强等问题,提出利用仿真建模工具Simulink/RTW、结合AutoSAR规范、基于代码生成技术的汽车控制器驱动工具箱的设计方法。通过对驱动配置模块的不同芯片配置及对相关参数的设置满足多处理器需求,依据AutoSAR规范对驱动函数接口的封装实现代码的可重用性。最后将设计的驱动工具箱结合代码生成模板应用于BCM车窗控制系统,实验证明了该方法的高效性和可行性。...

Full description

Saved in:
Bibliographic Details
Published in电子技术应用 Vol. 38; no. 7; pp. 33 - 36
Main Author 冯辉宗 刘先东 蒋建春 邱宝梅
Format Journal Article
LanguageChinese
Published 重庆邮电大学重庆高校汽车电子与嵌入式系统工程研究中心,重庆,400065 2012
Subjects
Online AccessGet full text
ISSN0258-7998
DOI10.3969/j.issn.0258-7998.2012.07.014

Cover

More Information
Summary:针对汽车控制器中驱动代码生成存在对硬件依赖性强、代码格式不规范、可重用性不强等问题,提出利用仿真建模工具Simulink/RTW、结合AutoSAR规范、基于代码生成技术的汽车控制器驱动工具箱的设计方法。通过对驱动配置模块的不同芯片配置及对相关参数的设置满足多处理器需求,依据AutoSAR规范对驱动函数接口的封装实现代码的可重用性。最后将设计的驱动工具箱结合代码生成模板应用于BCM车窗控制系统,实验证明了该方法的高效性和可行性。
Bibliography:According to the problems of code generation in the driver of auto controller, such as depending on hardware strongly,code format not standard, reusability not strong and so on, this paper puts forward a kind of designing method of the driver toolbox of auto controller using the simulation modeling tools Simulink/RTW, combining with AutoSAR norms,based on code genera- tion. In designing process, it meets many processors through different chips configuration and the related parameters settings of the drive configuration module, and realizes the code reusability through the encapsulation of driver function interface according to Au- toSAR norms. Finally, the designed driver toolbox is used in BCM windows control system, combining with the code generation tem- plate, and the experimental results proves the high efficiency and feasibility of this method.
code generation ; the drive toolbox ; AutoOSAR ; Simulink/RTW
Feng Huizong, Liu Xiandong, Jiang Jianchun, Qiu Baomei (Engineering Research Center of Automotive Ele
ISSN:0258-7998
DOI:10.3969/j.issn.0258-7998.2012.07.014