try using with the configuration bits as watchdog timer off and brown out detect off, power up timer on and oscillator as XT