Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced checksum is used for diagnostic frames #30

Open
Yannik opened this issue Feb 28, 2019 · 2 comments
Open

Enhanced checksum is used for diagnostic frames #30

Yannik opened this issue Feb 28, 2019 · 2 comments

Comments

@Yannik
Copy link

Yannik commented Feb 28, 2019

Hello,
when setting custom_defs::kUseLinChecksumVersion2 to true, the enhanced checksum is used for diagnostic frames too, leading to errors like this:

3c 7f 06 b2 23 17 46 01 03 43 ERR
7d 01 06 f2 01 00 00 00 ff 05 ERR

The LIN 2.x specification states that the classic checksum is to be used for diagnostic frames.
Source: https://assets.vector.com/cms/content/know-how/lin/LIN-Spec_2.2_Rev_A.PDF, page 20, point "classic checksum".

Yannik added a commit to Yannik/linbus that referenced this issue Mar 1, 2019
@Yannik
Copy link
Author

Yannik commented Mar 1, 2019

This is also described here:
https://www.lipowsky.com/assets/files/downloads/english/LINQuickStart_en.pdf

"These frames always have 8 data bytes and they always use the classic checksum."

@zapta
Copy link
Owner

zapta commented Mar 1, 2019 via email

laszloh added a commit to laszloh/linbus that referenced this issue Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants