- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.2k
Labels
area: CANbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
after apply the PR #31730 ,  we meet data derived issue in isotp
To Reproduce
Steps to reproduce the behavior:
set up zephyr build and code from https://docs.zephyrproject.org/latest/getting_started/index.html
- west init .
- west update
- cd zephyr
- source ./zephyr-env.sh
- cd tests/subsys/canbus/isotp/conformance
- west build -b mimxrt1060_evk -- -G'Unix Makefiles'
- connect mimxrt1060_evk board with usb serial to host pc
- west flash --runner=pyocd
Expected behavior
Test PASS
Impact
ISOTP can stack supporting
Logs and console output
Running test suite isotp_conformance
===================================================================
START - test_send_sf
 PASS - test_send_sf
===================================================================
START - test_receive_sf
I: SF DL does not match. Ignore
I: SF DL does not match. Ignore
 PASS - test_receive_sf
===================================================================
START - test_send_sf_ext
 PASS - test_send_sf_ext
===================================================================
START - test_receive_sf_ext
I: SF DL does not match. Ignore
W: Unhandled error/status (status 0x00000001, result = 0x00000001
 PASS - test_receive_sf_ext
===================================================================
START - test_send_data
 PASS - test_send_data
===================================================================
START - test_send_data_blocks
 PASS - test_send_data_blocks
===================================================================
START - test_receive_data
 PASS - test_receive_data
===================================================================
START - test_receive_data_blocks
 PASS - test_receive_data_blocks
===================================================================
START - test_send_timeouts
E: Reception of next FC has timed out
E: Reception of next FC has timed out
E: Reception of next FC has timed out
 PASS - test_send_timeouts
===================================================================
START - test_receive_timeouts
E: Timeout while waiting for CF
 PASS - test_receive_timeouts
===================================================================
START - test_stmin
 PASS - test_stmin
===================================================================
START - test_receiver_fc_errors
E: Sequence number missmatch
W: Unhandled error/status (status 0x00000001, result = 0x00000002
 PASS - test_receiver_fc_errors
===================================================================
START - test_sender_fc_errors
W: Unhandled error/status (status 0x00000001, result = 0x00000002
    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/conformance/src/main.c:833: test_sender_fc_errors: (ret not equal to 0)
Send complete callback not called
 FAIL - test_sender_fc_errors
===================================================================
Test suite isotp_conformance failed.
Environment (please complete the following information):
- OS: (e.g. Linux)
- Toolchain (e.g Zephyr SDK, ...)
Metadata
Metadata
Assignees
Labels
area: CANbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: lowLow impact/importance bugLow impact/importance bug