Hey Guys, i know this might be an old question in this forum but i just can't find any solutions to fix the problem. Here is the question:
First, I got my code built/make in MPLAB (IDE v8.76) with no errors, and I used the "MPLAB Compatible Mini USB PIC Programmer" from Cana kit to program PIC16F628A. When I first launch the PICKIT2 programmer in MPLAB, there was no problem at all (See Below):
"Found PICkit 2 - Operating System Version 2.32.0
PICkit 2 Unit ID = CANAKIT.COM
Target power not detected - Powering from PICkit 2 ( 5.00V)
PIC16F628A found (Rev 0x8)
PICkit 2 Ready"
However...When I tried to program the code into the chip..there was an error (See Below):
Programming Target (9/14/2011 9:18:58 AM)
PIC16F628A found (Rev 0x8)
Erasing Target
Programming Program Memory (0x0 - 0xA)
Programming Program Memory (0x19 - 0x7FF)
Verifying Program Memory (0x0 - 0xA)
PK2Error0027: Failed verify (Address = 0x0 - Expected Value 0x1068 - Value Read 0x3FFF)
PICkit 2 Ready
There is an error for Failed verify...and I'm not sure what I can do to fix this problem since I'm using the Cana kit programmer.
Another very interesting problem I found out is that after the failed verify error showed up and I opened up the standalone PICkit 2 v2.61 software and tried read the data from the chip...it shows that there was an Data Protect.
or If I use the standalone PICkit 2 v2.61 software to upload the HEX file into the Chip...it seems like the code was being uploaded to the chip with no errors, but when I took the chip out of the Cana kit and test it on breadboard, the chip was not doing what it suppose to.
I really need HELP guys...Thanks so MUCH!
Kevin
First, I got my code built/make in MPLAB (IDE v8.76) with no errors, and I used the "MPLAB Compatible Mini USB PIC Programmer" from Cana kit to program PIC16F628A. When I first launch the PICKIT2 programmer in MPLAB, there was no problem at all (See Below):
"Found PICkit 2 - Operating System Version 2.32.0
PICkit 2 Unit ID = CANAKIT.COM
Target power not detected - Powering from PICkit 2 ( 5.00V)
PIC16F628A found (Rev 0x8)
PICkit 2 Ready"
However...When I tried to program the code into the chip..there was an error (See Below):
Programming Target (9/14/2011 9:18:58 AM)
PIC16F628A found (Rev 0x8)
Erasing Target
Programming Program Memory (0x0 - 0xA)
Programming Program Memory (0x19 - 0x7FF)
Verifying Program Memory (0x0 - 0xA)
PK2Error0027: Failed verify (Address = 0x0 - Expected Value 0x1068 - Value Read 0x3FFF)
PICkit 2 Ready
There is an error for Failed verify...and I'm not sure what I can do to fix this problem since I'm using the Cana kit programmer.
Another very interesting problem I found out is that after the failed verify error showed up and I opened up the standalone PICkit 2 v2.61 software and tried read the data from the chip...it shows that there was an Data Protect.
or If I use the standalone PICkit 2 v2.61 software to upload the HEX file into the Chip...it seems like the code was being uploaded to the chip with no errors, but when I took the chip out of the Cana kit and test it on breadboard, the chip was not doing what it suppose to.
I really need HELP guys...Thanks so MUCH!
Kevin