User's Manual
Table Of Contents
- Front Cover
- Table of Contents
- List of Tables
- List of Figures
- Disclaimer
- Limited Rights Notice
- 1 Introduction
- 2 Overview
- 3 Functional description
- 4 Getting started
- 5 State machine
- 6 Creating a switch configuration
- 7 Diagnosis
- 8 Troubleshooting
- Appendix A List of Built-In Self-Tests
- Appendix B Serial terminal output at start-up
- Glossary
- References
- Index
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] Section name
swcfg = a664_sw0_0.bin Path to the switch device configuration file
escfg = internal_ES.bin Path to the end system device configuration file
ipaddr = 10.10.10.10 IP address of end system/management interface
ipmask = 255.255.255.0 Subnet mask
gateway = 10.10.10.1 Gateway of the end system
enablect = 1 Enable management functionality via critical traffic
aportcfg = example.aport.ini Path to the application port configuration file
swcfgsgn = DC/SW0.sgn Path to the signature file
1
NOTE
The binary configuration files for the switch and the end system must be located in a path that is relative
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 The output directory for the generated configuration file. Default is the working
directory.
--outname The output name for the generated configuration file. Default is CONFIGS_BAK.
--swap 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.
2
--avseed 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.
This generates the output binary file CONFIGS_BAK.
1. The swcfgsgn parameter is optional. See also Section 6.4 on the current page.
2. The AeroASIC2 needs Big Endian configurations.
© TTTech Computertechnik AG 2020. All rights reserved.
Confidential and Proprietary Information
26
Document Number:
D-A664Lab-G-05-001