Hi,
CONFIG nPWRTEN = OFF
CONFIG nLPBOR = OFF

I don't the n's should be there. I don't have the config files on this computer but verify that 285 is indeed a valid setting for the brownout, message says it's not....

Are you compiling for the correct chip?

/Henrik.