Please see the attached schematic. If this schematic is correct, then my conclusion is that applying power to the wrong pins on a PIC causes no harm. Is that true?
Attachments
-
12.7 KB Views: 42
Thanks for your help; it's my questions that are not clear. The appeal of the adapter to me is that I would be able to program so many different PIC's with one fixture, i.e., not just the 8, 14, and 20 pin devices, but the 16 and 18 pin ones as well. Maybe it's not really important.Sorry if I am not being very clear
I was thinking about building a version of the adapter with a ZIF socket, but perhaps it's unnecessary. In a circuit such as this (http://forum.allaboutcircuits.com/showthread.php?t=67622) is it ok to program the PIC with the LEDs connected to pins 12 and 13?Even for hobby use. It is much better to design in such a way that you do not need any socket. With an ISCP programmer like PICKIT 2 you do not need a programming socket. Each time you take your PIC in and out of circuit. You will subject it to wear and tear. And after a short time you may see that your components legs just fell of.
I am just in the "data acquisition mode."What PICs are you programming anyway?
Do you have a project in mind?
Don't need to know, just interested.
If you make a PCB/stripeboard include some jumpers. If you do bread board. just remove two of the LEDs (or LED resistors) on port RB6 and RB7, then programming. Or perhaps just better. Use one jumper and let the LEDs in question be not grounded then programming. Look at figure 3.1 in this document http://ww1.microchip.com/downloads/en/DeviceDoc/51553E.pdf This shows how to do itI was thinking about building a version of the adapter with a ZIF socket, but perhaps it's unnecessary. In a circuit such as this (http://forum.allaboutcircuits.com/showthread.php?t=67622) is it ok to program the PIC with the LEDs connected to pins 12 and 13?
I'd recommend getting some breadboard and giving that a shot. Remember, the ports will be in input mode, and you will of course connect the ICSP between the port and the 470 ohm resistor.I was thinking about building a version of the adapter with a ZIF socket, but perhaps it's unnecessary. In a circuit such as this (http://forum.allaboutcircuits.com/showthread.php?t=67622) is it ok to program the PIC with the LEDs connected to pins 12 and 13?
Thanks. I have built that particular circuit on a solderless breadboard and have it working. I just used that as an example for my question, which phrased more generally is, "Is it permissible to use the PGC and PGD pins as inputs or outputs, and still connect the PICkit 2 to them without isolating them from the input or output connections?"I'd recommend getting some breadboard and giving that a shot. Remember, the ports will be in input mode, and you will of course connect the ICSP between the port and the 470 ohm resistor.
I reckon there is a decent chance of that working most of the time (and the 'verify' on program solves, or at least notifies of the odd occasion it doesnn't work.)
In my limited experience, sometimes this works, sometimes it does not. Depends on the PIC you are using and what is connected. I do not think you will do damage if you try it, it just may not work."Is it permissible to use the PGC and PGD pins as inputs or outputs, and still connect the PICkit 2 to them without isolating them from the input or output connections?"
Unfortunately, the general answer would have to be to read the ~100 page pdf from microchip. as the general answer would be that for a lot of PICs, this is the method of in-circuit debugging, so the pins must be usable."Is it permissible to use the PGC and PGD pins as inputs or outputs, and still connect the PICkit 2 to them without isolating them from the input or output connections?"
by Jake Hertz
by Jake Hertz
by Jake Hertz
by Jake Hertz