I am using microchip's programmer PICKIT2 to program PIC16F628A but it fails the verification process. And I when blank check the microcontoller, it says it is not blank. Then I read the Program memory and EEPROM and it returns all 0000 instead of 3FFF. I have used the same programmer for PIC16F690 before and it works. Could it be that the microcontroller is dead when I bought it? When I read the manual it says if the Program memory is 0000 it means the microcontroller is code protected but this is a brand new microcontroller I bought from FARNELL. Have anyone experience this before? If you have probably you can shed some light on this issue. Thank you so much in advance.
I have connected the following PINs for Programming
MCLR/VPP
VDD
VSS
ICSPDAT
ICSPCLK
I have connected the following PINs for Programming
MCLR/VPP
VDD
VSS
ICSPDAT
ICSPCLK