Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

pic16f684 with pickit2 error

Status
Not open for further replies.

loonster

New Member
i keep getting this error when try to connect my pickit 2

PKWarn0003: Unexpected device ID: Please verify that a PIC16F684 is correctly installed in the application. (Expected ID = 0x1080, ID Read = 0x3FE0)

does any1 know the solution for it? i'm very sure my MPLAB is set to pic16f684 but same error.
 
You more then likely have PGD and PGC crossed, And you set the chip in mplab hit program and it came back and said it's the wrong chip.
 
Do you have any components attached to RA0/AN0/C1IN+/ICSPDAT/ULPWU (Pin 13) or RA1/AN1/C1IN-/VREF/ICSPCLK (Pin 12)?

If so, you may wish to refer to section 12.10 In-Circuit Serial Programming of the PIC16F684 datasheet, https://www.electro-tech-online.com/custompdfs/2012/05/41202D.pdf , and make sure that they aren't disrupting the programming lines.... or alternatively, use pin headers + jumpers between the programming lines & the other components.

Regards.
 
Last edited:
yes, pic kit 2 suppose to support pic16f family, i finish programmed my pic16f877a with any problem at all. i'm using bread board for my circuit if that what u r asking.

i only use 2, 4 and 11 for input and 9 & 10 for output. never 12 n 11
 
Did you check the wiring the error you post 9 times out of ten is because you have the chip hooked wrong the DATA AND CLOCK are backward.
And you set the programmer for the chip and are not using the auto detect.

And it can also be you left MCLR unhooked.
 
Last edited:
I had this happen before a few times the dang wire was broke in my molex connector but here you a dead sure setup that works out the box
So have a look.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top