Exact match. Not showing close matches.
PICList
Thread
'[PIC]ICSP of a 16F685'
2008\08\22@102720
by
Harry H. Arends
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
2008\08\22@105124
by
Rob Hamerling
On Fri, Aug 22, 2008 at 4:26 PM, Harry H. Arends <spam_OUTh.arendsTakeThisOuT
home.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
Harry,
RA0 is ICSP Data (PGD) and RA1 is ICSP Clock (PGC).
Regards,
Jim
-----Original Message-----
From: .....piclist-bouncesKILLspam
@spam@mit.edu [piclist-bounces
KILLspammit.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
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
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}> 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@110527
by
Charles Rogers
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
> 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
> 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
More... (looser matching)
- Last day of these posts
- In 2008
, 2009 only
- Today
- New search...