CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ICD Connections 2 16F874

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
John Hodgson
Guest







ICD Connections 2 16F874
PostPosted: Fri Feb 21, 2003 10:11 am     Reply with quote

<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

View user's profile Send private message

Re: ICD Connections to 16F874
PostPosted: Fri Feb 21, 2003 1:01 pm     Reply with quote

:=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
PostPosted: Fri Feb 21, 2003 1:10 pm     Reply with quote

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

View user's profile Send private message

Re: ICD Connections to 16F874
PostPosted: Fri Feb 21, 2003 2:06 pm     Reply with quote

:=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
PostPosted: Sun Feb 23, 2003 6:48 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group