Is the software set up to erase before programming?
And what are you doing with MCLR?