Searching \ for '[PIC]: Best way to program PIC16F876' 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/devices.htm?key=16F
Search entire site for: 'Best way to program PIC16F876'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Best way to program PIC16F876'
2001\06\23@143807 by Wade Carpenter

picon face
Any reccomendations from anyone using this device?  I am having trouble finding information on ICSP, so I am trying to build a parallel port programmer.  Has anyone done this with success?

Thanks in advance for help!

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\06\23@211839 by Drew Vassallo

picon face
>Any reccomendations from anyone using this device?  I am having trouble
>finding information on ICSP, so I am trying to build a parallel port
>programmer.  Has anyone done this with success?

It appears that your subject header and your actual question have two
different purposes:

1) What's the best way to program a 16F876
and
2) I'm trying to build a parallel port programmer.

I guess the "best" way is any way that meets your requirements.  If you're
an EE working on small hobby projects and you enjoy spending time and effort
debugging a "homebrew" setup, then give #2 a go.  This list should be a good
place to start for information, or you can check the mailing list archives
for any previous discussion on building programmers.

If you're working on firmware that is time-critical for development, or you
just want to get a piece of hardware working, then the "best" way would
likely be to use a commercial programmer, I would suggest one from
Microchip.  The PICStart Plus is ~$200 and works for all (I believe *all*,
but I could be wrong) of the PICs available.  If you want more, check out
Microchip's line of programmers.

--Andrew
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\06\23@220533 by Wade Carpenter

picon face
Thank-you for the quick reply Andrew.

Yes, I'm an EE (student) working on hobby projects during weekends and
evenings, so I'm trying to avoid the cost of the programmer that would
seriously exceed my budget!

So then it would come down to "I'm trying to build a parallel port
programmer."   I am wondering if anyone can share with me his/her
experiences with parallel port programming specifically related to the
16F876.  Being new to PIC and EE (especially microcontrollers) in general,
I'm just having a bit of trouble sorting through all of the information that
is out there already.

{Quote hidden}

effort
> debugging a "homebrew" setup, then give #2 a go.  This list should be a
good
> place to start for information, or you can check the mailing list archives
> for any previous discussion on building programmers.
>
> If you're working on firmware that is time-critical for development, or
you
> just want to get a piece of hardware working, then the "best" way would
> likely be to use a commercial programmer, I would suggest one from
> Microchip.  The PICStart Plus is ~$200 and works for all (I believe *all*,
> but I could be wrong) of the PICs available.  If you want more, check out
> Microchip's line of programmers.
>
> --Andrew

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\06\23@224136 by Byron A Jeff

face picon face
On Sat, Jun 23, 2001 at 09:39:57AM -0700, Wade Carpenter wrote:
> Any reccomendations from anyone using this device?
>  I am having trouble finding information on ICSP,

It's easy to find. Download it here:

http://www.microchip.com/10/lit/suppdoc/specs/39025e/index.htm

> so I am trying to build a parallel port programmer.
>  Has anyone done this with success?

For the most part you can program it with 16F84 programming hardware. Same
hardware interface, same programming interface, and compatible programming
sequences. The 16F87X sequence can be optimized, but programming with the
16F84 sequence works just fine.

Also you can drop the High Voltage Programming circuit and use Low Voltage
Programming (LVP). At that point it's little more than a cable. I described
it in a post over a year ago here:

http://www.infosite.com/%7Ejkeyzer/piclist/2000/Mar/2126.html

The login and password are both the name of this mailing list (in lowercase).

I finally got around to building one of these cables. It didn't work. I figured
out that modern motherboard parallel ports only output 3.3V for a high voltage.
It's fine for TTL, which only requires 2.0V for a high signal. However PICs
are CMOS devices and are only happy with high voltages above 4V (presuming a
5V supply, which BTW you need for LVP). So what I did was add a TTL to CMOS
converter between the parallel port and the PIC. I chose a 74HCT573 octal
latch because I had one handy. But any HCT part that will buffer will work
just as well (like a HCT541, HCT241, HCT373, or even an HCT04 if you can
change the polarity of the signals in your programming software).

Worked like a champ. One chip, one resistor, and 5V power.
Can't ask for much less than that.

Now software wise I'm not sure what's the best on the DOS/Windows side. Since
I'm a Linux guy I use picprg2.3a originally written by Brian Lane. My students
and I updated the software with the new erase/initialize sequence and changed
the port code so that it works properly with Linux 2.2 and 2.4 kernels.

Now the last issue is long term development programming. I happen to swear
by wloader written by Wouter van Ooijen. It's a bootloader that you program
into the 16F87X part. That loader will then download programs via a serial
interface. I love it because it cost only one I/O pin, which you can pick
(the default binary uses E2, so you'd have to pick another for the 16F876
part), requires a 4 resistor, 1 diode, progamming dongle (with one added
transistor, 2 resistors, and diode for the automatic reset circuit), and
can be programmed from any serial port in circuit. It's a little pricy
on memory (1K nominal), but I wouldn't use anything else. For my Linux box
I use gpasm and gpsim (I need to upgrade to 0.9.7, right Scott?) , linwload by
Wojtek Zabolotny, and wloader. For development, just hook up the dongle,
program and test, and when I'm finished just disconnect the dongle for a
working product. As a bonus the wloader serial port can be used as a debugging
port.

Just some thoughts. Hope they help.

BAJ

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\06\24@020924 by Nigel Goodwin

flavicon
face
In message <004601c0fc52$0c93bb20$spam_OUTd6527118TakeThisOuTspamrchmd1.bc.wave.home.com>,
Wade Carpenter <.....wadeKILLspamspam@spam@HOME.COM> writes
>Thank-you for the quick reply Andrew.
>
>Yes, I'm an EE (student) working on hobby projects during weekends and
>evenings, so I'm trying to avoid the cost of the programmer that would
>seriously exceed my budget!
>
>So then it would come down to "I'm trying to build a parallel port
>programmer."   I am wondering if anyone can share with me his/her
>experiences with parallel port programming specifically related to the
>16F876.  Being new to PIC and EE (especially microcontrollers) in general,
>I'm just having a bit of trouble sorting through all of the information that
>is out there already.

You can build the P16PRO40 and use it to program the 16876, there is
free Windows software on my website to do so. Basically almost any
parallel port programmer can be simple modified to program the F876.
--

Nigel.

       /--------------------------------------------------------------\
       | Nigel Goodwin   | Internet : nigelgspamKILLspamlpilsley.co.uk           |
       | Lower Pilsley   | Web Page : http://www.lpilsley.co.uk       |
       | Chesterfield    | Official site for Shin Ki and New Spirit   |
       | England         |                 Ju Jitsu                   |
       \--------------------------------------------------------------/

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam.....mitvma.mit.edu with SET PICList DIGEST in the body


2001\06\25@124524 by Mike Mansheim

flavicon
face
> I am having trouble finding information on ICSP, so I am trying
> to build a parallel port programmer.

This tells me that you've misunderstood ICSP.  The 'serial' in ICSP
does not refer to the serial port on your pc, it refers to sending
the programming data to the chip serially, which any programmer will
do, including parallel port programmers.  'In-circuit' just refers
to doing this with the target chip in it's place in the circuit,
rather than programming the chip first and then placing it in the
circuit.

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu



'[PIC]: Best way to program PIC16F876'
2001\07\18@214008 by Wade Carpenter
picon face
Hello everyone,

Back to this old topic, I was wondering if anyone has purchased the
programmer kit from amazon electronics (P16PRO PIC Programmer (40 pin
version) (assembled or in kit), Order Code CPS96,
http://www.electronics123.com/amazon/catalogue/c3-3-7.htm.

If anyone is using this for the PIC16f87x can you please let me know if your
experience has been a positive one.

Thank-you very much,

Wade
{Original Message removed}

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