Also, LVP being enabled in the fuses has bitten me more than once. You=20 really don't need LVP if you're using a regular 'high voltage' programmer. -forrest On 6/2/2011 12:10 PM, Dave wrote: > Stop overclocking, and then retest. > > Henrique Ribeiro de Oliveira wrote: > >> Hello >> >> I'm using the 18f252 to receive step info from my computer and create a >> stepper-motor speed profile. >> >> There is a MAX232 on a external board for the serial communication (seri= al >> is grounded to the computer) >> On the PIC board there is only few components to run the microcontroler = and >> connectors to send the command >> Using a switching power supply with 24V output and one linear regulator = to >> make 5V. >> >> Right now I'm testing this problem with only the PIC connected to my >> computer via serial (No motor/driver hooked up), when I get very close t= o >> the microcontroler with my hand it start resetting very fast (spam on se= rial >> communication) >> Already tried changing power supply (used a battery, computer power supp= ly >> and a simple DC wall adapter) >> >> >> >> One more thing, I'm using 12mhz crystal and PLL4x (overclocked to 48mh= z) >> going to buy 10mhz crystal today to check if the clock is the problem >> >> >> Thanks in advance and sorry for any english errors. >> --=20 >> http://www.piclist.com PIC/SX FAQ& list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .