Help with CRC checksums


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    This should do it for you.
    http://www.picbasic.co.uk/forum/show...8599#post78599

    Just zero the CRC variable first, then feed the subroutine 1 byte at a time.
    Your data is "8e f6 a2 b4 3a 6f 00 01" in hex, and the CRC result is $C344.

    I've tested it here, and it matches your CRC.

    FYI: It is a CRC (Cyclic Redundancy Check). A Checksum is something entirely different.
    DT

  2. #2
    Join Date
    Nov 2006
    Posts
    70


    Did you find this post helpful? Yes | No

    Default Thanks Darrel

    Thank you Darrel. I still cannot figure out the CRC process, but I had no trouble getting your subroutine to work. So I am just going to purloin what you have written and stop thinking about it for now. On to more pressing issues (like getting the PIC to read in the data--not as easy as I thought it would be).

    Cheers,
    E

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts