On Mon, Dec 14, 1998 at 02:03:55PM -0800, Michael J. Ghormley wrote: > If I have inadvertatly allowed an INT on PortB or something, at least it has a > minimal effect. I have always thought that this is a good idea. IMHO I think it's not such a good idea. What I would rather do is place some code at the interrupt vector location that did something noticeable then hung, e.g. sit in a tight loop toggling an output pin. During development this would alert you to what has happened. In the field, with the watchdog timer on, this would lead to a watchdog reset. Basically the philosophy is that there is no such thing as a small error in an embedded system - if anything unexpected happens you either want to know about it RIGHT NOW! or recover in a conservative manner. Trying to ignore the problem and hope it's not symptomatic of something more serious will lead to subtly incorrect behaviour that is hard to track down. Fail-safe is not the same as fail-silently. Regards, Clyde -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3355 8333 +61 7 3355 8334 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.