Skip to content

ISSUE about P2 timer or my usage is not correct, please check #272

Open
@CN-CaoJun

Description

@CN-CaoJun

Background , i developer an tester with UDSONCAN module which based on Vector CAN hardware

  1. req 10 02
    res 50 02 00 19 01 f4 -> which means that the server give the p2 timer is 25ms and p2* is 500ms
  2. however when i start 0x36 service , the log has report Did not receive response in time. P2 timeout time has expired (timeout=0.025 sec)

Image

Image

  1. based the iso14229, the p2 timer is the first response frame - the whole multi-frame packet or only Single Frame

Image

SO, actually the time consumed is only 712.857 - 712.854 = 0.003 sec, which is far less than 0.025sec, but why it reports error.

  1. Then i enable the logging module ,and observed that the uds and isotp module report error when receiving CFs , the

Image

This time difference is roughly the time difference between the frame with the error and the first frame 721.827-712.801 = 0.025 seconds

Image

plz help to check ~ thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions