Vector Informatik GmbH has ISO 9001:2000 certification. The ISO standard is a
globally recognized standard set by the British Standards Institution.
1.1.3 Warranty
Limitation of warranty We reserve the right to change the documentation and software without prior notice.
Vector Informatik GmbH assumes no liability for the correctness of the contents or for
any damages that may arise from use of this manual. We are always grateful for
references to mistakes or for suggestions for improvement, so as to be able to offer
you even better-performing products in the future.
1.1.4 Support
Need support? Our business hours are Monday to Friday from 9:00 am to 5:00 pm (CET):
¼ telephone: +49 711 80670-200
¼ fax: +49 711 80670-555
¼ email: support@vector-informatik.de
1.1.5 Registered trademarks
Registered
trademarks
All trademarks mentioned in this user manual, including those registered to third
parties, are governed by the respective trademark laws and are the property of their
respective owners. All trademarks, trade names or company names are or can be
trademarks or registered trademarks of their particular owners. All rights which are
not expressly allowed are reserved. Failure to explicitly note any given trademark
within this user manual does not imply that a third party does not have rights to it.
¼
Windows, Windows XP, Windows 2000, Windows NT, Visual Basic, Visual
SourceSafe
At a glance With FRstress the user can intentionally and reproducibly disturb the FlexRay bus, its
physical characteristics and the logical level.
The test scenarios consist of the definition of trigger conditions and corresponding
The graphic shows the block diagram of
FRstress block
diagram
FRstress offers the following capabilities:
¼ Forcing shortcuts between the bus lines, power or ground
¼ Disturbing specific messages
¼ Manipulating single bit fields of a FlexRay messages
¼ Frame deletion
¼ Frame delay
actions like disturbance or activation of a trigger output. With the start of
measurement a set of four tests can be transferred to the hardware for execution.
Although hardware can only disturb one channel it is possible to configure test
scenarios for both channels of a FlexRay cluster. The software provides the support
of two hardware devices.
FRstress provides a comprehensive online help function which can be called from the
Help[Help] menu, the button or the <F1> key.
Info: If you choose the Help|Using Help command or press the <F1> key while
FRstress online Help is active, you get information on using and configuring the
online help function.
2.3 Basic concepts of FRstress
Basic Concepts For the test and the validation of FlexRay networks and ECUs it is important to
analyze the behavior in presence of errors.
reproducible disturbances in the FlexRay network. Disturbances on protocol level as
well as disturbances on physical level are possible.
The graphic below demonstrates the basic function of
analyzes the bit stream on the FlexRay bus and compares the data with the active
trigger streams. As soon as a trigger condition matches, the trigger output is
activated. Additionally to the active trigger signal a dedicated disturbance manipulates
the FlexRay bus. The kind of disturbance depends on the active operation mode of
FRstress.
Basic Functions
FRstress supports you to generate
FRstress. The hardware
FRstress provides three different operation modes. The following chapters give an
overview about the trigger definition and the operation modes.
2.3.1 Trigger definition
Trigger Definitions Altogether four parallel trigger definitions can be defined. The trigger is defined by a
sequence of
bus the trigger will be activated.
The software provides a FlexRay frame oriented input mask for the trigger definition.
All elements of the FlexRay frame and the frame coding (e.g. Byte Start Sequence)
are available for the trigger definition.
These are examples for possible trigger definitions:
0, 1don’t care and . With the detection of this sequence on the FlexRay
User manual FRstress Introduction
FlexRay frame in a certain slot
FlexRay frame in a certain slot and
cycle number
All sync frames
The field frame ID of the frame header
must be filled up with the desired slot
number.
The fields frame IDcycle number and of
the frame header must be filled up with
the desired values.
The field Sync flag indicator of the
frame header must be set to
1.
2.3.2 Operation modes
Pure Scope Mode In this mode FRstress is passive to the FlexRay bus. It analyses the bit stream on the
bus and generates the appropriate trigger signals. The disturbance part is switched
off.
This mode is useful for pure triggering where no disturbances are required. An
oscilloscope is a typical receiver of the trigger signal.
Analog Connection
Mode
Additionally to the trigger definition it is possible to define disturbance sequences.
These sequences will be activated after the detection of the assigned trigger. This
means that the earliest point in time for the start of a disturbance sequences is
immediately after the trigger the detection of the last trigger bit.
FRstress is connected to the bus in normal node.
Info: In this mode the transceivers of FRstress transmit in one case against the
transceiver of the sending node and in the other case with the sending transceiver.
This is reflected in the fact that depending on the line position in some case the
desired disturbance can not guaranteed. This means the disturbance can be
influenced by the length of the bus cable, the termination, the transceivers and the
position of the receiver node.
¼Injection of disturbance pattern after a trigger.
This can be used to destroy a specific frame. In this mode a bit synchronous
frame manipulation is not possible.
¼Modification of the bus physics through the configuration of additional resistors
between the bus lines, parallel to the bus lines, to ground and power supply.
This is useful for the simulation of various line lengths, shortcuts to ground or
power supply and different capacities.
Digital Connection
Mode
FRstress divides the network into two segments. The hardware operates similar to an
active star. Frames will be transmitted from one segment to the other segment and
vice versa. In contrast to the
accuracy are possible too. The optional CRC recalculation completes the function set
in that way that bit accurate manipulations are possible. E.g. the Sync flag of a Sync
frame from segment A can be set to 0 and the frame CRC will be recalculated. The
receiver segment B sees now a valid frame without a sync flag set.
A previously saved program configuration can be read from a file.
User manual FRstress FRstress Configuration Software
Save
The entire program configuration can be saved to file.
All trigger and disturbance settings are written to a file.
Save as…
The active configuration can be saved to a new directory and/or with a new name.
Associate database…
In this dialog you define which FIBEX databases you wish to work with.
Exit
This menu entry closes
FRstress.
3.2.2 Disturbance
Disturbance menu The Disturbance menu provides the commands for the disturbance control.
Start
The disturbance scenario will be transferred to the hardware and the hardware
starts its execution.
The connection to the hardware will be set automatically.
Trigger Hardware Unit 1
This command executes the software trigger of the
This function is available only during a measurement session and if the software
trigger is configured on the trigger input configuration page.
FRstress hardware 1.
Trigger Hardware Unit 2
This command executes the software trigger of the
This function is available only during a measurement session and if the software
trigger is configured on the trigger input configuration page.
Stop
The measurement is stopped by selecting this menu item or by pressing the
<ESC> key.
It can be restarted afterwards by pressing <F9> key.
FRstress hardware 2.
3.2.3 Options
Options menu The Options menu switches between one and two hardware support.
Use one channel configuration
This menu item activates the one hardware support.
The disturbance scenario for one channel can be configured.
Use two channel configuration
This menu item activates the two hardware support.
The disturbance scenario for two channel can be configured.
To start the disturbance scenario two hardware units must be available.
Use Autoselect status tab on start
When this option is selected, the status tab of the status window will automatically
be selected when starting a trigger/disturbance.
Use Autoselect hw unit overview
When this option is selected, the correct overview tab of the status window will
automatically be selected depending on the cursor position in the selection tree
on the left side of the main window
The Help menu provides the contents of Help menu FRstress’ context-sensitive help function.
Contents
About…
The [More Info] button in the disclaimer window displays the serial number, the
firmware version, the DLL version and the driver version in the info tab of the
Status window.
3.3 Toolbar and Shortcuts
Toolbar /
Shortcuts
The global toolbar contains general FRstress functions. In addition, it includes
functions for starting and stopping measurement.
Configuration tree The tree view on the left side allows the navigation between the different configuration
FRstress.
Special case for sequence 1: In case of that the disturbance sequence 1 is
used by the software trigger a deactivation is not possible. A yellow symbol is
displayed to show that the trigger is not used but the disturbance part.
Trigger Disturbance
1−4
Continuous
disturbance
Analog disturbance
pages of
The selection of this entry activates the Trigger/disturbance configuration. A double
click on this entry activates (green symbol) or deactivates (red symbol) the
Trigger/disturbance set.
Definition of a special disturbance sequence (see 3.5.3 Continuous Disturbance,
page ).
This entry activates the configuration page resistor and capacity network (see 3.5.4
Analog Disturbance, page ).
In the Pure Scope Mode only the trigger functions are available. The bus
connection in this mode realizes a connection with a minimal influence to the bus.
Network Parameters
¼Baudrate
For all modes the appropriate baud rate has to be selected. For each baud rate a
dedicated firmware must be downloaded to the hardware (see 6 Appendix A:
Firmware Update, page ).
¼Payload Length
This field contains the payload length in bytes of the static frames in the network.
All payload fields in the trigger and disturbance configuration pages will be preset
with this number.
¼For Digital Connection Mode only
These settings are only available in the Digital Connection Mode. Otherwise
they are inactive
¼ Macrotick Length
¼ TSS Length
¼ Cycle Length
¼ Number Static Slots
¼ Action Point Offset
¼ Static Slot Length
The [Get database values] button extracts all values described above from the
assigned FIBEX database.
User manual FRstress FRstress Configuration Software
These settings are only available in the Digital Connection Mode: Digital Connection
Mode
¼Frame Delay
Incoming frames will be delayed before they are sent to the output segment.
¼TSS Extension
At the output segment all frames will be sent with the extended Transmission
Start Sequence.
¼Frame Deletion
This filter blocks for the output segment all frames specified with frame id and
cycle number. The concrete number and the wildcard symbol x are valid input
values.
3.5.2 Trigger/Disturbance 1-4
Overview The configuration tree offers four sets of Trigger and Disturbances.
Each of these sets has several configuration pages.
Frame Trigger page On this page a trigger is to be defined for a disturbance. All fields of a FlexRay
message can be used. Each trigger bit can have the values Data_0 (0), Data_1 (1) or
don’t care (x). For frame ID, payload length, header CRC, cycle count, CRC 1, CRC 2
and CRC 3 the values can be entered numerical (hex or dec) by clicking on the link
left of the corresponding edit box.
The forecast functions can only be used in Digital
Connection Mode.
The purpose of the forecast mechanism is to trigger on
bits in a particular frame which are located before the
frame id/cycle count.
To use the forecast function, at first it has to be to
defined which frame id /cycle count shall be forecasted.
Then trigger bits have to be defined which are located
before frame id/cycle count in the frame. These bits
define the place where the trigger occurs.
When a forecast mechanism is activated, the frame id
and/or the cycle count are not treated as trigger bits.
Note that the network parameters for digital connection
mode have to be specified to use the forecast
mechanism.
Payload Sequence The payload sequence compares only the number of data bytes which is defined in
the list!
Field Length Range
BSS x 2 bit Default bit sequence: 10
Data byte x 8 bit 0…255
Button Description
[Fill Fields]
Fills the payload sequence with “don’t care” bits. The
relevant payload length is taken from the Payload length
field.
User manual FRstress FRstress Configuration Software
Trailer Sequence:
Field Length Range
BSS 1–3 2 bit Default bit sequence: 10
CRC 1–3 8 bit —
FES 2 bit Default sequence: 01
Button Description
[Empty Clear Fields]
[Configurator]
Clears all fields on frame trigger page.
The configurator allows the symbolic configuration of the
Frame ID and Payload length from the database. The
selection dialog lists all FlexRay fames with the
associated node.
¼ Load Frame Id
¼ Load Payload length
¼ Load Frame Id and Payload Length
3.5.2.1 Trigger Parameters
Trigger Parameters Additional parameters for the trigger configuration are located on this page.
Connection Mode
Independent
Digital Connection
Mode
In this section you can configure the trigger count and the delay between the trigger
detection and start of the disturbance.
¼Disturbance count limitation
If activated the number of triggers can configured in a range between 0 and 255.
The trigger action will be executed unlimited if the setting is deactivated.
¼Delay after trigger detection
The time between the trigger detection and the start of the disturbance execution
is configurable. The value range is from 0 to 16777215.
Info: When delay after trigger detection is not 0, the analog frame disturbance tab
is activated because a frame synchronous disturbance is only possible when no
trigger delay is set
¼Auto increment
The delay between the trigger and the disturbance will be incremented
automatically with each trigger occurred. The step size will be set in these fields.
The active port for the trigger detection is modifiable in the Digital Connection
Mode. It is possible to select between both ports, port A and port B.
3.5.2.2 Digital Disturbance
Digital Disturbance
The configured disturbance sequence represents a frame modification on bit level.
In the Digital Connection Mode this configuration page is active and in the other
connection modes this page is not configurable.
Only those fields that follow the trigger fields (T) can be disturbed.
Configuration pages User manual FRstress
As disturbance values for the bits Data_0 (0), Data_1 (1) and undisturbed (u) are
allowed. The frame fields with its meaning and representation are explained on the
Frame Trigger Configuration page. For frame ID, payload length, header CRC,
cycle count, CRC 1, CRC 2 and CRC 3 values can be entered numerical (hex or dec)
by clicking on the link left of the corresponding edit box.
Exception 1: When delay after trigger detection or auto increment isn’t 0 (trigger
parameter page), the analog frame disturbance tab is activated.
Clear fields This button clears all fields on digital frame disturbance page.
Show Trigger Bits This button shows all frame fields which are already used by the trigger definition.
is selected → analog frame disturbance tab is activated
These bits can not be used in the disturbance sequence. Normally the disturbance
sequence follows the trigger sequence.
Configurator The selection dialog for database messages is started. A symbolic message can be
selected. The data of the frame will be inserted in the corresponding fields after
selection:
¼ Load Frame Id
¼ Load Payload length
¼ Load Frame Id and Payload Length
Use Continuous
Disturbance
If selected all frame disturbance fields will be deactivated. Instead of the synchronous
disturbance the continuous disturbance is executed when the trigger occurs. The
continuous disturbance can be defined on the corresponding configuration page.
3.5.2.3 Analog Disturbance
Analog Disturbance
This page holds the settings for the disturbance sequence in the Analog Connection Mode. In all other connection modes this page is deactivated.
The disturbance sequence in the Analog Connection Mode runs asynchronous to
the detected trigger sequence. Due to reflection effects on the bus line it is possible
that not all nodes in the net-work see the same disturbance on the bus.
Exception1: This page is also activated in the digital connection mode, when
delay after trigger detection or auto increment is not 0 (trigger parameter page).
Exception 2: This page is also activated when Trigger/Disturbance 1 and Trigger
The field contains the disturbance sequence. The maximum length is 4095 bits.
In this section you can enter all bit fields of a FlexRay frame. This input mask helps
you to define a disturbance pattern which follows a typical frame pattern. After the
input of the frame the sequence has to be applied to the Disturbance sequence.
User manual FRstress FRstress Configuration Software
Calculate Header
CRC
Calculate Frame
CRC
Apply sequence This button copies the entered frame to the disturbance sequence. Fields with free
Reset fields The button resets the fields of the input mask and clears the disturbance sequence.
Use Continuous
Disturbance
This button calculates the Header CRC basing on the fields Startup indicator, sync
frame indicator, slot id, payload length and header CRC.
This button calculates CRC checksum over the complete FlexRay frame including the
header CRC. Important for this calculation is the channel assignment on the hardware
unit page.
undefined bits will be filled up with 0 bits.
If selected all frame disturbance fields will be deactivated. Instead of the synchronous
disturbance the continuous disturbance is executed when the trigger occurs. The
continuous disturbance can be defined on the corresponding configuration page.
3.5.2.4 Disturbance Parameter
Disturbance
Parameters
Dynamic CRC
calculation
Additional parameters for the disturbance can be found on this page.
In the Digital Connection Mode only the dynamic CRC calculation is useful to
produce a valid frame after some bits in the frame have been modified.
Info: The channel setting on the hardware unit page is important for the Dynamic
CRC calculation function.
3.5.3 Continuous Disturbance
Continuous
Disturbance
Disturbance
Sequence
Disturbance
Repetition
Other information The corresponding duration depending on the baud rate and the configuration is
The continuous disturbance consists of a sequence and a repetition.
0…8 bit to define a disturbance pattern.
Number of repetitions of the defined disturbance sequence.
displayed. Additionally to this the list displays the sources that activate the continuous
disturbance.
3.5.4 Analog Disturbance
Analog Disturbance The resistor and capacitor network for analog disturbance is defined here.
Analog disturbances may be caused by the following in a real FlexRay network:
User manual FRstress FRstress Configuration Software
Disturbance Voltage By default the supply voltage and disturbance voltage are jumpered together in the
supply connector. However, the disturbance voltage can also be fed in separately. In
the circuit diagram you can specify whether the resistor should be connected to the
positive (V_D+) or negative (V_D-) pole of the disturbance voltage; this is done by
clicking the switch next to R_H or R_L. The maximum disturbance voltage that may
be used, and which is utilized to check the configured layout, is displayed next to
Max. disturbance voltage.
3.5.5 Trigger Input
Trigger definition The External Trigger and the Software Trigger can be defined on this page.
Use External Trigger The usage of the external trigger can be switched on or off.
External Trigger
Usage
Use Software Trigger The usage of the software trigger can be switched on or off.
Software Trigger
Action
Software Trigger reaction: In this section the specific behavior of the software trigger
For the external trigger input it is possible to define whether the input should be used
as an external trigger or as a trigger enable signal.
When used as an external trigger the user can choose whether the input should be a
Level trigger (with LOW or HIGH level) or an Edge trigger (with triggering on the
transition from LOW→HIGH or from HIGH→LOW). Additionally the assigned
disturbance can be configured. You can decide for one of the following settings: no
disturbance, disturbance sequence 1 or continuous disturbance.
When used as a trigger enable signal, the user can decide whether, when a trigger
condition is satisfied, there must also be a low (LOW) or a high (HIGH) voltage level
at the input to permit triggering.
This setting describes the general behavior of the software trigger.
¼Button pressed (single shot trigger):
The trigger is executed by the button pressed action.
¼Button pressed (on/off functionality):
The software trigger is switched on by the software trigger action and can be
switched off with a second click on the software trigger button.
The assigned disturbance is executed until the trigger is switched off.
is defined.
¼Trigger disturbance:
As possible disturbances are the disturbance sequence 1 and the continuous
disturbance available.
¼Trigger enable (when button pressed):
When the software trigger is connected to the trigger output to desired enable
trigger level can be configured: Low or High.
3.5.6 Trigger Output
Trigger Output The trigger output of FlexRay Stress needs an action source and a specific output
Activated by The list contains all possible sources which can set the Trigger Output.
A checked item means that the Trigger output is set if a trigger on the specified
source is activated.
The output level Low and High can be selected. Trigger output level
3.6 Message and Status window
Message window In the lower part of the FRstress main window is the message window located. It has
four panes:
Info Notifications, status messages and error are printed into this window.
Status The status pane holds the trigger counter for the sequences 1–4. The counter starts
with the configured number of trigger detections. On each trigger detection the
number is decreased.
Overview unit 1 /
Overview unit 2
The overview pane shows at a glance all configured settings of
FRstress.
3.7 FRstress COM Interface
COM Interface The FRstress COM Server allows you to control FRstress from external programs.
Besides applications, scripts can also be used as external programs. Certainly the
most well-known script and programming languages available to you are: VBScript,
JScript, Perl, VBA, Visual Basic, Delphi and C/C++.
COM configuration Open the MS-DOS console and switch to the FRstress installation directory.
¼To register the COM Server you have to type
FRstress /register
¼If you want to unregister the COM Server you have to type
FRstress /unregister
FRstress object
hierarchy
FrsApplication
FrsConfiguration
HardwareUnitCollection
HardwareUnit
TriggerDisturbanceCollection
TriggerDisturbance
AnalogBoard
Cross reference: The online help contains a full description of FRstress related COM
USB The USB port is fed out via a four-pin connector (Binder Series 711) and conforms to
the USB standard 2.0.
4.1.6 Power Connector
Power Connector The connector is realized as a 5 pin plug of the plug series “Binder 711”.
Using Pin 5 of the Supply connector it is possible to set the housing ground to a
defined voltage level. When utilized in a motor vehicle, a direct connection to the
negative supply voltage (vehicle ground) presents itself as an option. If relevant to the
specific area of use, it may be advisable to make a connection to the ground
conductor of the installation. If Pin 5 is left unconnected (this is the case on the
voltage cable provided), no voltage level is applied to the housing.
4.2 LED Indicators
Status indication Four LEDs display the current state of the FRstress hardware.
The first LED (Power/Run) is located nearest to the side with the plugs.
Startup mode
Normal mode
The LEDs flash together until the hardware is detected
by the PC.
Vector.ini The following options for FRstress can be configured in VECTOR.INI:
Language of the menus and dialogs (Section:
[Language]
Country=01
Info: If the language of your Windows version is not the same as the language set for
FRstress, certain dialogs and buttons may appear in the language of your Windows
version.
For example, if you have configured English as the language for
German version of Windows, the German dialog Öffnen (Open) appears, since
Windows resources are referenced here.