> I am facing problem of program execution, I think the problem is oscillator > because I tried 4Mhz xtal with 33 pf cap it work fine, but with 20 Mhz xtal it > works but randomly. At 20 MHz make sure you are using HS oscillator mode, not XT. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics