ASAM MCD-1 XCP V1.1.0
ASAM MCD-1 XCP (Universal Measurement and Calibration Protocol) defines a bus-independent, master-slave communication protocol to connect ECUs with calibration systems. XCP is short for Universal Measurement and Calibration Protocol. 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. The standard consists of a base standard, which describes memory-oriented protocol services without direct dependencies on specific bus systems. Several associate standards contain the transport layer definitions for CAN, FlexRay, Ethernet (UDP/IP and TCP/IP) and serial links (SPI and SCI).
ASAM MCD-1 XCP accesses parameters and measurement variables in a memory address oriented way. The properties and memory addresses of this data are described in the A2L-file format, which is standardized through ASAM MCD-2 MC. The A2L-file contains all the information necessary to access and correctly interpret the data that is transmitted via the XCP protocol. This means that access to a specific parameter or variable does not need to be hardcoded into the ECU application. In other words, the ECU contains only a generic XCP-protocol stack, which responds to memory access requests from the calibration system. Different calibration and measurement tasks can be performed by different configurations of the calibration system without recompiling and reprogramming the ECU application code.
ASAM MCD-1 XCP was designed with two main objectives. Firstly, to impact the ECU resources, such as CPU load, RAM consumption and flash memory, for the XCP slave in a minimal way, and secondly, to achieve a maximal data transmission rate over the communication link and to reduce the impact on bus communication as much as possible. The standard also describes the organization of the ECU memory segments used by the ECU software. This allows memory-type specific access. It additionally describes the ECU interface for data read and write access.
ASAM MCD-1 XCP is an established and mature standard since 2003 and is used by both OEMs and ECU manufacturers. Compliance to ASAM MCD-1 XCP reduces the variety of calibration systems as well as avoiding the need to create specific ECU implementations for specific application tasks. ASAM MCD-1 XCP originates from the predecessor standard ASAM MCD-1 CCP, which was a measurement and calibration protocol specific to the CAN bus.
Accurate Technologies Inc., Daimler AG, dSPACE GmbH, ETAS GmbH, Robert Bosch GmbH, Continental Automotive GmbH, Vector Informatik GmbH
For more information, please visit our WIKI.
WHAT'S NEW IN V1.1.0
The goal was to improve the specification and to cover new requirements. The 'Top10' of changes are:
Description of two different but similar XCP interfaces within one A2L-File. example: 'XCP on vehicle CAN' and 'XCP on calibration CAN'
This command allows to write consecutive ODT entries to a DAQ list in one step. It speeds up the slave configuration for transport layer with a lower recurrency but longer data frames
Alternating Display Mode
new method to display ECU data with limited consumption of ECU resources or XCP slave resources.
generation of an event, which is triggered by an external sync line and reports the timestamp. This can be used for highly accurate time synchronization
New error code in order to support complex XCP slave configurations.
new A2L keyword, which allows to specify the event channels, which will constitute a bypass raster (for sending and reading)
optional feature for XCP on SCI in order to support framing
description of a method how to use XCP and how to ensure knowledge protection at the same time. The use case is XCP only for measurement in the after sales phase
New format specification for embedded A2L-Files
Now it is possible to compress embedded A2L-Files. This is very helpful for XCP measurement devices in order to support 'Plug & Play'
Compatibility to XCP Version 1.0.0
All new features are optional! It is not necessary for a running XCP communication, that the XCP tool and the XCP slave must have the same version.
PROJECT GROUP MEMBERS
Continental Automoitive GmbH, Robert Bosch GmbH, dSPACE GmbH, ETAS GmbH, Vector Informatik GmbH
CURRENT STANDARD VERSION
XCP Protocol Layer Specification V1.2.0
Transport Layer Specifications:
- XCP on CAN V1.2.0
- XCP on Ethernet V1.2.0
- XCP on Sxl V1.2.0
- XCP on USB V1.2.0
- XCP on FlexRay V1.2.0
There are currently no further activities
ASAM MCD-1 IN THE MARKET
All calibration tool supplier (especially the tool vendors which are active in the Project group) offer tools for all mentioned transport layers. The use cases are measurement, rapid prototyping and calibration during the development phase of an electronic device unit and measurement, also in the after sales phase.
Moreover, some tool vendors use the opportunity of XCP for "Plug & Play" of measurement tools via reading out the XCP configuration (ASAP2) via XCP itself.
The Project group itself performs requirement engineering and relies on detailed investigations and simulations inside the involved companies, which have a lot of experiences with XCP. A cross check, which requires some implementations in advance is not planned.
ASAM XCP IN USE
Use Cases for ASAM MCD-1 XCP Standard
Faster Development and Test with Virtual ECUs Based on ASAM AE Standards
Challenge: Virtualisation allows the execution of ECU tasks on a Windows PC in closed-loop simulation or even while driving a vehicle via CAN for Rapid-Control Prototyping. This helps to move more development tasks from road or test rigs and HiL to PC, where they can often be performed faster and cheaper. The technical challenge is to port ECU tasks and basic software to Windows PCs with reasonable effort, so that key development tasks can be performed on PC, without having to access real hardware such as vehicle prototypes, test rigs and HiL facilities.
Solution: QTronic has developed a virtual ECU tool that allows to port ECU software to a PC and to perform many development tasks in a simulated environment. This tool, called Silver, uses ASAM MCD-1 XCP and ASAM MCD-2 MC for carrying out calibration and measurement tasks on the virtual ECU. Both ASAM standards allow engineers to use the same application systems that they are used to working within the lab or in-vehicle testing.
Key benefits: The solution allows the simulation of ECUs on a Windows PC, and the ability to perform typical development tasks such as calibration and testing on this inexpensive and highly available platform. This typically speeds up the development and helps to increase the overall quality. Within minutes, developers of software modules can integrate their code into virtual ECU versions on their own laptop to validate and tune their changes in the integrated context before they release them.
ASAM MCD-1 XCP (Ethernet) enables 3rd party MCD tool integration of ETAS’ new XETK ECU development interface
Challenge: Automotive embedded software processes typically involve the use of several different types of software tools which require the use of high speed ECU interface devices and interface hardware Companies are usually forced to purchase several different high speed ECU interface devices (and interface hardware) each of which fits with the particular software tool of interest.
Solution: This issue is solved through the use of reliable high speed ECU interfaces which are based on standard interfaces, protocols, and readily available PC-based technology ETAS’ new XETK connects directly to the Ethernet port on the PC ETAS chose to use the ASAM MCD-1 XCP (Ethernet) standard, to enable connectivity between the 3rd party software applications and its new XETK ECU interface family.
Key Benefits: Use of an industry standard data exchange method that is already widely known and utilized in automotive ECU development tools (XCP). Utilization of a widely used and reliable Ethernet network topology and commonly available industry hardware devices, including PC Ethernet adapters. A single ECU interface shared between multiple software development tools leverages customer investment by enabling reuse of experiments & tests procedures and also reducing customer investment in hardware purchases. Easy integration of additional external synchronized measurement data with ETAS’ XCP on Ethernet based ES400 module family.
German Engineering for Clean Air
Challenge: Due to the 2010 launch of emission legislation (EURO VI, EPA 2010), heavy duty diesel trucks and coaches need to be equipped with diesel exhaust aftertreatment systems including an on-board diagnostic supervising system (OBD).
Solution: To meet the legislated emission values, heavy duty diesel engines are usually equipped with electronically controlled DPF (Diesel Par ticulate Filter) and an SCR system (Selective Catalytic Reduction). For development and production of such an SCR system, ASAM MCD AE standards were used for the system definition, calibration and testing.
Key Benefits: The employment of standards is key to link a "generic" diesel exhaust aftertreatment system with the powertrain platforms of a majority of vehicle and diesel engine manufacturers worldwide. Additionally, the cost for the integration into existing communication networks can be reduced significantly.
ECU Development Tool Integration Based on ASAM AE Standards
Challenge: When automotive electronics are developed, engineers often have to cope with a heterogeneous tool environment, i.e., specialized tools for different development tasks such as rapid control prototyping (RCP), hardware-in-the-loop simulation (HIL), ECU diagnostics, ECU calibration and bus communication analysis. Nowadays these application areas are beginning to overlap.
Solution: dSPACE's new ControlDesk Next Generation is central experiment software for ECU development based on established standards, especially ASAM. WWith ControlDesk Next Generation, simulation platforms and ECUs can be accessed from one single software tool, data can be easily exchanged between projects, and tool interface problems resulting from a heterogeneous tool environment are avoided.
Key Benefits: This all helps OEMs and suppliers make significant savings in time and costs.
Protocol for Function Prototyping and ECu Testing
Challenge: The FlexRay bus is being used in more and more ECU projects to master increasing complexity and the workload involved in developing and testing ECU software, communication interfaces between ECUs and simulation platforms are required Considerable simplifications and savings can be achieved by standardized protocols.
Solution: The ASAM MCD-1 protocol (XCP on FlexRay) in connection with the ASAM MCD-2 description files (FIBEX, A2L) establishes a basis for the interoperability of ECUs and off the-shelf products utilizing these standards, the RTI Bypass Blockset from dSPACE makes it possible to develop and test ECU software on real-time simulation platforms, with data exchange and synchronization to the ECU being performed via XCP on FlexRay.
Key Benefits: Using XCP on FlexRay on ECUs allows dSPACE customers to prototype software-based functions in a minimum of time. In addition, data from hardware-in-the-loop (HIL) simulation and ECUs can be precisely correlated according to a common time base, resulting in enhanced test quality.
Minimizing Development Tools: A&D uses ASAM MCD-1 XCP to make RPT look like an ECU for Honda Engineers
Challenge: Improving efficiency and consistency in the ECU development process.
Solution: A&D Company used ASAM MCD-1 CCP/ASAM MCD-1 XCP as a means to connect hardware platforms with a common user interface.
Key Benefits: Use of a common development environment saved both cost and time by removing the need to maintain and learn multiple user interfaces.
ASAM MCD-1 (XCP) protocol for High Performance Data Acquisition
Challenge: Vehicle dynamics development and test applications require the acquisition of ECU data at high data rates. Furthermore, the time correlation between different data channels needs to be recorded with very high precision. Solution: Integration of ETAS’ ES400 Ethernetbased measurement modules using the ASAM MCD-1 (XCP) protocol allows an extremely fast and easy integration of high performance data acquisition capabilities, with only minimal modifications of the existing solution.
Key Benefits: Use of the already implemented ASAM MCD-1 (XCP) communication protocol enables our customers to integrate high bandwidth and high performance off-the-shelf products into their solutions within hours.
Lamborghini revs up its diagnostic tool chain with ASAM MCD standardized tools from RA Consulting
Challenge: Lamborghini, a producer of exciting sport cars in small numbers, extended the electronic parts and features during the last years and needed a diagnostics tool chain for the whole life-cycle which fulfilled the requirements of development, production and after-sales with an equate investment. Solution: Lamborghini needed an existing and already established diagnostics tool set, which was based on automotive standards. Lamborghini, as an Italian based manufacturer with a high export rate, selected the ASAM AE MCD standards and the OBD/EOBD related ISO Standards as the basis for their diagnostics strategy. Key Benefits: As an OEM with a limited exclusive production output of less than 2000 vehicles per year, the investment in development is a subject of strong economic restrictions. Using well established standards and standard based tools, which are widely spread, will reduce the costs.
ASAM member products and services using this standard
- PRODUCT/SERVICE COMPANY
- A&D Real-Time Platforms A&D Company, Limited
- MARC AFT Atlas Fahrzeugtechnik GmbH
- 4Measure AFT Atlas Fahrzeugtechnik GmbH
- NMA Compact Dynamics GmbH
- IMA Compact Dynamics GmbH
- EMMA Compact Dynamics GmbH
- TargetLink dSPACE GmbH
- ControlDesk Next Generation dSPACE GmbH
- RTI Bypass Blockset dSPACE GmbH
- ETAS INCA ETAS GmbH
- CL-S21 C.L.GERHARTL Smart Systems GmbH
- M-LOG IPETRONIK GmbH & Co. KG
- Mx-SENS, Sx-STG IPETRONIK GmbH & Co. KG
- NI DIAdem National Instruments Corporation
- DiagRA MCD Toolset RA Consulting GmbH
- PROVEtech:µHIL MBtech Group GmbH & Co. KGaA
- xPC Target MathWorks GmbH
- CANape Vector Informatik GmbH
- Waijung Aimagin Company Limited
- PROVEtech:TA MBtech Group GmbH & Co. KGaA
- PROVEtech:VA MBtech Group GmbH & Co. KGaA
- dSPACE ECU Flash Programming Tool dSPACE GmbH
- dSPACE XCP Service dSPACE GmbH
- A&D ORION A&D Company, Limited
- VISION™ Calibration & Data Acquisition Software Accurate Technologies, Inc.
- VISION Network Hub Accurate Technologies, Inc.
- IPEmotion IPETRONIK GmbH & Co. KG
- NI LabVIEW National Instruments Corporation
- Visual Analyzer Wind Hill Technologies Co., Ltd.
- SystemDesk dSPACE GmbH
- TTX-DataLogger TTTech Automotive GmbH
- DiagRA MC RA Consulting GmbH
- CAN-PCI/405-4 esd electronic system design gmbh
- EtherCAN esd electronic system design gmbh
- XIL - Co-Simulationsbackplane - FH Braunschweig / Wolfenbüttel
- Xoraya 6810 Quad V5 X2E GmbH
- Xoraya Connect X2E GmbH
- MLab STIEGELE Datensysteme GmbH
- CAN-USB/2 esd electronic system design gmbh
- CAN-PCIe/400-2 esd electronic system design gmbh
- MORPHEE D2T
- UniCAN 2 CSM GmbH
- MiniModules CSM GmbH
- Qualifier Control-Tec LLC
- CT-1000 Control-Tec LLC
- SMR Controller Zhejiang University
- CANoe Vector Informatik GmbH
- Silver QTronic GmbH
- TestWeaver QTronic GmbH
- Powertrain ECU DELPHI Corporation
- neoVI FIRE / neoVI RED Intrepid Control Systems, Inc.
- Vehicle Spy Professional Intrepid Control Systems, Inc.
- ValueCAN Intrepid Control Systems, Inc.
- neoVI PLASMA Intrepid Control Systems, Inc.
- NI VeriStand National Instruments Corporation
- NI LabWindows™/CVI National Instruments Corporation
- ECU Measurement and Calibration Toolkit National Instruments Corporation
- PCAN-XCP API PEAK-System Technik GmbH
- GL Logger Family Vector Informatik GmbH
- FRC-EP190 IXXAT Automation GmbH
- Residual Bus Simulation IXXAT Automation GmbH
- Gateway IXXAT Automation GmbH
- EtherCat extension IXXAT Automation GmbH
- ETAS ISOLAR-EVE ETAS GmbH
- ETAS INCA-VLINK ETAS GmbH
- Research and Development Projects Hochschule Heilbronn
- Consulting Hochschule Heilbronn
- BASELABS Modules BASELABS GmbH
- BASELABS Consulting BASELABS GmbH
- UNIBoot b-plus GmbH
- CANTucan b-plus GmbH
- PROVEtech:RP MBtech Group GmbH & Co. KGaA
- ARCOS CAETEC GmbH
- µCROS CAETEC GmbH
- xMOD D2T
- RTMaps INTEMPORA
- Dataloggers INTEMPORA
- NETIMRESS Yokogawa Digital Computer Corporation
- MICROSAR Vector Informatik GmbH
- XCP Professional Vector Informatik GmbH
- VX1000 Vector Informatik GmbH
- CCA 9002 ViGEM GmbH
- CCA 7001 ViGEM GmbH
- CCA 5001 ViGEM GmbH
- CL-S42 C.L.GERHARTL Smart Systems GmbH
- Xoraya Minilogger X2E GmbH
- CarMaker IPG Automotive GmbH
- TruckMaker IPG Automotive GmbH
- MotorcycleMaker IPG Automotive GmbH
- DynPro2 Taylor Dynamometer
Related Documents V1.1.0
Related FAQ V1.1.0
ASAM Technical Support