HOME

TheInfoList



OR:

XCP (or) "Universal Measurement and Calibration Protocol" is a network protocol originating from ASAM for connecting calibration systems to electronic control units, ECUs. It enables read and write access to variables and memory contents of microcontroller systems at runtime. Entire datasets can be acquired or stimulated synchronous to events triggered by timers or operating conditions. In addition, XCP also supports programming of flash memory. ASAM states "The primary purpose of XCP is to adjust internal parameters and acquire the current values of internal variables of an ECU. The first letter X in XCP expresses the fact that the protocol is designed for a variety of bus systems." In 2003, the protocol was standardized as "ASAM MCD-1 XCP". XCP is a successor to CAN Calibration Protocol ( CCP) that was developed back in the mid-1990s. At that time, CAN was the dominant networking system in the automobile industry. Over time, other bus systems such as
LIN Lin or LIN may refer to: People *Lin (surname) (normally ), a Chinese surname *Lin (surname) (normally 蔺), a Chinese surname * Lin (''The King of Fighters''), Chinese assassin character *Lin Chow Bang, character in Fat Pizza Places *Lin, Iran, ...
,
MOST Most or Möst or ''variation'', may refer to: Places * Most, Kardzhali Province, a village in Bulgaria * Most (city), a city in the Czech Republic ** Most District, a district surrounding the city ** Most Basin, a lowland named after the city ** A ...
and FlexRay emerged and made it necessary to extend the protocol to other transport media. In addition, XCP supports synchronous and asynchronous serial interfaces. With Ethernet or USB as the transport medium, XCP can also serve as a standardized interface to analog measurement devices and to hardware interface converters to RAM emulators,
JTAG JTAG (named after the Joint Test Action Group which codified it) is an Technical standard, industry standard for verifying designs and testing printed circuit boards after manufacture. JTAG implements standards for on-chip instrumentation in ele ...
or other microcontroller debug interfaces. Due to its broad range of use, a primary goal in the development of XCP was to achieve as lean an implementation in the ECU as possible and high scalability of features and resource utilization. XCP can even be implemented on 8-bit microcontrollers for CAN or SCI with few resources, and it exploits the full potential of FlexRay or Ethernet on high-performance platforms. As a two-layer protocol, XCP consistently separates the protocol and transport layers from one another and adheres to a Single-Master/Multi-Slave concept. XCP always uses the same protocol layer independent of the transport layer. The “X” in its name stands for the variable and interchangeable transport layer. Currently, the following transport layers are defined as standard by ASAM as of October 2016: * XCP on CAN * XCP on
CAN FD CAN FD (Controller Area Network Flexible Data-Rate) is a data-communication protocol used for broadcasting sensor data and control information on 2 wire interconnections between different parts of electronic instrumentation and control system. Th ...
* XCP on SxI ( SPI, SCI) * XCP on Ethernet (
TCP/IP The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the set of communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the suit ...
and
UDP/IP In computer networking, the User Datagram Protocol (UDP) is one of the core communication protocols of the Internet protocol suite used to send messages (transported as datagrams in packets) to other hosts on an Internet Protocol (IP) network. ...
) * XCP on
USB Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers. A broad ...
* XCP on FlexRay In addition to supporting other transport layers, the successor to the CCP protocol contains many functional improvements such as: * Better resource utilization in the ECU * Synchronous data stimulation * Support of start-up measurements * Optimized communication by block transfer commands *
Plug & play In computing, a plug and play (PnP) device or computer bus is one with a specification that facilitates the recognition of a hardware component in a system without the need for physical device configuration or user intervention in resolving reso ...
configuration * More precise measurement data acquisition by measuring the time stamps in the ECU (Slave) XCP allows a client to access memory on the ECU using a format defined in a separate A2L file. Because the A2L format file contains all the information to access the information, the ECU code does not have to be recompiled to access different measurements or calibrations.


References

{{reflist


External links


ASAM official Web site of ASAM e.V.

ASAM MCD-1 XCP description of the standard at the ASAM Web site

Web page for ordering the free XCP Technical Book from Vector Informatik
Computer buses