Quote Originally Posted by Bosse View Post
Now it is running nice - still a warning from PicKit2 - Configuration 23EC 0700
I think, but I'm not sure...
The datasheet says that the upper 2 bits of the CONFIG1 register should read as 1's (even though they're not used), and the same thing for most of CONFIG2.
This leads me to believe that your config word should be $E3ECFFFF when read back off the chip.

Have you got the latest versions of MPLAB, PICKIT2 firmware and software loaded up?