Quote Originally Posted by sinoteq View Post
Your problem is a different one I think. Because you use INTRC_OSC and MCLR_OFF the internal Oscilator is used in the PIC and when you try to program the chip it has already started exectution of the internal Flash program you put there the first time. Your programmer can not access the chip in this case.

Please look at http://www.picbasic.co.uk/forum/showthread.php?t=5465
or http://www.picbasic.co.uk/forum/showthread.php?t=7616

and you see some more info about this problems.
Hey...Good Point!
I especially like post #12 of the 2nd link...
Seems like I end up suggesting the same thing over and over again...