Searching \ for '[PIC]ICSP of a 16F685' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=icsp
Search entire site for: 'ICSP of a 16F685'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]ICSP of a 16F685'
2008\08\22@102720 by Harry H. Arends

flavicon
face
Programming a 16F628A i use RB6 and RB7 for PGC and PGD.
But searching on the web and on the Microchip website i dont see anything
about this on the 16F685 and looking on the datasheet i cant find PGM and
PGD.

Is there a document that handles the ICSP -> 16F685 or how should i connect
the ICSP to this device.

Harry

2008\08\22@105006 by Funny NYPD

picon face
Greeting Harry,
Normally, an ICSP programming will require 5 signals connected to the micro:
VPP, VDD, GND, PGC and PGD.
The PGM (refer as RB3 sometime) are not required if your programmer can provide a +12V VPP signal.
Here is the Microchip programming spec for your reference:
http://ww1.microchip.com/downloads/en/DeviceDoc/41204G.pdf

Hope the following tutorial also help a bit:
http://www.auelectronics.com/Q8.htm

Funny N.
Au Group Electronics, New Bedford, MA, http://www.AuElectronics.com



{Original Message removed}

2008\08\22@105124 by Rob Hamerling

picon face
On Fri, Aug 22, 2008 at 4:26 PM, Harry H. Arends <spam_OUTh.arendsTakeThisOuTspamhome.nl> wrote:
> Programming a 16F628A i use RB6 and RB7 for PGC and PGD.
> But searching on the web and on the Microchip website i dont see anything
> about this on the 16F685 and looking on the datasheet i cant find PGM and
> PGD.
>
> Is there a document that handles the ICSP -> 16F685 or how should i connect
> the ICSP to this device.

Other names for these pins are ISCPCLK and ICSPDAT

Regards, Rob.

--
Rob Hamerling, Vianen, NL (http://www.robh.nl)

2008\08\22@105406 by PAUL James

picon face

Harry,


RA0 is ICSP Data (PGD) and RA1 is ICSP Clock (PGC).

Regards,

Jim

-----Original Message-----
From: .....piclist-bouncesKILLspamspam@spam@mit.edu [piclist-bouncesspamKILLspammit.edu] On Behalf
Of Harry H. Arends
Sent: Friday, August 22, 2008 9:27 AM
To: 'Microcontroller discussion list - Public.'
Subject: [PIC]ICSP of a 16F685

Programming a 16F628A i use RB6 and RB7 for PGC and PGD.
But searching on the web and on the Microchip website i dont see
anything about this on the 16F685 and looking on the datasheet i cant
find PGM and PGD.

Is there a document that handles the ICSP -> 16F685 or how should i
connect the ICSP to this device.

Harry

2008\08\22@105410 by olin piclist
face picon face
Harry H. Arends wrote:
> Is there a document that handles the ICSP

Yes, it's called the "Programming Spec" for the particular subfamily of PIC
you want to program.  You might also want to look at my general introduction
to ICSP at http://www.embedinc.com/picprg/icsp.htm.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2008\08\22@110329 by Nicola Perotto

picon face
Datasheet 41262a - page 4
The pins have a little different name!
PGC (program clock) is ICSPCLK = RA0 = pin 19
PGD (program data) is ICSPDAT = RA1 = pin 18

If you use a breadboard can put a 5 pin strip header  starting from pin
18 and ending "two pins" outside the pic.
In this manner you have 3 pins ready for ICD2 or PicKit2. With two wire
connect VDD and /MCLR.


Harry H. Arends wrote:
{Quote hidden}

2008\08\22@110527 by Charles Rogers

flavicon
face
Harry:
ICSP is not listed in the Table of Contents.
Try page 215 of the data sheet.




Subject: [PIC]ICSP of a 16F685


| Programming a 16F628A i use RB6 and RB7 for PGC and PGD.
| But searching on the web and on the Microchip website i dont see anything
| about this on the 16F685 and looking on the datasheet i cant find PGM and
| PGD.
|
| Is there a document that handles the ICSP -> 16F685 or how should i
connect
| the ICSP to this device.
|
| Harry
| --

2008\08\22@111029 by Jan-Erik Soderholm

face picon face
> Is there a document that handles the ICSP -> 16F685 or how
> should i connect the ICSP to this device.

Yes, the *datasheet*.

ICSPDAT and ICSPCLK are clearly marked (page 4).

2008\08\22@111336 by Wouter van Ooijen

face picon face
> The PGM (refer as RB3 sometime) are not required if your programmer can provide a +12V VPP signal.

No offence meant, but that is nonsense.

First PGM can be on RB3, but also on other pins, depending on the chip.
Always check the datasheet or programming spec. Some chips do not have a
PGM pin at all.

Chips that have a PGM pin, and have LVP enabled in their configuration
fuses, can be programmed without the (often ~ 13V) Vpp on the MCLR pin.
Disadvantage is that the PGM pin is permanently claimed by this
function: you loose one IO pin. Note that the LVP enabling can not be
changed by this LVP programming mode. Ex-factory chips have LVP enabled.

Some chips that have a PGM pin require that this pin is pulled low
during HVP programming (== the standard mode for most programmers). On
some chips this seems to depend on the chip revision. Best bet is to
pull PGM low, a 10 .. 47 k resistor is sufficient.

--

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu

2008\08\22@142329 by Harry H. Arends

flavicon
face
All thanks. Was confused by the different pin names used.

-----Oorspronkelijk bericht-----
Van: .....piclist-bouncesKILLspamspam.....mit.edu [EraseMEpiclist-bouncesspam_OUTspamTakeThisOuTmit.edu] Namens Olin
Lathrop
Verzonden: vrijdag 22 augustus 2008 16:56
Aan: Microcontroller discussion list - Public.
Onderwerp: Re: [PIC]ICSP of a 16F685

Harry H. Arends wrote:
> Is there a document that handles the ICSP

Yes, it's called the "Programming Spec" for the particular subfamily of PIC
you want to program.  You might also want to look at my general introduction
to ICSP at http://www.embedinc.com/picprg/icsp.htm.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

More... (looser matching)
- Last day of these posts
- In 2008 , 2009 only
- Today
- New search...