• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:马宏伟,吴长水.基于统一诊断协议的控制器在线升级系统设计[J].软件工程,2020,23(8):5-8.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于统一诊断协议的控制器在线升级系统设计
马宏伟,吴长水
(上海工程技术大学机械与汽车工程学院,上海 201620)
1007224517@qq.com; wuchangshui@sues.edu.cn
摘 要: 统一诊断协议UDS是诊断服务的标准化规范,控制器ECU是电子控制单元。针对车载ECU在使用过程 中,传统的控制器ECU应用软件升级方案比较烦琐,需要将ECU拆卸下来在进行升级。本文以MPC5634M单片机作为 控制器,基于UDS协议设计了一种ECU应用软件在线升级方案。Bootloader是ECU上电后首先运行的软件程序,CAN 是一种串行通信。在CodeWarrior集成开发环境下,进行MPC5634M单片机Bootloader底层驱动开发,在VS平台下进行 上位机设计,通过周立功USB转CAN,实现上位机和下位机CAN通信,并对ECU在线升级功能进行验证。实验结果表 明:此设计通过CAN总线能稳定可靠的进行ECU在线系统升级,解决了传统控制器ECU拆卸下来在进行应用程序升级 的烦琐问题,达到了应用软件升级方便的设计需求。
关键词: MPC5634M;UDS协议;在线升级
中图分类号: TP311.52    文献标识码: A
Design of Online Updating System for Controllers based on Uni ed Diagnostic Protocol
MA Hongwei, WU Changshui
( School of Mechanical and Automotive Engineering, Shanghai University of Engineering Science, Shanghai 201620, China)
1007224517@qq.com; wuchangshui@sues.edu.cn
Abstract: The uni ed diagnostic protocol (UDS) is the standard speci cation for diagnostic services, and the controller ECU is the electronic control unit. The current updating scheme for the traditional controller ECU (Electronic Control Unit) application is so complicated that it should be dismantled for updating. In order to solve the above problem, a new scheme for online updating the ECU application is designed based on UDS protocol, using MPC5634M single-chip microcomputer as the controller. Bootloader is the first software program to run after ECU is powered on, and CAN (Controller Area Network) is a kind of serial communication. Under the CodeWarrior integrated development environment, the MPC5634M single-chip Bootloader bottom-layer driver development is carried out, and the host computer is designed on the Visual Studio platform. Through transferring Zhou Ligong USB to CAN (i.e, a product provided by Zhou Ligong Company), the communications between the host computer and the slave computer CAN is realized, and the ECU online updating function is veri ed. The results of the experiment show that this newly-designed scheme enables the ECU online system to update stably through the CAN bus, which meets the design requirements of convenient application updating and solve the problem of the existing scheme.
Keywords: MPC5634M; UDS protocol; online updating


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫