Page 2 of 2

Re: Problamatic ICD3 programming

PostPosted: Tue Jul 29, 2014 6:13 pm
by Tom Maier
Oh yeah... another bit of info...

When you are way out of whack, you get target ID = 0

When you get closer to solving it, you will get a non-zero ID, but it is the wrong ID. But at least you know you did something that brings you closer. The transmission is healthier, but still a little mangled.

Re: Problamatic ICD3 programming

PostPosted: Wed Jul 30, 2014 12:29 pm
by alanmi
Soldered 10k resistors to Vcc on PGD and PGC lines and so far no problem.

Regards

Re: [SOLVED] Problamatic ICD3 programming

PostPosted: Wed Jul 30, 2014 12:45 pm
by Tom Maier
There seems to be no universal fix for this issue. Microchip needs to look into this because it is driving some people in loops. It's an electrical issue.

Re: [SOLVED] Problamatic ICD3 programming

PostPosted: Wed Jul 30, 2014 1:19 pm
by ric
10k pullups fixed it?
Isn't that just what they tell you NOT to do?

Re: [SOLVED] Problamatic ICD3 programming

PostPosted: Wed Jul 30, 2014 2:30 pm
by alanmi
Was an :idea: seems to work.
Agree on that you should not do it, but hell it solves my problem. :roll:

Re: [SOLVED] Problamatic ICD3 programming

PostPosted: Wed Jul 30, 2014 3:14 pm
by Tom Maier
What I've seen is that you just keep fiddlling with it until it works. Like I mentioned, the pic32 drove me batty. It seems to be the newer chips that are more likely to have this issue.

Thanks for posting your solution. Might come in handy if I have another battle with a chip.

Maybe microchip will publish an app note about this that says "fiddle with it until it works".

Re: [SOLVED] Problamatic ICD3 programming

PostPosted: Wed Jul 30, 2014 3:21 pm
by drh
"Fiddle with it till it works" hasn't worked with their forum. Yet.

Re: [SOLVED] Problamatic ICD3 programming

PostPosted: Thu Jul 31, 2014 5:50 pm
by Joseph Watson
At one time, I was having a lot of problems with ICSP programming of PIC16F628A chips. I had tried several different types of programmer circuits without resolution. Eventually, I found the solution to my problems when I found this page:http://www.embedinc.com/picprg/icsp.htm. In particular, the topic near the bottom of the page entitled PGD to PGC Crosstalk was the relevant portion. Adding the capacitors and resistors as described took care of the problem. Going back and looking at that page again just now, I see that this issue is said to be especially likely on dsPICs which is what is involved here.