Documentation

XCP Configuration

Configure XCP slave connection

Library

XCP Communication

Description

The XCP Configuration block uses the parameters specified in the A2L file and the ASAP2 database to establish XCP slave connection.

Specify the A2L file to use in your XCP Configuration before you acquire or stimulate data. Use one XCP Configuration to configure one slave for data acquisition or stimulation. If you add Data Acquisition and Data Stimulation blocks, your model checks to see if there is a corresponding XCP Configuration block and will prompt you to add one.

Other Supported Features

The XCP communication blocks support the use of Simulink® Accelerator™ and Rapid Accelerator mode. Using this feature, you can speed up the execution of Simulink models. For more information on this feature, see the Simulink documentation.

The XCP communication blocks also support code generation with limited deployment capabilities. Code generation requires the Microsoft® C++ compiler.

Parameters

Config name

Specify a unique name for your XCP session.

A2L File

Click Browse to select an A2L file for your XCP session.

Enable seed/key security

Select this option if your slave requires a secure key to establish connection. You need to select a file that contains the seed/key definition to enable the security.

File (*.DLL)

This field is enabled if you select Enable seed/key security. Click Browse to select the file that contains seed and key security algorithm used to unlock an XCP slave module.

Output connection status

Select this option to display the status of the connection to the slave module. Selecting this option adds a new output port.

Introduced in R2013a

Was this topic helpful?