Main Content

XCP CAN FD Configuration

Configure XCP server connection

Since R2022b

  • XCP CAN FD Configuration block

Libraries:
Vehicle Network Toolbox / XCP Communication / CAN FD
Simulink Real-Time / XCP / CAN FD

Description

The XCP CAN FD Configuration block uses the parameters specified in the A2L file and the ASAP2 database to establish an XCP server connection.

Before you acquire or stimulate data, specify the A2L file to use in your XCP CAN FD Configuration. Use one XCP CAN FD Configuration to configure one server connection for data acquisition or stimulation. If you add XCP CAN FD Data Acquisition and XCP CAN FD Data Stimulation blocks, your model checks to see if there is a corresponding XCP CAN FD Configuration block. If there is no corresponding XCP CAN FD Configuration block, the model editor prompts you to add one.

The XCP CAN FD communication blocks support Simulink® accelerator mode and rapid accelerator mode. You can speed up the execution of Simulink models by using these modes. For more information about these simulation modes, see Acceleration (Simulink).

Parameters

expand all

Specify a unique name for your XCP CAN FD session.

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

Select this option if your server requires a secure key to establish connection. Use the File (*DLL) parameter to specify the DLL file that contains the seed/key definition. Note: Seed/key security is not supported on Linux® systems.

If you select Enable seed/key security (EnableSecurity), this field is enabled. Click Browse to select the file that contains the seed and key security algorithm that unlocks an XCP server module. This parameter is available in Windows Desktop Simulation for Vehicle Network Toolbox™.

The File (*.DLL) parameter specifies the name of the DLL file that contains the seed and key security algorithm used to unlock an XCP server module. The file defines the algorithm for generating the access key from a given seed according to ASAM standard definitions. For information on the file format and API, see the Vector web page Steps to Use Seed&Key Option in CANape or "Seed and Key Algorithm" in National Instruments™ CAN ECU Measurement and Calibration Toolkit User Manual. Note: The DLL must be the same bitness as MATLAB (64-bit).

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

Extended Capabilities

Version History

Introduced in R2022b