XCP (or) “Universal Measurement and Calibration Protocol” is a network protocol originating In , the protocol was standardized as “ASAM MCD-1 XCP”. Refer to transport layer specific command 68 .. ASAM MCD 2MC AML for XCP (Common_Parameters). Like CCP, the “Universal Measurement and Calibration Protocol” (XCP) originated from the . Learn about the capabilities of the ASAM MCD-1 XCP standard.

Author: Negore Mikak
Country: Liberia
Language: English (Spanish)
Genre: Music
Published (Last): 19 January 2012
Pages: 115
PDF File Size: 19.64 Mb
ePub File Size: 17.86 Mb
ISBN: 504-5-26351-332-3
Downloads: 24950
Price: Free* [*Free Regsitration Required]
Uploader: Daik

The slave can inform the master of an asynchronous event by xc; an Event Packet EV. Non-Member or not registered? Retrieved 29 April Once the bypassing tool receives the DAQ data triggers, it starts the execution of the bypass function.

XCP was designed with these main objectives: The first technique asa, XCP native methods to improve time synchronization. For safety reasons, a bypass hook may need to be activated before it is functional.

The implementation of this feature is optional. Many compilers discover this fact by code analysis and simply optimize the necessary RAM memory space away. Some of the standard commands are: XCP is based on the Master-Slave principle.

XCP always uses the same protocol layer independent of the transport layer. These MMUs offer the possibility to adjust parameters located in a flash memory segment by remapping using an address translation to a physical RAM area.

The calibration of a parameter is essentially implemented as a request of the master to the slave i. Based on this technique, the XCP master is aware of the relation between clocks of the XCP slave, and finally is able to perform precise clock correlation within the XCP master. The first version 1. This solution requires of course, that the switching action is implemented as an atomic operation.

In such a use case, the XCP master first needs to know that the timestamps sent by an XCP slave are synchronized to a grandmaster clock at all.


Another common usage scenario for XCP is data logging for fleet testing or other post-production investigation activities, where data loggers need read-only access to data on ECUs.

The initial value 0. This access enables modifications of large parameters e. As a consequence, the protocol and transport layer specifications have been extended thoroughly with the advanced time correlation technique. An ECU state describes the status of all resources. Free of charge for members. The access is address-oriented meaning the communication between master i.

Once the advanced time correlation features have been enabled, the XCP slave shall use the asaam response formats for these messages. Common parameters, describing the protocol layer and the available features The transport layers.

They may or may not share the same epoch. The first letter X in XCP expresses the fact that the protocol is designed for a variety of bus systems. To obtain best accuracy, two requirements have to be satisfied:.

XCP (protocol)

The reason for this is that it could happen that the memory, which is the base for the calibration, is not completely located in the ECU or in the XCP slave. The commands used for DAQ configuration are: Languages Deutsch Edit links. It is assumed that an ECU has an internal clock which can be used to timestamp the measurement data at the moment when it is transferred adam the ECU memory to a transmission send buffer.

This information is required to handle systems with more than one grandmaster clock. In other words, the ECU contains only a generic XCP slave protocol stack, which md to memory access service requests from the calibration system.

Anyone who compares the flashing operation of XCP with flashing over asak protocols will realize that the process-specific elements, such as serial number handling with metadata, have rather limited functionality.

The method of generating such a broadcast message might be specific for each transport layer and is consequently part of a transport layer specification. Different calibration and measurement tasks can be performed by different configurations of the calibration system without recompiling and reprogramming the ECU application code.


To overcome these disadvantages of the polling mode, XCP offers the synchronous data acquisition mode. Flash memory is subdivided into multiple sectors physical sections which are described by a start address and length. The adaption of the ECU code to support a bypass is called a bypass hook.

The standard consists of a base standard, which describes memory-oriented protocol services without direct dependencies on specific bus systems. It could happen that only some parts of the memory are accessible for certain states. Don’t have an account? XCP is also very scalable in its implementation, it is not necessary to implement every command described by the standard Transferability: This means that access to a mce parameter does not need to be hardcoded into the ECU application.

This feature can be used to implement a bypass, where parts of the ECU’s control algorithms are calculated outside the ECU by an external bypassing system, see the chapter about “Bypassing” below for further information.

Therefore, each clock known to the XCP slave features a unique identifier. Singular events, such as arbitrary activations of a switch by the driver, are by no means equidistant in time. At that time, CAN was the dominant networking system in the automobile industry.


This is an iterative process, in which the optimal value of mce parameter is found by repeated measurements and changes. The other CTO messages are sent asynchronously. It enables read and write access to variables and memory contents of microcontroller systems at runtime. In the ECU, the inputs of the bypass function are sampled and sent to the bypassing tool as DAQ data before the original function is executed.