ikalogic / ScanaStudio-scripts-v3

8 stars 13 forks source link

CRC computing with CAN #20

Closed RaphaKPS closed 1 year ago

RaphaKPS commented 2 years ago

Hello, I discover that the CRC computing with CAN Bus protocol is dedicated to CAN-FD, thus generating an error when using standard CAN frames (something dealing with code line 1856 probably...). Thanks.

ikalogic commented 2 years ago

Thanks for letting me know.

I think my mistake was to think that CAN-FD CRC was compatible with non FD CAN system. Which aparently is not the case.

I'll have to modify the code to have different computing depending on the mode.

Thanks,