EmbeddedRelated.com
Forums

CRC routine for 8051

Started by Ed March 27, 2009
I need an encode/decode routine for CRC-CCITT Kermit for the x51 micro
please.
Thanks


On Fri, 27 Mar 2009 12:09:41 -0500, "Ed" <ed@ed.com> wrote:

>I need an encode/decode routine for CRC-CCITT Kermit for the x51 micro >please. >Thanks
One presumes that you've already looked at the many available pages of source code for MCS51-family CCITT CRCs that a simple Google search finds. Is there a specific problem that you're having? -- Rich Webb Norfolk, VA
Ed wrote:
> I need an encode/decode routine for CRC-CCITT Kermit for the x51 micro > please. > Thanks > >
Hi Ed Here you have an implementation: Embedded Small Table CRC16 Routines: http://www.digitalnemesis.com/info/codesamples/embeddedcrc16/ - PIC Microcontroller Bit Math Method CRC: http://www.piclist.com/techref/microchip/crcs.htm CRC on a PIC: http://www.dattalo.com/technical/software/pic/crc.php - Theory: http://en.wikipedia.org/wiki/Cyclic_redundancy_check /Glenn
"Ed" <ed@ed.com> wrote in message 
news:Yf-dnRpzpNLJlVDUnZ2dnUVZ_qzinZ2d@giganews.com...
>I need an encode/decode routine for CRC-CCITT Kermit for the x51 micro > please. > Thanks > >
http://www.tty1.net/pycrc/index_en.html is a good place to start.