Trigger and Stress Configuration

All mentioned CAN frames are standard BOSCH CAN specified.

 

1.Channel Parameter

TS1

For the Channel Parameter command, configure the channel and baud rate.

oChannel0 – CAN 1

Select CANChannel and Baudrate values from the value column as shown in the image above.

2.Trigger Data

TS2

For the Trigger Data command, configure channel, frame type, and arbitration id.

Channel selection is the same as in the Channel Parameter command.

For Frame Type, select Standard id or Extended id for the monitored frame.

For ArbitrationID, enter the value in hexadecimal.

For a standard CAN frame, enter an 11-bit ID. If the arbitration id for a standard CAN frame is C0, then enter 0C0.

For an extended CAN frame, enter a 29-bit id. If the arbitration id for an extended CAN frame is E094024, then enter 0E094024.

The range of an Arbitration ID for standard frames is 0x000 – 0x7FF.

The range of an Arbitration ID for extended frames is 0x0000000 – 0x1FFFFFFF.

3.Trigger Configuration

TS3

Channel selection is the same as in the Channel Parameter command.

Enter a trigger position. Enter decimal values for trigger position and trigger pulse width.

If the trigger position is 20, the trigger pulse is generated at the 21th bit of CAN frame.

Configure pulse width of the trigger pulse (1 pulse width = 1 bit time).

Range for TriggerPosition 0-255.

Range for TriggerPulseWidth 0-255.

4.Stress Data

TS4

For the stress data command, configure the channel, frame type, arbitration id, DLC, and payload. This data specifies the CAN message to be injected with bit faults to stress the system.

Channel selection is the same as in the Channel Parameter command.

For frame type, select standard id or extended id for the monitored frame.

For arbitration id, enter a hexadecimal value.

For a standard CAN frame, enter a 12 bit-ID. If the arbitration id for a standard CAN frame is C0, then enter 0C0.

For an extended CAN frame, enter a 29-bit ID. If the arbitration id for an extended CAN frame is E094024, then enter 0E094024.

DLC data should be a decimal value from 0 to 8.

For payload, enter hexadecimal value without spaces and 0x. For example, if the payload is 0x55, 0x44, 0x33, 0x22, 0x11, enter 5544332211 as shown above.

Range for Arbitration ID is0x000 - 0x 7FF for standard and 0x0000000 – 0x1FFFFFFF for extended.

Range for DLC is 0 - 8.

5.Stress Mask Data

TS5

For the stress data command, configure the channel, frame type, arbitration id, DLC, and payload.

Channel selection is the same as in the Channel Parameter command.

The data entered is used to mask the Stress Data command. Bits set to 0 are not compared.

If the masked data matches a CAN frame, fault bits are injected into that frame.

Enter Payload and DLC as described for Stress Data.

6.Stress Configuration

TS6

Use this command to configure stress position and stress data.

Channel selection is the same as in the Channel Parameter command.

All numbers in this command are decimal.

Stress position will indicate that from this position onwards data will change.

The data which user wants to add from stress position onwards will be entered at StressData field.

Stress data will be from 0 to 255 only.

Number of Stress Bits indicates how many bits from stress data need to add or change. Its range is 0-8.

Can make recessive (1) bit to dominant (0). But cannot make dominant (0)  bit to recessive (1).

Range for StressPosition 0-255.

Range for StressData 0-255.

Range for Number of Stressbit 0-8.

7.Enable Configuration

TS7

Use this command to enable/disable trigger and stress.

Channel selection is the same as in the Channel Parameter command.

Use the drop-down box to select enable or disable.

 

Notes:

These commands are required to generate a trigger pulse:

oChannel Parameter

oTrigger Data

oTrigger Configuration

oEnable Configuration

These commands are required to add stress:

oChannel Parameter

oStress Data

oStress Mask Data

oStress Configuration

oEnable Configuration

 

Examples: Generating a Stress Error

 

Steps required to generate error

oSet channel parameter

oSet stress data

oSet stress mask data

oConfigure stress

oEnable stress configuration

oDisable stress configuration

Types of stress errors:

hmtoggle_plus1Bit disturbance at End Of Frame
hmtoggle_plus1Bit disturbance at ACK Delimiter
hmtoggle_plus1Bit disturbance at CRC Delimiter
hmtoggle_plus1Bit disturbance at Data field