Aaah, true. I tend to only think in terms of the PIC18 series these days. I'll leave it to the PIC16 experts to answer your questions re the PIC16F872 -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Buehler, Martin Sent: 10 November 2004 10:02 To: Microcontroller discussion list - Public. Subject: RE: [PIC]: reserved pins for ICD / ICD2 peter thank you for your answer. I think, this covers the combination of ICD2 and pic18fxxx chips. but I use the 16f872, which has the RB3 pin marked PGM. this is usually connected to the ICD (ICD1). do I need this connection between ICD and RB3/PGM? can the 16f872 also be used with ICD2? does it only need RB6 and RB7 then? thanx! tino ************************************************************************ ****************************** >-----Original Message----- >From: Peter Moreton [mailto:peter.moreton@virgin.net] >Sent: Wednesday, November 10, 2004 10:07 AM >To: 'Microcontroller discussion list - Public.' >Subject: RE: [PIC]: reserved pins for ICD / ICD2 > >Martin, > >You only need to reserve RB6 & RB7 (PGC/PGD) & MCLR for the ICD2. RB5 is >sometimes tied low to inhibit LVP, but in my experience this is not >strictly necessary, and the pin can be used as an IO pin. RB3 is not >used by the ICD2. > >I often use RB6 & RB7 for ICD-2 & as an IO port for switches etc. > >Peter Moreton > > > > >-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of >Buehler, Martin >Sent: 10 November 2004 08:28 >To: Microcontroller discussion list - Public. >Subject: [PIC]: reserved pins for ICD / ICD2 > >in my designs, i always reserved pins RB3, RB6 and RB7 for ICD connection. > >do I really have to reserve them all for ICD connection? > >according to the ICD manual, RB6 and RB7 are used for ICD communication, >but >RB3 is on the list of the ICD reserved pins. the ICD also has a connector >for RB3. > >in the ICD2 manual, I see nothing about using RB3. > >as I'm short on i/os, I don't like to waste pins in my actual design. > >can anybody tell me, which pins I have to reserve for ICD or ICD2 and what >restrictions I have? > >thank you very much. > >tino > >_______________________________________________ >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 _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist