Generate Project Config File

This function provides the possibility to export the additional configuration information beyond the A2L file.

To generate Project Config Files:

  1. In the File menu, click Generate Project Config File.
    The dialog 'Save Project Config File' opens.
  2. Choose one of the following options:

    • Use Automatic Configuration: No raster in the file. The rasters will be created automatically later.
    • Write Distab of each Raster as defined in Project: The rasters are written to the file.

    If in the Raster Editor the option Use DISTAB in fixed mode (XCP Device) is not checked, an error message may appear in the Application Log later.

  3. To choose a storage location click on the Browse button.
  4. Specify a file name and a place on your file system for the Project Config File.
  5. Click on the OK button.
    When the Project Config File is created the dialog 'Project config file created successfully' opens.
  6. To open the Project Config File click on Yes.

 

Structure of the Project Config File

The Project Config File persists of two major (optional) parts:

The first part of the File contains the Fixed Size Calibration Handles. If another Calibration method is specified in the A2L it will be overwritten to Fixed Size Calibration method. For every handle there must be the “original Address” which is used as key to identify the handles from the A2L, and the “emulation address” and the “size” which are added additionally to the handle. All three values could either be represented as decimal numbers or hex numbers with leading “0x”. If no handle with the given “original address” could be found, it will be created. This configuration is done on the project level, see Calibration Handles Editor.

The second part is for the fixed DISTAB 17 configuration. The “Number of Variables” and “Output Table Size” have to be added. This could either be done automatically, using the “Automatic DISTAB Configuration” for all devices, or by a specific configuration for every device.

For the device configuration the “Name” of the raster is used as key to identify the corresponding raster in the A2L and the Extension file. The device is specified with a “device reference”, which is also found in the A2L. If multiple devices should get the same configuration for a raster the device reference should be set to “-1”, then every device, for which is no explicit configuration in the file, will get this configuration. If a raster or device reference is missing in one of the two files, it will be ignored. The “device reference” has to be a decimal number, while the “Number of Variables” and the “output Table Size” could either be decimal numbers or hex numbers with leading “0x”. See Raster Editor.

See also

Import A2L File and Project Config File

Interchanging Projects with other Tools

Memory Layout Editor

Raster Editor