Spehro asks: >Are you sure you're not getting the table writes screwed up by similar >operations during interrupts (or vice versa if you are working *inside* >an interrupt). It's not entirely obvious what you need to do to save >and restore in an interrupt-safe manner, as the table reads are not >atomic. I can dig up the info if that could be it. I'd love that info if it's not too much trouble. Something that is known to work would be very useful right now ... I do the table writes from inside a task, and never from inside any interrupts. I have not gone to any trouble to disable interrupts while the table write is in progress. -- ______________________________________ Andrew E. Kalman, Ph.D. aek@pumpkininc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.