首页 | 本学科首页   官方微博 | 高级检索  
     

基于AutoSAR规范的驱动代码生成工具箱设计与实现
引用本文:冯辉宗,刘先东,蒋建春,邱宝梅. 基于AutoSAR规范的驱动代码生成工具箱设计与实现[J]. 电子技术应用, 2012, 0(7): 33-36
作者姓名:冯辉宗  刘先东  蒋建春  邱宝梅
作者单位:重庆邮电大学重庆高校汽车电子与嵌入式系统工程研究中心,重庆,400065
基金项目:重庆市科技攻关计划项目,重庆高校优秀成果转化资助项目,重庆高校创新团队建设计划
摘    要:针对汽车控制器中驱动代码生成存在对硬件依赖性强、代码格式不规范、可重用性不强等问题,提出利用仿真建模工具Simulink/RTW、结合AutoSAR规范、基于代码生成技术的汽车控制器驱动工具箱的设计方法。通过对驱动配置模块的不同芯片配置及对相关参数的设置满足多处理器需求,依据AutoSAR规范对驱动函数接口的封装实现代码的可重用性。最后将设计的驱动工具箱结合代码生成模板应用于BCM车窗控制系统,实验证明了该方法的高效性和可行性。

关 键 词:代码生成  驱动工具箱  AutoOSAR规范  Simulink/RTW

Design and implementation of the driver code generation toolbox based on AutoSAR
Feng Huizong , Liu Xiandong , Jiang Jianchun , Qiu Baomei. Design and implementation of the driver code generation toolbox based on AutoSAR[J]. Application of Electronic Technique, 2012, 0(7): 33-36
Authors:Feng Huizong    Liu Xiandong    Jiang Jianchun    Qiu Baomei
Affiliation:(Engineering Research Center of Automotive Electron and Embeded System,Chongqing University of Posts and Telecommunications, Chongqing 400065,China)
Abstract: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 generation.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 AutoSAR norms.Finally,the designed driver toolbox is used in BCM windows control system,combining with the code generation template,and the experimental results proves the high efficiency and feasibility of this method.
Keywords:code generation  the drive toolbox  AutoOSAR  Simulink/RTW
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号