The GMLanSCT
(GMLan Single Channel, Tester only)
component implements
the transport protocol ISO/WD 15765 (Unacknowledged Segmented Data Transfer or USDT).
Most of the parameters are named in accordance with ISO/WD 15765 and are not described in further detail here.
For any unknown/undescribed terms please refer to ISO/WD 15765.
The GMLanSCT component adds a UUDT channel for fragmented responses over an additional UUDT channel. To distinguish the answers on the USDT and the
UUDT channel the component sets and checks the source ids of transmitted or received data events. The base ids for the
transport channel are hardcoded to 0x200 (USDT send), 0x600 (USDT receive) and 0x500 (UUDT receive) while the component
implements a parameter with an offset added to these base ids. These ids conform to the document "GMW3110 v1.2, GMLan
Enhanced Diagnostic Test Mode Specification".
Parameters
-
WFTmax
-
Specifies the maximum allowed number of consecutive FC.WAIT frames before the communication is stopped. When this value is set to 0 the maximum
allowed number of consecutive FC.WAIT frames is not limited so there is a risk that the communication may hang completely.
-
STmin
-
The minimum time (in ms) between two consecutive CF frames.
-
BSmax
-
The maximum number of consecutive CF frames before a FC frame is expected. The value
0
has a special meaning: In this case all CF frames are sent without further handshake.
-
TXSTmin
-
This parameter can be used to override the STmin value passed by the communication partner. By default this
parameter is set to -1 meaning that the value passed by the communication partner is used. If set
to a value in the range from -255..-2 -TXSTmin is used as the lower limit in [ms] for the STmin
value passed by the communication partner. If set to a value within the range from 0..255 the
GMLanSCT component ignores the transferred STmin value and uses TXSTmin (given in [ms]) instead.
Note: Since the parameter is used as a workaround it will not be saved in a stack configuration when set to
its default value.
-
PaddingByte
-
This parameter defines which value is used as padding value when filling up short messages to the configured length. The value -1 turns
on an optimisation feature: The latest ISO/WD15765 specification allows the sender to send messages with the minimum length required to store all data.
This especially affects SF and FC messages and the last CF message of a sequence. Note that it is optional on the sender side to implement this feature
which means the receiver of these messages must accept both, full length and shortened messages. If it does not its ISO/WD15765 implementation is broken.
-
A, B1, B2, C, D1, D2
-
Times/Timouts in ms according to ISO/WD 15765.
-
UseExtAddr
-
Always set to 0
-
ExtAddr
-
This parameter is not used by the GMLanSCT component.
-
CANIDOffset
-
This parameter defines the offset to the base ids used by the GMLanSCT component.
-
MsgLen
-
This parameter defines the message length GMLanSCT shall use. This influences the lower information block of the GMLanSCT component. When using a CAN component as hardware driver this parameter has to be less than 9.
See Also
AIDA Overview, list of AIDA components