User's Manual

Table Of Contents
5. STATE MACHINE
5 State Machine
5.1 State Machine Overview
Figure 7: The state machine
The embedded software of the TTE-Switch Lab Space consists of
two main parts:
Bootloader
Firmware
The bootloader is stored permanently in the internal ROM of the
TTE-Controller HiRel. It cannot be modified or updated. The boot-
loader initializes the CPU and loads the firmware image. The boot-
loader then verifies the integrity of this firmware image through a
CRC check. If the CRC is successful, the bootloader executes the
firmware image.
The firmware then starts in INIT mode. In this mode, it initializes
the rest of the system, executes the Built-In Self-Tests (BISTs), and
verifies the integrity of all configuration images in the attached flash
device.
The runtime system of the firmware provides several operational
modes. Each operational mode consists of specific runtime system
tasks that can only be executed in this mode. Several other tasks
are shared by several modes. See Figure 7 on this page for a
visual representation of the embedded software and its process
sequence.
5.2 Operational Modes of the Firmware
The firmware has the following operational modes: INIT, ADDRESS, CONTROLLER, RECONFIGURE,
and ERROR.
5.2.1 INIT Mode
In this mode, the firmware starts and initializes the rest of the system before it executes the BISTs and
verifies the configuration images.
Identification
Shared memory.Operation mode = 0x0000 14E5
No response on the network
Shared memory.Lifesign value is undefined
Operation
The firmware initializes all peripherals of the TTE-Switch Lab Space and the PHYs.
The firmware loads the configuration of the internal end system that was selected through the GPIO
interface (see Section 3.2.2.1 on page 17) or a long-press of the reset button (see Section 3.2.3.2
on page 19).
The firmware configuration files are loaded.
The Power-up Built-In Tests (PBITs) are performed.
© TTTech Computertechnik AG 2019. All rights reserved.
Confidential and Proprietary Information
22
Document Number:
D-863-M-05-001