Page 2 of 2

Re: CRC-8 algorithm in m3/y

Posted: Sat Apr 05, 2025 10:48 am
by uhi22
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

Re: CRC-8 algorithm in m3/y

Posted: Sat Apr 05, 2025 10:53 pm
by tg1929
Thanks uhi22, nice description in the Readme. It might take me a few days to get a chance to test it out.

Re: CRC-8 algorithm in m3/y

Posted: Sun Apr 06, 2025 10:43 am
by uhi22
Added the check of the log for 0x229 into tesla-crc-filereader.c. Perfect fit, no remaining question marks.