Embedded CRC algorithm
-
Hi I'm look for the shortest and fastest possible CRC algorithm to use for embedded programming...anyone stumbled across any recently? BTW, try this. tx
There is more than one type of CRC algorithm, but here[^] you'll find a link to the CRC32 code used in ZLib. It is copyrighted, but whether that means just the code or the algorithm as well I'm not sure. Well, the quiz didn't mention anything about the 3 people communicating with each other, so I thought of using hand-signals pass on what each person saw the others wearing. Phil
-
Hi I'm look for the shortest and fastest possible CRC algorithm to use for embedded programming...anyone stumbled across any recently? BTW, try this. tx
You could try the table driven algorithm documented here[^]. I've used it for checksumming comms packets in an embedded application and the overhead was negligable. To verify my implementation, I ran it back to back with the Boost[^] CRC 32 implementation (on my PC, not in the target, that is). HTH Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'