Published a demo which runs over the 870 samples of the 0x249, calculates the CRC and compares it with the CRC from the log.
Result: all fits.
https://github.com/uhi22/tesla-crc
CRC-8 algorithm in m3/y
- uhi22
- Posts: 1117
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 206 times
- Been thanked: 617 times
Re: CRC-8 algorithm in m3/y
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
Re: CRC-8 algorithm in m3/y
Thanks uhi22, nice description in the Readme. It might take me a few days to get a chance to test it out.
- uhi22
- Posts: 1117
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 206 times
- Been thanked: 617 times
Re: CRC-8 algorithm in m3/y
Added the check of the log for 0x229 into tesla-crc-filereader.c. Perfect fit, no remaining question marks.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22