Hello, general hobbyist and messer-abouter here. I'm having some trouble programming a PIC16F87 using my PIckit 3.
I have set up the circuit in the attachment on my breadboard.
The problem I have is although the device programs fine. Unless I completely disconnect the Pickit from the PCs USB port and reset the micro, it will not run correctly. As long as I do those things, the micro runs the code just fine.
I've tried upgrading from the MPLABX3.40 I was on to 3.61 and upgraded the XC8 compiler. I think the Pickit itself does its own automatic firmware but I'm not sure about that.
Any ideas at this point would be greatly appreciated. It would be nice to keep it in circuit and use it for step debugging etc.
Thanks,
p.s. I did have the PGM(LVP) pin connected but it seems its not needed, I've tried it both ways and it doesn 't seem to make a difference.
EDIT: I have tried adding a 0.1uF capacitor between R1 & D1 to ground after re-reading the ICSP application note, it didn't help though.