I am using the ICD-U40 with a PIC16F628 design. The ICD checks out when I 'Test ICD' and the target checks out when I 'Test Target', but programming does not work correctly. The .hex file is uploaded to the PIC but there are lots of Verify errors. By experimentation I found that the PGM pin is the culprit. I am using that pin as an input (with a 3K pull-up) and when it is connected to my circuit, the PIC won't program.
Why is this happening, and is there anyway to use this PGM pin??
Dave
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Nov 27, 2006 1:56 pm
Quote:
By experimentation I found that the PGM pin is the culprit
In additon to that, you need to pull down the PGM pin to GND during
programming. You can use a 100 ohm resistor to ground for this.
This will override the 3K pullup. Then remove the 100 ohm resistor
after programming is done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum