Hello there,
I tried generating the C code for several CRC16 algorithms:
while I was able to generate the code for kermit with:
Crc(g16, rev=True).generateCode('crc16r',out)
the trial to generate the crc-ccitt-flase with
Crc(g16, initCrc=0xFFFF, rev=False).generateCode('crc16sum',out)
goes wrong - while the software does output the c code, the calculated checksum is always wrong.
Am I doing something wrong?
Thanks a lot! :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello there,
I tried generating the C code for several CRC16 algorithms:
while I was able to generate the code for kermit with:
Crc(g16, rev=True).generateCode('crc16r',out)
the trial to generate the crc-ccitt-flase with
Crc(g16, initCrc=0xFFFF, rev=False).generateCode('crc16sum',out)
goes wrong - while the software does output the c code, the calculated checksum is always wrong.
Am I doing something wrong?
Thanks a lot! :)