Searching \ for '[PIC]: Tait --> ICSP. Ready, set...' 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: 'Tait --> ICSP. Ready, set...'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Tait --> ICSP. Ready, set...'
2002\06\26@180248 by Pic Dude

flavicon
face
Setting up my trusty ol' Tait programmer f/ICSP, and think I
have it figured all out (from the Microchip docs), but running
this past the list to see if anyone might notice any potential
snags or things I may have missed.

Here are the necessary gory details:

(A) Initial circuit...
- 5V power.
- RC oscillator.
- RB6 and RB7 unused
- MCLR to +5V directly.
[All coded and working.]


(B) Modifications f/ICSP...
- MCLR to +5V via diode (using 1N4001 which I had)
- X'tal & ext caps, though possibly 3-pin resonator later.
       (Avoiding the 4 instructions at startup prob).
[Still working.]


(C) With ICSP...
- Added jumper from MCLR pin to Tait programmer.
- RB6 wired to Tait programmer.
- RB7 wired to Tait programmer.
- Ground on app circuit connected to Tait prog ground.
- App circuit will still be self-powered.
- Tait programmer will use its own power.


Trying to avoid frying yet another chip.  Is it safe
to "flip the switch"???

Cheers,
-Neil.

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\06\26@180655 by Sid Weaver

picon face
Neril, I think MCLR has to go low during programming, not sure.  I would use
a pullup resistor on MCLR just to be safe.

Sid

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\06\26@182758 by Pic Dude

flavicon
face
Lemme think about this...
- Prog MCLR floats, no problem.
- Prog MCLR goes to >12V, the diode blocks this from the
       app-circuit Vdd.
- Prog MCLR goes to ground, the diode is now forward-biased
       with the app-Vdd, and pretty much shorts to ground.
       Ouch!

Good idea.  I'll drop a few-K resistor in series with the
diode, so I now have:
       App-Vdd -to- diode -to- resistor -to- MCLR.

Thanks much,
-Neil.




{Original Message removed}

2002\06\26@184328 by Lyle Hazelwood

flavicon
face
All in series?
I set mine up as follows, with ICSP working (so far)

MCLR ties directly to ICSP connector
MCLR to Cathode of Diode
Pullup resistor from Anode of diode to +5V
Small cap from Anode to GND.

This was on a 16F877, and ICSP has been working great so far.
The small cap may be optional, I had the space so I included it.

Lyle Hazelwood

----- Original Message -----
From: "Pic Dude" <spam_OUTpicdudeTakeThisOuTspamAVN-TECH.COM>
To: <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU>
Sent: Wednesday, June 26, 2002 3:25 PM
Subject: Re: [PIC]: Tait --> ICSP. Ready, set...


{Quote hidden}

> {Original Message removed}

2002\06\26@184339 by Pic Dude
flavicon
face
Thinking of another option... shouldn't I be able to prevent
this condition by putting another diode in line with the >12V
MCLR signal coming from the Tait programmer?

Of course, I've been getting away with 11.8V instead of the
required 12V-14V, and this new diode would probably drop it
to an un-workable level, but I can work around that by making
a proper 13V-14V power supply.

Only reason I am considering this is that board-space is at
a major premium on this app, and every little 1/8-watt
resistor counts.  The programmer can be ENIAC-sized, and
not matter to me.

Cheers,
-Neil.




{Original Message removed}

2002\06\26@190702 by Sid Weaver

picon face
For Neil

Use a 4.7K

Sid

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\06\26@190713 by Pic Dude

flavicon
face
part 1 2714 bytes content-type:text/plain; (decoded 7bit)

Sounds like the same thing, except that you have the R on the
other side of the diode.  I've attached a pic for clarity.  The
line with the X (below the R) will be cut.

Only thing I don't have is the cap, which I thought unnecessary.
It seems more for power-on-reset than for ICSP purposes, and I
don't see that as being necessary with the PIC's POR fuse set.

[ Correct me if I'm wrong here. ]

Cheers,
-Neil.



{Original Message removed}
part 2 19076 bytes content-type:image/jpeg; (decode)


part 3 154 bytes
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\06\26@223726 by Lyle Hazelwood

flavicon
face
There is excellent coverage of
hardware designs consideration
for ICSP in the help file that
comes with PICALLW.

http://www.picallw.com

Some of it is software specific, but the hardware considerations should
apply to
most programmers
I think it's under
Technical Information>In Circuit System Programming(ICSP)>ICSP and
Picall/P16Pro

Lyle Hazelwood

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\06\27@024023 by Pic Dude

flavicon
face
Lyle,

Thanks for the link, but as I hit the link, it popped up
4 (not 1) window.  3 of those were ads.  I hate sites that
do that to me.

Cheers,
-Neil.



{Original Message removed}

2002\06\27@030651 by Pic Dude

flavicon
face
Yep, that seems reasonable.  And...

... drum roll please..... IT WORKS!!!

Woo-hoo!   Thanks everyone!

Cheers,
-Neil.


{Original Message removed}

2002\06\27@045347 by Roman Black

flavicon
face
Pic Dude wrote:
>
> Sounds like the same thing, except that you have the R on the
> other side of the diode.  I've attached a pic for clarity.  The
> line with the X (below the R) will be cut.


Just lose the diode and use a 10k resistor.
This *does* work fine. :o)
-Roman

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


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