CRC routines

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

This question of CRC routines has come up a few times in the past. This message is more for adding to the archive that people might search when looking for CRC routines but...

I uploaded some CRC routines to the Academy, including CRC8 and CRC16. Both are calculated versions right now, I'll add table driven later. Both CRC8 and CRC16 work with S.N.A.P. Lab (www.hth.com/snap), which is basically all the testing I have done on them. As well they produce the same results as BASCOM CRC8 and CRC16. The CRC16 is CRC-CCITT... later I will add CRC32 and table driven versions of CRC8 and CRC16.

-Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

About an hour after I uploaded it, I uploaded a new version with some bug fixes. I just changed a few things right before I uploaded it, which introduced a few preprocessor errors. I have since fixed that, and the uploaded version has been tested out on an AtMega103 in silicon and it works fine.

-Colin