I have a PICkit 2 Microcontroller Programmer, but it is not exactly the one that microchip is selling as PICkit2, I bought it because there is nothing else in my area, anyway, it has USB that connects to computer and send/receive power and data, it is something like this link and software which I use is this link - microchip.com.ru/images/PICkit2_3.JPG - , and the software detect hardware and show exactly my chip ID.
I have tried to program PIC12F629 with the programmer, but it can't write anything and it gives me this error:
"Programming failed at Program Memory address 0x[first address which is not zero]".look like this link - i62.tinypic.com/2jbl55z.jpg - .
I googled it a lot and I have checked with another PIC12F626 and different kinds of Operating system but the same Error appeared. I also tried use MPLAB IDE software but when I try to write the program to micro-controller, it gave me this error :
"The programmer could not be started: Failed to program the target device".
and
" ....
Verifying Program Memory (0x0 - 0x5)
PK2Error0027: Failed verify (Address = 0x0 - Expected Value 0x1683 - Value Read 0x0)
PK2Error0027: Failed verify (Address = 0x0 - Expected Value 0x1683 - Value Read 0x0)".
I also tried to set MCLRE flag off and on software still but no luck.
I should mention my program compile without any error and the IC is supported by my pickit2 board and the company support lines is too busy and the company is too far from me.
Beside of hardware malfunction, any idea why it doesn't work?