View previous topic :: View next topic |
Author |
Message |
John Hodgson Guest
|
ICD Connections 2 16F874 |
Posted: Fri Feb 21, 2003 10:11 am |
|
|
<font face="Courier New" size=-1>Hello, I purchased the ICD from P.H. Anderson. I'm doing a project that requires an 18-pin 16F874 PIC instead of the 40-pin PICS. P.H. Anderson gives schematics to connect the ICD to a 40-pin PIC. From the ICD, green goes to pin 1 (MCLR), yellow goes to pin 40 (RB7/PGD), white goes to pin 39 (RB6/PGC)... Now what I need to know is where do I connect the yellow and white leads from the ICD to the PIC? I can't find a schematic of the 20-pin PIC having PGD and PGC. I know the green goes to pin 4 (MCLR)...
I tried pins 13 and 12 (RB7 and RB6)and when I try to program the PIC... it finds no target. A little help would be appreciated.... thanks in advance.</font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 11966 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: ICD Connections to 16F874 |
Posted: Fri Feb 21, 2003 1:01 pm |
|
|
:=Hello, I purchased the ICD from P.H. Anderson. I'm doing a project that requires an 18-pin 16F874 PIC instead of the 40-pin PICS.
---------------------------------------------------------
The 16F874 is a 40-pin PIC. (or PLCC-44).
F873 and F876 are 28-pin.
___________________________
This message was ported from CCS's old forum
Original Post ID: 11971 |
|
|
John Hodgson Guest
|
Re: ICD Connections to 16F874 |
Posted: Fri Feb 21, 2003 1:10 pm |
|
|
You're right, by accident I mistyped the PIC... I'm using an 16F84 PIC, not 16F874... 18 pins still :)
:=:=Hello, I purchased the ICD from P.H. Anderson. I'm doing a project that requires an 18-pin 16F874 PIC instead of the 40-pin PICS.
:=---------------------------------------------------------
:=
:=The 16F874 is a 40-pin PIC. (or PLCC-44).
:=
:=F873 and F876 are 28-pin.
___________________________
This message was ported from CCS's old forum
Original Post ID: 11972 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: ICD Connections to 16F874 |
Posted: Fri Feb 21, 2003 2:06 pm |
|
|
:=I'm using an 16F84 PIC.
--------------------------------------------
I assume you're trying to use the ICD to program
the 16F84. It can't be used for debugging.
The 16F84 chip doesn't support it.
Peter Anderson is using the Olimex ICD.
The Olimex connector is shown here:
<a href="http://www.olimex.com/dev/images/pic-icsp.gif" TARGET="_blank">http://www.olimex.com/dev/images/pic-icsp.gif</a>
It seems like they have mis-spelled "MCLR".
You said that the "green wire" goes to MCLR on pin 4.
Well, pin 4 is not the MCLR on the 16F84.
Here's the data sheet for the 16F84.
<a href="http://www.microchip.com/download/lit/pline/picmicro/families/16f8x/30430c.pdf" TARGET="_blank">http://www.microchip.com/download/lit/pline/picmicro/families/16f8x/30430c.pdf</a>
Look at the pinout on the first page, and see Figure 8-20
for the ICSP connections.
You know, in electronics, attention to detail is everything.
___________________________
This message was ported from CCS's old forum
Original Post ID: 11977 |
|
|
John Hodgson Guest
|
Re: ICD Connections to 16F874 |
Posted: Sun Feb 23, 2003 6:48 pm |
|
|
I understand attention to detail is everything... however I've used this procedure to connect the ICD to the PIC. When I try to program the PIC in non-debug mode, it checks for target but finds no target. So I may have had the wire connections right (by the way, how is that pin 4 on the 16F84 not MCLR... it says it right in the PIN diagram?)... so it leads me to believe what you mentioned how the ICD is used to just program the PIC instead of de-bugging it. However I'm not sure what else is required to just program the PIC with the ICD instead of de-bugging it.
:=:=I'm using an 16F84 PIC.
:=--------------------------------------------
:=
:=I assume you're trying to use the ICD to program
:=the 16F84. It can't be used for debugging.
:=The 16F84 chip doesn't support it.
:=
:=Peter Anderson is using the Olimex ICD.
:=The Olimex connector is shown here:
:= <a href="http://www.olimex.com/dev/images/pic-icsp.gif" TARGET="_blank"> <a href="http://www.olimex.com/dev/images/pic-icsp.gif" TARGET="_blank">http://www.olimex.com/dev/images/pic-icsp.gif</a></a>
:=It seems like they have mis-spelled "MCLR".
:=
:=You said that the "green wire" goes to MCLR on pin 4.
:=Well, pin 4 is not the MCLR on the 16F84.
:=
:=Here's the data sheet for the 16F84.
:= <a href="http://www.microchip.com/download/lit/pline/picmicro/families/16f8x/30430c.pdf" TARGET="_blank"> <a href="http://www.microchip.com/download/lit/pline/picmicro/families/16f8x/30430c.pdf" TARGET="_blank">http://www.microchip.com/download/lit/pline/picmicro/families/16f8x/30430c.pdf</a></a>
:=
:=Look at the pinout on the first page, and see Figure 8-20
:=for the ICSP connections.
:=
:=You know, in electronics, attention to detail is everything.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12043 |
|
|
|