Issue with programming PIC12F629

Thread Starter

aaroncf2008

Joined Aug 4, 2022
12
My Setup:
Pickit 3
PIC12F629
Legion 5i Tower
MPLAB IPE v6.00 ( Software )

Attached below is a picture of my physical setup!

I have tried almost every combination of erasing, verifying and trying different chips etc and I still get these same errors.
"Target Device ID (0x3fe0) is an Invalid Device ID. Please check your connections to the Target Device."
"Target has invalid calibration data (0x3f)."
Either of these tends to result in a "Failed to program / verify device."
Im not sure what to do and I have read probably 30 threads and I'm still lost.

Thank you!
 

Attachments

Last edited:

ErnieM

Joined Apr 24, 2011
8,328
Nice picture. Please take another of the back side showing the wires, and include a schematic of the 5 connection between PICKit and PIC.

"3F" is all ones, implying there is no communication happening. For me, this means I've once again swapped data and clock. I do that at about 50/50 correctly, even when laying out PCBs.
 

Thread Starter

aaroncf2008

Joined Aug 4, 2022
12
Nice picture. Please take another of the back side showing the wires, and include a schematic of the 5 connection between PICKit and PIC.

"3F" is all ones, implying there is no communication happening. For me, this means I've once again swapped data and clock. I do that at about 50/50 correctly, even when laying out PCBs.
thank you so much for your detailed response, it means alot!
im not too sure what you meant by schematic but I have a couple pictures here
 

Attachments

ericgibbs

Joined Jan 29, 2010
16,002
hi aaron,
It looks like you have the 12F in the wrong hole position of the programmer,
Pin #30/11 is the correct postion

EIMG_1031.jpg
IMG_1030.jpg
E
 

Thread Starter

aaroncf2008

Joined Aug 4, 2022
12
th
hi aaron,
It looks like you have the 12F in the wrong hole position of the programmer,
Pin #30/11 is the correct postion

EView attachment 273104
View attachment 273105
E
thank you for the wonderful response
still receiving this error
"

Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.09
Firmware type..............Midrange
Programmer to target power is enabled - VDD = 5.000000 volts.
Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.
Target has invalid calibration data (0x00)."

attatched below is my modified chip placement, is this correct?
View attachment 273110
 
Last edited by a moderator:

Thread Starter

aaroncf2008

Joined Aug 4, 2022
12
this is my current setup now, also when trying to program I get "Too much current has been drawn on VDD. Please disconnect your circuit, check the CLK and DATA lines for shorts and then reconnect." and my board is kind of hot. I have another chip, hoping this one isn't fried.
 

Attachments

ericgibbs

Joined Jan 29, 2010
16,002
hi aaran,
Please post the instruction document that was supplied with the programmer.

It is just possible, due to being initially incorrectly fitted, the 12F may have failed.:(

E

EDIT<
You have put the 12F in the Wrong holes.!!!!

EG57_ 09.pngEG57_ 09a.png
 
Last edited:

Thread Starter

aaroncf2008

Joined Aug 4, 2022
12
hi aaran,
Please post the instruction document that was supplied with the programmer.

It is just possible, due to being initially incorrectly fitted, the 12F may have failed.:(

E

EDIT<
You have put the 12F in the Wrong holes.!!!!

View attachment 273113
where should i put it? i counted 9 from the side and it came up to that one, should I line it up with 30/11?
 
Top