Tool/software:
Hi Jagadish,
I observed something during testing. I called the CRC calculation API twice with different values—first with 35, and then with 0. My expected results were 160 (in decimal) for the first call and 161 for the second.
This is because, in my case, I expect the initial value to be 0 for the first call, and for the second call, the initial value should be the CRC result from the first call. Since I'm calculating the final CRC cumulatively based on various factors like Data ID, counter, and CAN data, the previously generated CRC should act as the initial value for the next call—provided no reset occurs in between.
However, I noticed that for every CRC call, the initial value is always set to 0.
The results I have observed using mcrc are 160 and 0.




























































