XCP UDP Configuration

Configure XCP UDP slave connection

  • Library:
  • Simulink Real-Time / XCP / UDP

    Vehicle Network Toolbox / XCP Communication / UDP

Description

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

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

Other Supported Features

The XCP UDP communication blocks support Simulink® accelerator mode and rapid accelerator mode. Using this feature, you can speed up the execution of Simulink models. For more information about these simulation modes, see the Simulink documentation.

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

Parameters

expand all

Specify a unique name for your XCP session.

Programmatic Use

SlaveName

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

Programmatic Use

A2LFile

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

Programmatic Use

EnableSecurity

If you select Enable seed/key security, this field is enabled. Click Browse to select the file that contains seed and key security algorithm that unlocks an XCP slave module.

Programmatic Use

SeedKeyLib

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

Programmatic Use

EnableStatus

Introduced in R2019a