Dear Forum Members,
I'd need your advice with an issue with my PICkit3. For some reason, my PICkit3 cannot program any PIC. For example, when I'm trying to program a PIC18F1320, then from MPLABX, it gives me the following error message:
"Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.43.35
Firmware type..............PIC18F
Target voltage detected
Target Device ID (0xffe0) is an Invalid Device ID. Please check your connections to the Target Device."
For any other PIC I have tried so far, it does the same, i.e. reads all 1's for the Device ID and then it fails to program the chip. Here's some additional info:
- Connections to the target device are certainly correct
- The chips I'm trying to program are not faulty, as I could program them with another programmer (not a PICkit, however, but a cheap ZIF-socket plug-in programmer)
- The PICkit seems to work otherwise, i.e its LEDs flash, MPLAB recognizes it and reads its serial number, etc.
At this point I'm pretty sure that the issue is with my PICkit3. Do you know any way I could possibly fix this? Could it be some driver/firmware issue I could solve without replacing the unit or do you think I have to buy a new one?
One thing that could have casued the problem is that the supply voltage in my target circuit rose to 20 V from the regular 5 V for a couple of seconds while the PICkit was connected. However, I would expect such a programmer to have overvoltage protection on its inputs, so I'm not sure if this could really have killed it.
If you have any advice, please share it with me.
Thank you,
Daniel