"Connection Failed." with MPLAB X 2.30, PICkit 3, PIC12F675
Hi all :-)
I'm having a consistent problem programming the PIC12F675 in my board. My code assembles, but will not download to the target. I get the following messages:
Connecting to MPLAB PICkit 3...
Firmware Suite Version.....01.35.16
PICkit 3 is trying to supply 5.000000 volts from the USB port, but the target VDD is measured to be 4.750000 volts. This could be due to the USB port power capabilities or the target circuitry affecting the measured VDD.
The target circuit may require more power than the debug tool can provide. An external power supply might be necessary.
I have a genuine Microchip PICkit 3, labelled Assy# 10-00424-R7 Serial# BUR140361602. That serial number appears in the Dashboard pane in the Debug Tool section. I've tried unplugging the USB connection, waiting ten seconds and replugging, and that doesn't help. (It used to fix problems in the past.)
I am using the PICkit 3 to supply power to my target board. I've assembled one board with only the PIC, a 33k pullup on -MCLR/VPP, a 0.1 µF decoupler, and the programming connector (6-pin 0.1" header). There is no load on VDD apart from the PIC. VDD is about 4.75V, as reported in the message. I've checked that the programming connector has continuity, the pins are connected to the right places, and pin 1 matches pin 1 on the PICkit 3.
I've tried two PICs - markings as follows:
E/P e3 4RV (the "e3" is in a circle)
M 0944 (the "M" is the Microchip logo)
E/P e3 4PC (the "e3" is in a circle)
M 1026 (the "M" is the Microchip logo)
I'm relatively new to the Microchip development system and the PICkit 3 and this is the first time I've used it in earnest, though I am an experienced embedded systems developer and electronics engineer.
I'm running Windows 7 SP1 on an Asus P550LA laptop. The MPLAB X About box says:
Product Version: MPLAB X IDE v2.30
Java: 1.7.0_67; Java HotSpot(TM) 64-Bit Server VM 24.65-b04
System: Windows 7 version 6.1 running on amd64; Cp1252; en_ZA (mplab) (That's a lie about the CPU being AMD; it's Intel.)
Does anyone have any suggestions? Thanks in advance!