A friend of mine is working on a project and is trying to get ICSP connectivity with his boards with no success. I tried myself and simply cannot understand what could be wrong in such a simple board (it's a mounted PCB, not a prototype). Here are the steps i tried:
1) Test my PicKit2 with a 16F886 demo board - works fine
2) Tested continuity of the 5 ICSP pins going to the correct pins on the TQFP PIC16F884, seems fine
3) Connected the PicKit2 to the 5 pin 0.1" male connector directly [as the connector is VPP, VDD, GND, DAT, CLK] - get device id 0 (verified that PicKit2 will source the 5V)
4) I used the PicKit2 diagnostic tools to see that VDD (4.5V), MCLR (12V) and ICSP data and clock are sent correctly from the PicKit2 with a DVM - they're fine
5) Tried 3 other PCBs he gave me with the same basic layout - same
6) I fed a regulated 5V directly to the device, checking they reach both VDD pins and tried with a RealICE - target voltage detected but still device id 0
7) Tried again with PicKit2 - again, target voltage detected but device id is 0
I'm feeling really dumb, but i have no idea what can be the problem. The leads seem to be short (they go through a via), nothing seems to connected to the data/clock pins... Anyone have any direction? See attached schematic clipping.
Thanks