This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dallas Ibutton CRC check in C or C

Does anyone have developed the code to check the CRC of an ibutton connected via one-wire to a quadi-directional port ?

I'm studing how to develop it, there's someone who want speak about ?

Parents
  • i tried that but it doesnt work ... most likely you have a (hardware?) error that makes the CRC say 'wrong'.

    so i think i can get a better one would that be one that did not detect the CRC error?

    Have you - this is required - verified
    1) that the CRC routine pick the right bytes in memory?
    2) that these bytes will result in the same result as the Dallas routine
    3) for test here is a Dallas ID string with good CRC (in hex) 01 fa 52 58 10 00 00 10

    Erik

Reply
  • i tried that but it doesnt work ... most likely you have a (hardware?) error that makes the CRC say 'wrong'.

    so i think i can get a better one would that be one that did not detect the CRC error?

    Have you - this is required - verified
    1) that the CRC routine pick the right bytes in memory?
    2) that these bytes will result in the same result as the Dallas routine
    3) for test here is a Dallas ID string with good CRC (in hex) 01 fa 52 58 10 00 00 10

    Erik

Children