Hello all, I found the problem!!!!!! When I push the rj12 connector into the ICD2 and hold it all is ok. When there is no pressure against the jack nothing works! It seems the MCLR line wasn't making contact which caused it to read 5v. I assumed any voltage is good voltage and thought it was ok. The contact pins in the female jack in the ICD aren't sprung out very far compared with other connectors I have. Oh well, it's always something simple isn't it. Thanks alot for all the help. Thanks, Pete -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf Of peteHVAC Sent: Wednesday, August 09, 2006 7:36 PM To: Microcontroller discussion list - Public. Subject: [PIC] ICD2 pinout help Hello, I'm back at it. I tried the capacitor and all Vss Vdd pins are hooked up. ------Here is what I have now--------- Mplab 7.41 on XP pro machine no other USB stuff plugged in. select 18f452 under configure/select device then select programmer = ICD2 18F452 on breadboard nothing else. PGD and PGC wires are not close together ICD2 wires connected to PIC and powering it. It did work correctly once 10k resistor from MCLR to VDD 10k resistor from PGM to VSS .01uf ceramic cap between VSS and VDD ------What I read------------------- 4.61v at VDD and MCLR using DMM data at PGD and PGC using scope VDD increases 1v when scope ground is connected ------What I've done---------------- removed all traces of Mplab including ICD2 stuff according to their preinstaller/updater program reinstalled and retried. The preinstaller/updater utility indicates all ok. tried swapping PGD PGC wires moved everything to Windows 200 machine, all fresh, correctly installed ICD drivers. this is where it programmed and found the chip correctly before it shat the bed again. And what do I get for all of this..... ICDWarn0020: Invalid target device id (expected=0x21, read=0x0) Thank you very much for all the help but I think I'll dump this in Microchips lap. I really think it's something I'm doing or not doing but I can't see it. What stinks is that my new pc doesn't have a serial port and the serial to USB converters I've tried didn't work. So my trusty Picstart plus just sits there. Thanks, Pete -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf Of Bob Axtell Sent: Wednesday, August 09, 2006 4:39 PM To: Microcontroller discussion list - Public. Subject: Re: [PIC] ICD2 pinout help Nicola Perotto wrote: > And there is a capacitor (100 nF) between vdd and vss pins??? > Nic > I always do so, yes. You might be able to drop it to 10-20nF. --Bob > WH Tan wrote: > >> Hello Pete, >> >> Just to confirm one thing... PIC18F452 has 2 Vdd and 2 Vss pins. Have you >> connected up each pair? >> >> Best regards, >> >> WH Tan >> >> >> >> >> >>> -----Original Message----- >>> From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf >>> Of peteHVAC >>> Sent: 09 August 2006 09:59 >>> To: Microcontroller discussion list - Public. >>> Subject: [PIC] ICD2 pinout help >>> >>> >>> Hello, After setting everything up on another computer running >>> Windows 2000 >>> I managed to program a chip read it back and all was well. No errors found >>> the >>> 18f452 and reported all about it. Now for the part that's killing >>> me. After >>> this bit of success it's back to not finding the chips GRRRRRRRR. >>> >>> Could I be having some kind of funky ground problem? >>> PC, ICD, brick supply, breadboard should all have a common ground? >>> Should I call this ICD dead? >>> >>> I'm going to bed now. My head hurts :( >>> Thanks, Pete >>> >>> PS. I installed Mplab 4.1. >>> >>> >> >> -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist