CCP-协议

上传人:世**** 文档编号:252328513 上传时间:2024-11-14 格式:PPTX 页数:47 大小:4.01MB
返回 下载 相关 举报
CCP-协议_第1页
第1页 / 共47页
CCP-协议_第2页
第2页 / 共47页
CCP-协议_第3页
第3页 / 共47页
点击查看更多>>
资源描述
单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,2012-6-8,#,CCP,15,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,ECU2,ECU3,CAN,Master,CCP和CCP协议拓扑构造,CCP:CAN Calibration Protocol 是基于CAN总线应用,层协议。,ECU1,Slave,Slave,标定工具,Slave,ECU4,CCP,16,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CCP报文,CCP报文有两个:,CRO:Command Receive ObjectMaster Slave,DTO:Data Transmit ObjectSlave Master,Master,Master,Slave,Slave,CRO CCP,报文,DTO CCP,报文,CCP,17,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CCP报文,CCP使用两条CAN报文,CRO:Command Receive Object 命令接收对象,DTO:Data Transmission Object 数据传输对象,报文ID在ECU描述文件如A2L中定义,CRO高于DTO,协,议,综,述,CCP,18,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CCP,报文,CRO,CRO,:,Command Receive Object,从,Master,到,Slave,协,议,综,述,Command,Code,TimeOut to ACKms,Remark,CONNECT,0 x01,25,GET_CCP_VERSION,0 x1B,25,EXCHANG_ID,0 x17,25,SET_MTA,0 x02,25,DNLOAD,0 x03,25,UPLOAD,0 x04,25,GET_DAQ_SIZE,0 x14,25,SET_DAQ_PTR,0 x15,25,WRITE_DAQ,0 x16,25,START_STOP,0 x06,25,DISCONNECT,0 x07,25,CCP,29,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,11个根本命令,协,议,综,述,Command,Code,TimeOut to ACKms,Remark,GET_SEED,0X12,25,UNLOCK,0X13,25,DNLOAD_6,0X23,25,SHORT_UP,0X0F,25,SELECT_CAL_PAGE,0X11,25,GET_ACTIVE_CAL_PAGE,0X09,25,SET_S_STATUS,0X0C,25,GET_S_STATUS,0X0D,25,BUILD_CHKSUM,0X0E,30000,CLEAR_MEMORY,0X10,30000,PROGRAM,0X18,100,PROGRAM_6,0X22,100,MOVE,0X19,30000,TEST,0X05,25,DIAG_SERVICE,0X20,500,ACTION_SERVICE,0X21,5000,START_STOP_ALL,0X08,25,CCP,30,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,17,个可选命令,协,议,综,述,CCP,协,议,综,述,19,CCP报文DTO,DTO:Data Transmit Object 从Slave到Master,依据PIDPacket ID的不同,DTO可分为:,PID255:Command Return Message CRMDTO,命令返回信息,主要是从设备反响给主设备的响应,PID254:Event Message大事信息,当从设备检测到内部发生错误机制时,由从设备自行向主设备发送,,报告其当前的运行状态,并恳求主设备暂停当前工作进程以处理发生,的错误。,0 PID 253:Data Acquisition MessageDAQDTO,用在DAQ模式中,由从设备组织,周期性向主设备发送。,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CCP,协,议,综,述,20,CCP报文DTO,CRM和大事报文的帧格式:,DAQ报文的帧格式:,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CCP,31,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,命令返回码表和错误类别,协,议,综,述,CCP,23,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DAQ,模式是如何工作的?,DAQ,:,D,ata,A,c,q,uisition,帧格式:,DAQlist,:一个,DAQlist,里面可以包含多个,ODT,。,PID,数据,数据,数据,数据,数据,数据,数据,PID,地址,地址,地址,地址,地址,地址,地址,DAQ,ODT,相,同,对,应,对,应,对,应,对,应,对,应,对,应,对,应,CCP,24,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DAQ,模式是如何工作的?,ODT,:,Object Descriptor Table,7,个字节所对应的地址 和 对应参数的长度,DAQ,报文格式为:,可以有一个或多个,ODT,协,议,综,述,CCP,25,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DAQ,模式是如何工作的?,ODTObject Descriptor Table,协,议,综,述,CCP,26,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DAQ,模式是如何工作的?,ODTObject Descriptor Table,协,议,综,述,CCP,协,议,综,述,27,DAQ模式是如何工作的?,Event Channel:,1、描述ECU中的同步大事:指周期性的时间触发大事,如:100ms,200ms等或特定的大事如:曲轴的转,角。,2、触发同步传输DAQ List:,如:用Event Channel A触发10ms、20ms、50ms的周期,性报文同步传输。,10ms:Par_A,Par_B,Par_C每个参数大小为一个字节,20ms:Par_D参数的大小为2个字节,50ms:Par_E参数的大小为4个字节,假设有3个DAQlist,每个DAQlist里面有一个ODT:,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CCP,28,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DAQ,模式是如何工作的?,0045C0B8,0045C0D0,0045C0E6,0045C0C4,0045C0C5,00418270,00418271,00418272,00418273,ECU,Par_A,Par_B,Par_C,Par_D,Par_E,Event Channel A,DAQlist 0:,ODT 0:,DAQlist 1:,ODT 0:,DAQlist 2:,ODT 0:,PID,1,PID,1,Par_A,0045C,0B8,Par_B,0045C,0D0,Par_C,0045C,0E6,PID,2,PID,2,PID,3,PID,3,Par_D,0045C,0C4,Par_E,00418,270,Par_D,0045C,0C5,Par_E,00418,271,Par_E,00418,272,Par_E,00418,273,CCP,33,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,根本命令描述,CONNECT建立连接0 x01,CRO,协,议,综,述,DTO,CCP,34,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,CRO:,DTO:,标定工具,把握器,CONNECT,0 x01,0 x45,0 x00,0 x02,0 xFF,0 x00,0 x45,CCP,综,述,35,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,根本命令描述,GET_CCP_VERSION 获得CCP版本0X1B,CRO,协,议,DTO,CCP,36,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DTO:,GET_CCP_VERSION,CRO:,标定工具,把握器,0 x1B,0 x27,0 x02,0 x01,0 xFF,0 x00,0 x27,0 x02,0 x01,CCP,综,述,40,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,根本命令描述,SET_MTA设置内存传输地址0X02,CRO,协,议,DTO,CCP,41,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,SET_MTA,CRO:,把握器,0 x02,0 x23,0 x00,0 x02,0 x34,0 x00,0 x20,0 x00,0 xFF,0 x00,0 x23,DTO:,标定工具,CCP,42,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,根本命令描述,DNLOAD数据下载0 x03,数据长度信息,执行后进展地址调整,CRO,协,议,综,述,DTO,CCP,43,协,议,综,述,Copyright 2023.All Rights Reserved.HIRAIN TECHNOLOGIES.V1.0.2023-10,DTO:,DNLOAD,CRO:,DTO:,把握器,0 x03,0 xFF,0 x24,0 x00,0 x05,0 x24,0 x10,0 x02,0 x11,0 x34,0 x12,0 x00,0 x13,0 x20,0 x14,0 x05,SET_MTA,CRO:,0 x02,0 x23,0 x00,0 x02,0 x34,0 x00,0 x20,0 x00,0 xFF,0 x00,0 x23,标定工具,CCP,44,Copyright 2023.All Rig
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 成人自考


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!