On Wednesday 28 September 2005 07:23 am, Gerhard Fiedler scribbled: > > I often triplicate critical data, but I like to separate it into > > different pages, and avoid certain locations. BTW, avoid which locations? And why? > I guess that's what I would do. Maybe even make sure you use different > offsets (by setting the start addresses of the data arrays appropriately), > but not sure this makes for much of a difference. Currently, I have it setup as group 1 goes from 0 to n-1, group 2 from n to 2n-1, and group 3 from 2n to 3n-1. Each group is then divided into sets of 4 bytes for each value. > Rather than checking integrity on read you could have a regular integrity > checking routine that runs in the background when nothing else is going on. > This way you don't burden the process with that (if read time is a > concern). Actually, I have lots of processing cycles on readback, which occurs only on power-up, to locate the latest valid data and continue from there. Reducing cycles during write is key here. Cheers, -Neil. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist