I got strange problems with CRC calculation. It simply works in "different" way that the same code running on win32 or msp430 emulator.
there is a function generated by pycrc script.
And i use it to calculate crc of the data stored in eeprom memory
For debuging purpose i created additional crcDef to track crc_update return values. The "settings" structure is filled by zeros (eeprom is empty).
The result is like following
It means that second crc_update call does not take calcCrc value under consideration.
Do you have idea what I'm doing wrong. The same coding is working pretty well on win32 or msp430 platform.
Thank you in advance