melc
Full Member level 6
Hi there,
This is the right solution for a closed thread named "Can't Reprogram PIC16F628A with Pickit2".
The PICKIT2 (or PICKIT3) is reading the ID of the PIC16F628 which is located at the address 2006h. The correct value you should see at address 2006h is 07C0h. If by mistake that value was deleted and replaced with FFFFh, PicKIT2 will not be able to write again the PIC16F628 because it see it as invalid device.
The workaround I did was writing the ID address using a classic ICProg software + parallel HW programmer.
After that, PiCKit read the ID and see the PIC16F628 as a valid device.
This is happening if trying to program very old PICs with newer programmers....
This is the right solution for a closed thread named "Can't Reprogram PIC16F628A with Pickit2".
The PICKIT2 (or PICKIT3) is reading the ID of the PIC16F628 which is located at the address 2006h. The correct value you should see at address 2006h is 07C0h. If by mistake that value was deleted and replaced with FFFFh, PicKIT2 will not be able to write again the PIC16F628 because it see it as invalid device.
The workaround I did was writing the ID address using a classic ICProg software + parallel HW programmer.
After that, PiCKit read the ID and see the PIC16F628 as a valid device.
This is happening if trying to program very old PICs with newer programmers....