Alan B. Pearce wrote: > > Roman > I cannot remember if you said there was more than one packet, but what you could > do is use the two bits in each packet combined together to make a hamming code > across a number of packets. If you had 10 packets in the message this would give > you 20 bits across the message. > > The number of bits required does not grow as fast as the number of bits you are > protecting, as in by adding one bit of protection you can protect twice as many > bits. > > Doing this you may be able to get to the point where you can detect (and maybe > correct) 1 bit errors across the message. That's very clever! I like that. It's going to take a bit of thinking, my data is stored in external eeprom and can only load it to ram in 64byte chunks max, but I may be able to do some pre-processing. Thanks!:o) -Roman -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads