Ok. I know the issue.

Are you using 4K7 on MCLR?
If so, change it to 10K first.

Then, as mister_e repeated, change BOD_OFF to BOD_ON. This should take care of your problem.


(fingers crossed).