i've got an automotive project based on a 16f877 that works fine in 99% of applications, but when i get it in a car with a magneto ignition, my PIC is freaking out .. resets / locks / jumps to random locations in code. Anybody have tips on what I should be doing to 'harden' the PIC against this kind of noise ? the only pins i haven't done anything with are RB6/RB7 which i need open for ICSP. All other unused pins are grounded via 4.7k resistor. just general tips would be great .. thanks ! dld -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads