现代汽车中的电控功能越来越多,不同ECU之间传递的信息量也就越来越大.XCP协议的高速性和稳定性非常适用于汽车中的实时测量及ECU内部数据标定.设计了一个基于XCP-on-CAN协议的标定通信软件,以DAQ模式编写了主机和从机上的XCP驱动程序,成功的实现了主从通信,试验证明ECU和标定软件之间的通信高效稳定且有良好的移植性.%As more and more electronic control functions are used in modem vehicle, the amount of information passed between different ECU is also growing. The high speed performance and stability of XCP protocol is very suitable for vehicle development. Its main task is to measure and calibrate ECU internal data in time. We designed a communication based on XCP-on-Can protocol, and compiled XCP driver programmed on the master engine and slave engine with DAQ mode. Successful implementation of the master-slave dialogue proves that the communication between ECU and calibration software is high efficiency and stability with good transplantable character.
展开▼