PDA

View Full Version : iButton CRC-8 Calculate



Pesa
- 3rd May 2005, 08:49
Hi all,

I make a little iButton project. I need to calculate a CRC-8 checksum in PBP but need a little assistance. I am not understanding an assembly routine that would seem to do what I need ( see http://www.dattalo.com/technical/software/pic/crc.php ).
I am hoping someone can help me how can write CRC-8 routine in PBP.
The DALLAS polynomial is X^8+X^5+X^4+1

Thanks,
Pesa

Tom Estes
- 3rd May 2005, 21:52
I have just posted 3 PBP routines to calculate Dallas 8bit CRC in the Code Examples area. You may find something to help you there.

Pesa
- 4th May 2005, 09:05
Hi,
All code workable.
Many thanks!
Pesa