All mentioned CAN frames are standard BOSCH CAN specified.
•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.
•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.
•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.
•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.
•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.
•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.
•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:
•CAN frame information oArbitration ID: 0x1E9 oDLC: 8 oPayload: 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x18, 0x00. oFrameType: Standard CAN frame oNo wakeup •Set channel parameter oWe want to generate error on CAN channel 0. For that select channel0 in CANChannel in ChannelParameter oECU using 500000bps baud rate. Set HS_500000 as baud rate parameter. •Set Stress Data oSet the channel according to channel parameter. oSet the wakeup status with No. oSet the Frame type as standard. oEnter the 1e9 in Arbitration value field (hexadecimal). oEnter the 8 in DLC field (decimal). oEnter the 0000002000001800 in payload field (hexadecimal). •Set Stress Mask Data oSet the channel according to channel parameter. oSet the wakeup status with No. oSet the Frame type as standard. oEnter the 7FF in Arbitration value field for masking the ID (hexadecimal). oEnter DLC value same as Stress Data (decimal). oEnter the 0000000000000000 in payload, because we don’t want to compare payload. •Configure stress oSet the channel according to channel parameter. oTo generate this error we need to add stress on EndOfFrame field. For above CAN message, EOF will start from 105 bit onwards (Include stuff bits). So in Stress Position field we have to set 105 (decimal). oTo generate this error we have to replace EOF with 0x00. So in StressData field we have to set 0 (decimal). oWe have to replace 8 bit. Enter 8 (decimal) in number of stress bit field. •Enable Stress oSet the channel according to channel parameter. oSet enable in stress parameter when its required. •Disable Stress oSet the channel according to channel parameter. oSet disable in stress parameter when it is not required. |
•CAN frame information oArbitration ID: 0x0C5 oDLC: 8 oPayload: 0x3C, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00. oFrameType: Standard CAN frame oNo wakeup •Set channel parameter oWe want to generate error on CAN channel 0. For that select channel0 in CANChannel in ChannelParameter oECU using 500000bps baud rate. Set HS_500000 as baud rate parameter. •Set Stress Data oSet the channel according to channel parameter. oSet the wakeup status with No. oSet the Frame type as standard. oEnter the 0c5 in Arbitration value field (hexadecimal). oEnter the 8 in DLC field (decimal). oEnter the 3c0000003c000000 in payload field (hexadecimal). •Set Stress Mask Data oSet the channel according to channel parameter. oSet the wakeup status with No. oSet the Frame type as standard. oEnter the 7FF in Arbitration value field for masking the ID (hexadecimal). oEnter DLC value same as Stress Data (decimal). oEnter the FF00000000000 in payload, because we want to compare only first byte of payload. •Configure stress oSet the channel according to channel parameter. oTo generate this error, we need to add stress on ACK delimiter field. For above CAN message, ACK delimiter field will start from 100 bit onwards (Include stuff bits). So set the Stress Position field to 100 (decimal). oTo generate this error, replace the ACK delimiter field with 0. Set the StressData field to 0 (decimal). oWe have to replace 1 bit. Enter 1 (decimal) in number of stress bit field. •Enable Stress oSet the channel according to channel parameter. oSet enable in stress parameter when its required. •Disable Stress oSet the channel according to channel parameter. oSet disable in stress parameter when its not required. |
•CAN frame information oArbitration ID: 0x0C1 oDLC: 8 oPayload: 0x1C, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00. oFrameType: Standard CAN frame oNo wakeup •Set channel parameter oWe want to generate error on CAN channel 0. For that select channel0 in CANChannel in ChannelParameter oECU using 500000bps baud rate. Set HS_500000 as baud rate parameter. •Set Stress Data oSet the channel according to channel parameter. oSet the wakeup status with No. oSet the Frame type as standard. oEnter the 0c1 in Arbitration value field (hexadecimal). oEnter the 8 in DLC field (decimal). oEnter the 1c0000001c000000 in payload field (hexadecimal). •Set Stress Mask Data oSet the channel according to channel parameter. oSet the wakeup status with No. oSet the Frame type as standard. oEnter the 7FF in Arbitration value field for masking the ID (hexadecimal). oEnter DLC value same as Stress Data (decimal). oEnter the FF00000000000000 in payload, because we want to compare only first byte of payload. •Configure stress oSet the channel according to channel parameter. oTo generate this error we need to add stress on CRC delimiter field. For above CAN message, CRC delimiter field will start from 97 bit onwards (Include stuff bits). So in Stress Position field we have to set 97 (decimal). oTo generate this error, we have to replace CRC delimiter field with 0. So set the StressData field to 0 (decimal). oWe have to replace 1 bit. Enter 1 (decimal) in number of stress bit field. •Enable Stress oSet the channel according to channel parameter. oSet enable in stress parameter when its required. •Disable Stress oSet the channel according to channel parameter. oSet disable in stress parameter when it is not required. |
•CAN frame information oArbitration ID: 0x1E9 oDLC: 8 oPayload: 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00. oFrameType: Standard CAN frame oNo wakeup •Set channel parameter oTo generate an error on CAN channel 0, select channel0 in CANChannel in ChannelParameter. oECU using 500000bps baud rate. Set HS_500000 as baud rate parameter. •Set Stress Data oSet the channel according to channel parameter. oSet the wakeup status to No. oSet the Frame type as standard. oEnter 1e9 in the Arbitration value field (hexadecimal). oEnter 8 in the DLC field (decimal). oEnter 0000002000000000 in the payload field (hexadecimal). •Set Stress Mask Data oSet the channel according to channel parameter. oSet the wakeup status to No. oSet the Frame type as standard. oEnter 7FF in the Arbitration value field for masking the ID (hexadecimal). oSet the DLC value to the same as the Stress Data (decimal). oEnter 000000FF000000 in the payload to compare only fourth byte of payload. •Configure stress oSet the channel according to channel parameter. oTo generate this error, we need to add stress on Data field. For the above CAN message, set the Stress Position field to 50 (decimal). oTo generate this error, we have to replace Data field with 0 (user dependent). So set the StressData field to 0 (decimal). oWe have to replace bit 8 (user dependent). Enter 8 (decimal) in number of stress bit field. •Enable Stress oSet the channel according to channel parameter. oSet enable in stress parameter when it is required. •Disable Stress oSet the channel according to channel parameter. oSet disable in stress parameter when it is not required. |