At 01:29 PM 2/10/2006 -0500, you wrote: >My best guess is power issues. BOR is set in the fuse word but if there >is a point where funny things can start happening before reset - >particularly if too much power is being sucked out the DIO ports drawing >down the voltage it could explain things. > >I am learning more as I read the source. Looks like it isn't EEPROM >after all. The program reads the EEPROM values only at boot and writes >it only when commanded. Otherwise it uses a RAM copy of the home >positions. Gack! Inexperienced programmer-- no defensive programming used. So the RAM is probably getting corrupted by electrical noise or something of that ilk. It's best to fix the noise and then use the defensive programming as security, but that will mean hardware design changes as well as tweaking the firmware. But I'd recommend it. >Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com ->> Inexpensive test equipment & parts http://search.ebay.com/_W0QQsassZspeff -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist