摘要: 针对车身ECU升级困难的现状,在分析IAP技术的基础上,提出一种基于CAN总线,采用CCP协议实现ECU在线升级的设计方案,并给出在单片机XC167CI的具体实现。阐述上位机文件下载工具中对加载文件的处理方法和下位机bootloader的实现方法。实验结果表明,该系统可以通过CAN总线实现ECU的应用代码的更新功能,且操作简单、运行稳定。
关键词:
升级,
在应用编程,
CAN标定协议
Abstract: For the difficulties of auto-body ECU’s software upgrade, a method of ECU’s upgrade based on CCP and CAN bus is presented after illustrating the principle of In Application Programming(IAP) technology. Besides, the implementation on the XC167CI is given in the paper. The processing method of load file in the load tool and the implementation method of bootloader are expounded. Experimental result shows that the system not only achieves the function of application code upgrade but also runs stably.
Key words:
upgrade,
In Application Programming(IAP),
CAN Calibration Protocol(CCP)
中图分类号:
蒋建春, 陈洪霞, 郑太雄. 基于CCP的ECU在线编程技术的实现[J]. 计算机工程, 2011, 37(5): 241-243.
JIANG Jian-Chun, CHEN Hong-Xia, ZHENG Ta-Xiong. Implementation of ECU’s Online Programming Based on CCP[J]. Computer Engineering, 2011, 37(5): 241-243.