When ever i try and program the 16f628a in mplab, i get this error
Programming Target...
...Validating configuration fields
ICDWarn0033: MPLAB ICD 2 does not support programming this device if both the internal oscillator and internal MCLR are selected. You may continue programming, but you are encouraged to cancel, reconfigure your device, and try again.
...Erasing Part
...Programming Program Memory (0x0 - 0x9F)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x3007, Val Read = 0x3FFF)
ICD0275: Programming failed.
MPLAB ICD 2 Ready
and im following the circuit form the icd 2 guide,
ive got 5 wires coming from the icd 2, pgd,pgd,vpp,+ and ground, and their all connected the the correct legs on the pic, and ive also got the wires connecting the chip + and ground to a 5volt supply, because the icd is set so that pic has its own power, and ive a resister pulling the vpp pin high.
does any anyone else program this way, and have any advice?
Programming Target...
...Validating configuration fields
ICDWarn0033: MPLAB ICD 2 does not support programming this device if both the internal oscillator and internal MCLR are selected. You may continue programming, but you are encouraged to cancel, reconfigure your device, and try again.
...Erasing Part
...Programming Program Memory (0x0 - 0x9F)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x3007, Val Read = 0x3FFF)
ICD0275: Programming failed.
MPLAB ICD 2 Ready
and im following the circuit form the icd 2 guide,
ive got 5 wires coming from the icd 2, pgd,pgd,vpp,+ and ground, and their all connected the the correct legs on the pic, and ive also got the wires connecting the chip + and ground to a 5volt supply, because the icd is set so that pic has its own power, and ive a resister pulling the vpp pin high.
does any anyone else program this way, and have any advice?