[SOLVED] Problamatic ICD3 programming

(MPLAB PM3, PICSTART Plus, PICkit 2, PICkit 3) Topics covered in this conference relate to all programmers manufactured and distributed by Microchip.

Re: Problamatic ICD3 programming

Postby Tom Maier » Tue Jul 29, 2014 6:13 pm

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.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: Problamatic ICD3 programming

Postby alanmi » Wed Jul 30, 2014 12:29 pm

Soldered 10k resistors to Vcc on PGD and PGC lines and so far no problem.

Regards
alanmi
 
Posts: 8
Joined: Tue Jul 29, 2014 1:22 pm
PIC experience: Professional 5+ years with MCHP products

Re: [SOLVED] Problamatic ICD3 programming

Postby Tom Maier » Wed Jul 30, 2014 12:45 pm

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.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: [SOLVED] Problamatic ICD3 programming

Postby ric » Wed Jul 30, 2014 1:19 pm

10k pullups fixed it?
Isn't that just what they tell you NOT to do?
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: [SOLVED] Problamatic ICD3 programming

Postby alanmi » Wed Jul 30, 2014 2:30 pm

Was an :idea: seems to work.
Agree on that you should not do it, but hell it solves my problem. :roll:
alanmi
 
Posts: 8
Joined: Tue Jul 29, 2014 1:22 pm
PIC experience: Professional 5+ years with MCHP products

Re: [SOLVED] Problamatic ICD3 programming

Postby Tom Maier » Wed Jul 30, 2014 3:14 pm

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".
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: [SOLVED] Problamatic ICD3 programming

Postby drh » Wed Jul 30, 2014 3:21 pm

"Fiddle with it till it works" hasn't worked with their forum. Yet.
User avatar
drh
Verified identity
 
Posts: 61
Joined: Tue May 27, 2014 3:31 pm
Location: Hemet, Calif.
PIC experience: Professional 5+ years with MCHP products

Re: [SOLVED] Problamatic ICD3 programming

Postby Joseph Watson » Thu Jul 31, 2014 5:50 pm

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.
NCR once refused to hire me because I was too short. I'm still waiting on my growth spurt.
User avatar
Joseph Watson
 
Posts: 49
Joined: Sat May 31, 2014 8:06 pm
Location: Ohio, USA
PIC experience: Experienced Hobbyist

Previous

Return to Programmers

Who is online

Users browsing this forum: No registered users and 3 guests

cron