# MEP (XCP/CCP) - Memory Edit Protocol

Vehicle Spy Memory Edit Protocol (MEP) works with ECUs that use CAN Calibration Protocol (CCP) or Universal Calibration Protocol (XCP) for calibration development. MEP features are found in the Measurement -> MEP menu as shown in Figure 1.

![Figure 1: Look under the Measurement main menu to find the MEP menu selections.](/files/Nu9tV5P8KRXEXPHxxPOj)

**Table 1: Vehicle Spy MEP Menu**

| MEP Menu Selection                                                                                                                      | Description                                                     |
| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [Setup](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup.md)               | Opens setup dialog to work with A2L files and CCP/XCP settings. |
| [Value Editor](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-value-editor.md) | Opens dialog to view and edit calibration values.               |
| [Curve Editor](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-curve-editor.md) | Opens dialog to view and edit calibration curves.               |
| [Map Editor](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-map-editor.md)     | Opens dialog to view and edit calibration maps.                 |

### Overview

With Vehicle Spy MEP you can:

* [View and edit measurement and calibration items from A2L files.](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup.md#a2l-file-data-item-tree-refer-to-figure-1)
* [Upload calibrations from or download calibrations to an ECU using CCP/XCP.](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-properties.md#ecu-upload-download)
* [Perform data acquisition using CCP/XCP.](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/data-acquisition-with-ccp-xcp.md)
* [Import/Export calibrations from/to a file.](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-import-export.md)
* [View setup of event based data acquisition.](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-daq-tables.md)
* [Unlock secured DAQ or calibration areas using Security DLL files.](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-security.md)

As shown in Figure 2, Vehicle Spy MEP requires an A2L file to translate the CCP/XCP message traffic with the ECU into user friendly displays and dialogs. The A2L file links an ECU memory map to measurements, calibrations, and diagnostic information. An A2L file that follows ASAM specifications can be created with the ICS ASAP2 Editor and a standard format object file that defines the ECU's memory map.

![Figure 2: Overview of how Vehicle Spy MEP supports ECUs that use CCP/XCP.](/files/exqIAFhzVlROrm3ga0HR)

Acronyms from specifications related to Vehicle Spy MEP can be confusing, so here's a short list to help understand them:

* A2L - ASAM MCD-2MC language used in an ECU's A2L file.
* ASAM - Association for Standardization of Automation and Measuring Systems ([www.asam.net](http://www.asam.net))
* ASAP2 - from German "Arbeitskreis zur Standardisierung von Applikationssystemen". Old acronym now renamed to ASAM MCD-2MC.
* CCP - CAN Calibration Protocol
* DAQ - Data Acquisition
* MCD - Measurement, Calibration, and Diagnostics
* MEP - Memory Edit Protocol
* ODT - Object Descriptor Table
* XCP - Universal Calibration Protocol


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intrepidcs.com/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
