TTE Tech A664 Lab v2.0 User Manual page 27

Table of Contents

Advertisement

6. CREATING A SWITCH CONFIGURATION
the binary files defined in the second section correspond to position 2, and so forth.
A section name, which is the name of a configuration, is given between square brackets and can be any
string of a maximum of 16 ASCII characters. It is also possible to use blank spaces. The section name
is packed into the configuration as well, which can be helpful during debugging. The following example
shows a valid section in the example_configs.ini file:
[A664_EXAMPLE]
swcfg = a664_sw0_0.bin
escfg = internal_ES.bin
ipaddr = 10.10.10.10
ipmask = 255.255.255.0
gateway = 10.10.10.1
enablect = 1
aportcfg = example.aport.ini
swcfgsgn = DC/SW0.sgn
The binary configuration files for the switch and the end system must be located in a path that is relative
NOTE
to the .ini file.
6.4 Creating the switch configuration image (CONFIGS_BAK)
This section describes how to create the switch configuration image with the tool prepare_configs_smc2.exe
from the TTTech installation DVD. This tool uses binary device configurations created with TTE-Build De-
vice Configuration as input.
To run prepare_configs_smc2.exe, use the batch file prepare_configs.bat that is supplied on
the TTTech installation DVD.
Alternatively, you can start the tool via CLI as follows:
prepare_configs_smc2 .exe example_configs .ini
It is mandatory to provide the path to a valid configuration .ini file. In addition, the following options can
be used:
--outdir
--outname
--swap
--avseed
This generates the output binary file CONFIGS_BAK.
1. The swcfgsgn parameter is optional. See also Section
2. The AeroASIC2 needs Big Endian configurations.
© TTTech Computertechnik AG 2020. All rights reserved.
Confidential and Proprietary Information
Section name
Path to the switch device configuration file
Path to the end system device configuration file
IP address of end system/management interface
Subnet mask
Gateway of the end system
Enable management functionality via critical traffic
Path to the application port configuration file
Path to the signature file
The output directory for the generated configuration file. Default is the working
directory.
The output name for the generated configuration file. Default is CONFIGS_BAK.
If defined, the tool will swap the device configurations of the switch engine and
the end system from Little Endian to Big Endian order or vice versa, depending
on the original format of the respective device configuration.
The seed is used to calculate the CRC for the autoverify mechanism of the
switch engine. Default is 0xFFFFFFFF.
If --avseed is not defined and the configuration .ini file includes the parame-
ter swcfgsgn, the tool prepare_configs_smc2.exe calculates the CRC based
on the seed stated there.
If --avseed is not defined and the configuration .ini file does not include the
parameter swcfgsgn, the default value will be used for the calculation.
6.4
1
on the current page.
26
2
Document Number:
D-A664Lab-G-05-001

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the A664 Lab v2.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents