mmm, be sure of the voltage of the power supply first. Be sure you have the right one. Test MCLR when programming too. It's maybe only caused by a *close to be dead* power supply.