Test case "Set CAN FD bus params with field data.tseg1
set to invalid value" failed
#14
Labels
wontfix
This will not be worked on
data.tseg1
set to invalid value" failed
#14
Findings:
Function
KvaserCAN_SetBusParamsFd
accepts invalid value 33 in fielddata.tseg1
of parameterparams
(KvaserUSB_BusParamsFd_t
).Remarks:
According to CAN FD specification the valid range for data phase parameter
tseg1
shall be 1 to 32.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.tseg1
.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: