没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
ASAM MCD-1 (XCP)
Universal Measurement and Calibration
Protocol
Protocol Layer Specification
Version 1.3.0
Date: 2015-05-01
Base Standard
© by ASAM e.V., 2015
Licensed to Continental Automotive GmbH
Downloaded by udo.czerwon@continental-corporation.com on 10.07.2015
Disclaimer
This document is the copyrighted property of ASAM e.V.
Any use is limited to the scope described in the license terms. The license
terms can be viewed at www.asam.net/license
Licensed to Continental Automotive GmbH
Downloaded by udo.czerwon@continental-corporation.com on 10.07.2015
Table of Contents
XCP Universal Measurement and Calibration Protocol Version 1.3.0
3
Table of Contents
1 Foreword 9
2 Introduction 10
3 Relations to Other Standards 11
3.1 Backward Compatibility to Earlier Releases 11
3.1.1 The XCP Protocol Layer Version Number 11
3.1.2 The Compatibility Matrix 11
3.2 References to other Standards 12
3.2.1 CCP and XCP 12
4 XCP Features And Concepts 13
4.1 Synchronous Data Transfer 13
4.1.1 DAQ, STIM and ODT 13
4.1.2 ODT Entry 13
4.1.3 Object Descriptor Table 14
4.1.4 DAQ List 14
4.1.5 Event Channels 15
4.1.6 Dynamic DAQ Configuration 16
4.1.7 DAQ Configuration Storing and Power-up Data Transfer 21
4.1.7.1 DAQ Configuration Storing Without Power-up Data Transfer 21
4.1.7.2 DAQ Configuration Storing With Power-up Data Transfer
(RESUME Mode) 22
4.1.8 DAQ List Prioritization 24
4.1.9 ODT Optimization 24
4.1.10 Bitwise Stimulation 26
4.1.11 Synchronous Data Acquisition 26
4.1.12 Synchronous Data Stimulation 27
4.2 Measurement Modes 28
4.2.1 Polling 28
4.2.2 Synchronous Data Transfer, DAQ direction, Burst, Standard 29
4.2.3 Synchronous Data Transfer, DAQ direction, Burst, Improved 30
4.2.4 Synchronous Data Transfer, DAQ direction, Alternating 31
4.3 Bypassing 32
4.3.1 Delayed Bypassing 32
4.3.2 Bypass Activation 32
4.3.3 Bypassing Startup 33
4.3.4 Plausibility Checks 33
4.3.5 Bypassing Consistency 33
4.3.5.1 Event Channel Relations 33
4.3.5.2 DTO CTR Event Channel Properties 34
4.3.5.3 DTO CTR Field 35
4.3.5.4 DTO CTR Check 36
4.3.5.5 Examples 36
4.3.6 Minimum Separation Time 41
4.4 Online Calibration 42
4.4.1 SECTOR, SEGMENT and PAGE 42
Licensed to Continental Automotive GmbH
Downloaded by udo.czerwon@continental-corporation.com on 10.07.2015
Table of Contents
4
XCP Universal Measurement and Calibration Protocol Version 1.3.0
4.4.2 Logical Layout: SEGMENT 43
4.4.3 Accessibility - PAGE 43
4.4.4 Calibration Data Page Switching 44
4.4.5 Calibration Data Page Freezing 44
4.4.6 Addressing Action 45
4.4.7 Master-Slave Action 45
4.4.8 Page-Page Action 46
4.5 Flash Programming 46
4.5.1 Physical Layout: SECTOR 46
4.5.2 General 46
4.5.3 Absolute Access Mode - Access by Address 47
4.5.4 Functional Access Mode - Access by Flash Area 48
4.5.5 Checksum Control and Program Verify 50
4.5.6 End of Flash Session 50
4.6 Time Correlation 50
4.6.1 Introduction 50
4.6.2 XCP Slave‘s Clock Subsystem 52
4.6.2.1 Scenario 1: one observable clock - free running XCP slave
clock 52
4.6.2.2 Scenario 2: one observable clock - single XCP slave clock,
synchronized to a grandmaster clock 53
4.6.2.3 Scenario 3: one observable clock - single XCP slave clock,
syntonized to a grandmaster clock 54
4.6.2.4 Scenario 4: two observable clocks - free running XCP slave
clock combined with a globally synchronized clock 55
4.6.2.5 Scenario 5: two observable clocks - free running XCP slave
clock combined with an ECU clock 57
4.6.2.6 Scenario 6: three observable clocks 60
4.6.2.7 Scenario 7: ECU clock only 60
4.7 ECU STATES 61
4.7.1 Introduction 61
4.7.2 Transferring the State Information to the XCP Master 62
4.7.3 A2L Semantic Consistency 63
5 The XCP Protocol 64
5.1 Topology 64
5.2 The XCP Communication Models 65
5.2.1 The Standard Communication Model 65
5.2.2 The Block Transfer Communication Model 66
5.2.3 The Interleaved Communication Model 67
5.3 State Machine 68
5.4 Protection Handling 71
5.5 The XCP Message (Frame) Format 72
6 The Limits of Performance 73
6.1 Generic Performance Parameters 73
6.2 DAQ/STIM Specific Performance Parameters 73
6.2.1 DAQ Specific Parameters 74
6.2.2 STIM Specific Parameters 75
6.2.3 ECU Resource Consumptions 75
Licensed to Continental Automotive GmbH
Downloaded by udo.czerwon@continental-corporation.com on 10.07.2015
Table of Contents
XCP Universal Measurement and Calibration Protocol Version 1.3.0
5
6.2.3.1 ECU RAM Consumption 75
6.2.3.2 CPU Execution Time 77
7 The XCP Protocol Layer 83
7.1 The XCP Packet 83
7.1.1 The XCP Packet Types 83
7.1.2 The XCP Packet Format 84
7.1.2.1 The Identification Field 84
7.1.2.2 The Counter Field 88
7.1.2.3 The Timestamp Field 89
7.1.2.4 The Data Field 91
7.1.3 The CTO Packets 91
7.1.3.1 Command Packet 91
7.1.3.2 Command Response Packet 92
7.1.3.3 Error Packet 92
7.1.3.4 Event Packet 92
7.1.3.5 Service Request Packet 93
7.1.4 The DTO Packets 93
7.1.4.1 Data Acquisition Packet 94
7.1.4.2 Synchronous Data Stimulation Packet 94
7.1.5 The XCP Packet Identifiers 94
7.1.5.1 Master -> Slave 95
7.1.5.2 Slave -> Master 95
7.2 Event Codes 95
7.3 Service Request Codes 96
7.4 Command Codes 97
7.5 Description of Commands 99
7.5.1 Standard Commands 101
7.5.1.1 Set up Connection With Slave 101
7.5.1.2 Disconnect From Slave 105
7.5.1.3 Get Current Session Status From Slave 106
7.5.1.4 Synchronize Command Execution After Timeout 109
7.5.1.5 Get Communication Mode Info 110
7.5.1.6 Get Identification From Slave 112
7.5.1.7 Request to Save to Non-volatile Memory 114
7.5.1.8 Get Seed for Unlocking a Protected Resource 116
7.5.1.9 Send Key for Unlocking a Protected Resource 118
7.5.1.10 Set Memory Transfer Address in Slave 121
7.5.1.11 Upload From Slave to Master 122
7.5.1.12 Upload From Slave to Master (short version) 124
7.5.1.13 Build Checksum Over Memory Range 125
7.5.1.14 Refer to Transport Layer Specific Command 128
7.5.1.15 Refer to User-defined Command 129
7.5.2 Calibration Commands 130
7.5.2.1 Download From Master to Slave 130
7.5.2.2 Download From Master to Slave (Block Mode) 132
7.5.2.3 Download From Master to Slave (Fixed Size) 134
7.5.2.4 Download From Master to Slave (Short Version) 135
7.5.2.5 Modify Bits 136
7.5.3 Page Switching Commands 137
7.5.3.1 Set Calibration Page 137
7.5.3.2 Get Calibration Page 138
7.5.3.3 Get General Information on PAG Processor 139
7.5.3.4 Get Specific Information for a SEGMENT 140
7.5.3.5 Get Specific Information for a PAGE 143
Licensed to Continental Automotive GmbH
Downloaded by udo.czerwon@continental-corporation.com on 10.07.2015
剩余294页未读,继续阅读
资源评论
- seekindark2020-04-17正在的原版XCP version 1.3 !!
火云邪神666
- 粉丝: 77
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功