> For the complete documentation index, see [llms.txt](https://docs.intrepidcs.com/vspy-3-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intrepidcs.com/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup.md).

# MEP Setup

Use the Measurement --> MEP --> Setup view to:

* [View and select measurement and calibration items from A2L files.](#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).
* [Setup 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)

The MEP Setup view is divided into an A2L File Data Item Tree and various MEP Setup Tabs.

### **A2L File Data Item Tree** (refer to Figure 1)

The left side of MEP Setup uses a tree layout to show the calibration selections in A2L files. Click on the + and - buttons to add and delete A2L files while Vehicle Spy is offline. Use the search field next to the - button to help find specific items in large trees. Click on the +/- selectors within the tree to expand and contract the folders.

There are four types of A2L file data items:\
![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/spyMEPValueIcon.jpg) Value - read/write calibration value; double click to view/edit with the [Value Editor](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-value-editor.md).\
![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/spyMEPCurveIcon.jpg) Curve - read/write calibration array; double click to view/edit with the [Curve Editor](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-curve-editor.md).\
![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/spyMEPMapIcon.jpg) Map - read/write calibration table; double click to view/edit with the [Map Editor](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-map-editor.md).\
![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/spyMEPMeasurementIcon.jpg) Measurement - treated the same as Value.

![Figure 1: A2L file data item tree on MEP Setup.](/files/LxoHBDujNHRxcfj3BtEI)

![Figure 2: Add A2L file to see "Run with MEP" selection.](/files/WKONFFRM61aQuBjrUR46)

If an A2L file is added:

* "Run with MEP" will become available on the Vehicle Spy mode pulldown list as shown in Figure 2. This mode has the same features as "Run with Transmit" plus support for CCP/XCP communications.
* The [Expression Builder](/vspy-3-documentation/shared-features-in-vehicle-spy/shared-features-expression-builder.md) will have a MEP data source with all A2L file data items available.
* The [VehicleScape DAQ](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-channels-tab.md) - Channels tab will have all A2L file data items available.
* The MEP Setup Tabs area will be updated.

### **MEP Setup Tabs** (refer to Figure 3)

The right side of MEP Setup uses two data fields and a tabbed interface to setup MEP features.

The "ECU Name" is determined by the A2L file.\\

The "Active Page" determines which area of ECU memory that MEP will interact with. The selections come from any ECU calibration pages described by the A2L file. Each page is defined by a start address, block size, and memory type. Calibration pages are optional and can be implemented in different ways. Typical uses include a read-only page as a safe area for reference or backup and a read-write page as a working area for changing calibrations during development.

![Figure 3: An example of the MEP Setup Tabs area.](/files/860mSqU9KGOIDocxm3aY)

* [Properties](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-properties.md) - [Import / Export](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-import-export.md) - [DAQ Tables](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-daq-tables.md) - [Security Memory/Hex/S19](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/mep-xcp-ccp-memory-edit-protocol/mep-setup/mep-setup-memory-hex-s19.md)

Click the hyperlinks below Figure 3 to jump to help files for each of the MEP Setup tabs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
