Diagnostic Tools

There are multiple tools available for diagnosing issues with Kvaser devices. The following sections describe the available tools.

Dynamic Channel Quality (DCQ)

To check the link quality of an Automotive Ethernet 100/1000 BASE-T1 interface, you can read the Dynamic Channel Quality (DCQ). DCQ includes numerical values like Signal Quality Index (SQI) and Mean Square Error (MSE) that represents the quality of the link, which can help identify potential issues with the connection. In the dropdown menu of the interface, you can find a status LED showing the SQI over time. The LED changes color according to the link quality over time. The value is calculated by comparing the current SQI with the lowest one since last reading the SQI. Available link quality levels together with their corresponding LED colors are listed in the table Available Link Quality Levels and LED Colors below.

Available Link Quality Levels and LED Colors

Link Quality Level

LED Color

Good

Green

Moderate

Orange

Poor

Red

The current SQI and the lowest SQI since the last reading together with the current MSE, current peak MSE and the respective lowest value since last reading are also displayed as a numerical value in the property list under the diagnostics tab when selecting an Automotive Ethernet 100/1000 BASE-T1 interface. A higher SQI value indicates a better link quality, while a lower value may suggest potential problems with the connection. The highest possible SQI value is 7, while the lowest possible value is 0. The DCQ is updated every 5 seconds.

This functionality is only available for Kvaser Arcus devices that have firmware version 1.2.0 or later.

Cable tests

Cable tests can be performed on Automotive Ethernet 100/1000 BASE-T1 interfaces for discovering potential cable breaks or faults. If an issue is found, the distance to the fault (in meters) is reported together with the harness status. Available harness statuses are listed in the table Available Harness Statuses below.

Available Harness Statuses

Status

Description

Good

The cable is in good condition.

Open

The cable is open, meaning that there is a break in the cable, or the cable is disconnected.

Shorted

The cable is shorted, meaning that there is a short circuit in the cable.

This functionality is only available for Kvaser Arcus devices that have firmware version 1.2.0 or later.

TC10 support

The link state of Automotive Ethernet 100/1000 BASE-T1 interfaces for Kvaser Arcus devices can be controlled using TC10 commands. Available TC10 commands are listed in the table Available TC10 Commands below.

Available TC10 Commands

Command

Description

Sleep

Put the link in a sleep state. This will set the link state of the interface to down.

Wake

Wake the link from a sleep state. This will set the link state of the interface to up, if it is currently down due to a sleep command.

The table for Available TC10 States below describes the different TC10 states that an interface can be in, and their meanings.

Available TC10 States

State

Description

Normal

The interface’s link is operating normally.

Sleep

The interface’s link state is down. The interface can be woken by a ‘wake’ command or a wake request from the link partner.

Sleep failed

The interface attempted to enter sleep mode, but failed. This state will remain until a new command is sent, or the device is restarted.

Sleep aborted

The interface has received a sleep request from a link partner but was configured to abort the request. This state will remain until a new command is sent, or the device is restarted.

Unknown

Error fetching state from device.

This functionality is only available for Kvaser Arcus devices that support TC10 and have firmware version 1.1.1 or later.

Loopback

Loopback can be enabled on Automotive Ethernet 100/1000 BASE-T1 interfaces. When loopback is enabled, the interface will not forward data to the second interface but send it back out towards the sender, allowing for testing of the link quality and functionality.

This functionality is only available for Kvaser Arcus devices that have firmware version 1.2.0 or later.

Packet generator

The packet generator can be used on Automotive Ethernet 100/1000 BASE-T1 interfaces to transmit a stream of test packets, for example to stress-test a link or verify connectivity. It is configured and started from the “Packet Generator” tab for the selected interface.

Each generated frame’s size and bit pattern can be set using the payload size and payload type options listed in the tables Available Payload Sizes and Available Payload Types below.

Available Payload Sizes

Size (bytes)

Description

64

Generates the smallest allowed frame size.

1518

Generates the largest allowed frame size.

Available Payload Types

Type

Description

Pseudo random

Generates a pseudo-random bit pattern.

Alternating

Generates an alternating bit pattern.

All ones

Generates a payload of all ones.

All zeroes

Generates a payload of all zeroes.

Bad packets, meaning frames with symbol errors and a bad CRC, can optionally be generated for testing how the link partner handles corrupted data. The burst size sets how many packets to generate before stopping; a burst size of 0 generates packets continuously.

Changing the payload size, payload type, bad-packet generation or burst size takes immediate effect when the packet generator is running.

This functionality is only available for Kvaser Arcus devices that have firmware version 1.2.0 or later.