>What I've noticed is this: whether or not the chip runs its program >seems highly dependent on a "kick start" -- just sitting on the >bench, it wasn't doing anything -- then suddenly, when the UV >eraser's lamp switch kicked off, bang -- it started sending RS-232 >chars with nicely-spaced bit times of 416us. Could you modify the code to run with wdt on ? Set wdt on and sprinkle clrwdts in the loop (preferrably in one place only). Is it possible that the MCLR was electrically overstressed in the past ? Peter -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu