>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 ! We use PICs in automotive applications and there is no problems at all. Check your power supply and your board layout. Best regards Tsvetan --- PCB prototypes for $26 at http://run.to/pcb (http://www.olimex.com/pcb) Development boards for PIC, AVR and MSP430 (http://www.olimex.com/dev) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads