Test case "Set CAN FD bus params with field data.tseg2
set to invalid value" failed
#15
Labels
wontfix
This will not be worked on
data.tseg2
set to invalid value" failed
#15
Findings:
Function
KvaserCAN_SetBusParamsFd
accepts invalid value 17 in fielddata.tseg2
of parameterparams
(KvaserUSB_BusParamsFd_t
).Remarks:
According to CAN FD specification the valid range for data phase parameter
tseg2
shall be 1 to 16.Affected:
Rootcause:
The function itself does not check the range of the data field in the structure
KvaserUSB_BusParamsFd_t
The affected devices (and only the affected devices) do not response with an error when given an invalid value in fielddata.tseg2
.Comment:
This behavior on driver level is assessed as a minor issue, because sanity checks for CAN FD bit-rate settings are implemented on user level (CAN API V3).
Testcase:
Note: Value 255 is recognized as invalid by the affected devices and the corresponding sub-testcase passed.
The text was updated successfully, but these errors were encountered: