gnupic: Programming the 16f870


Previous by date: 21 Dec 2001 11:59:34 -0000 Re: Logo / Icon, John Rehwinkel
Next by date: 21 Dec 2001 11:59:34 -0000 Re: Programming the 16f870, Ralf Forsberg
Previous in thread:
Next in thread: 21 Dec 2001 11:59:34 -0000 Re: Programming the 16f870, Ralf Forsberg

Subject: Programming the 16f870
From: Bas Wijnen ####@####.####
Date: 21 Dec 2001 11:59:34 -0000
Message-Id: <20011221115409.GA14069@client107-126.kabela.oprit.rug.nl>

Hello,

I am trying to program a 16f870 with a home-built parallel port programmer,
similar to the trivial lvp programmer from http://www.gnupic.org. The hardware
works fine, I can read data with it (and recognise the chip identification).

I am using a simple program I wrote in C that sends 3 bits on the parallel port
(mclr, data and clock) and reads the data. I use a bash script to do the
programming.

I put two scripts: read and write, on my homepage
http://client107-126.kabela.oprit.rug.nl/~bas/pic/
The output of read on an unprogrammed chip is in test.data.
The source of the picwrite program is there too. It is suid root so it can
write to the port (which is really dirty, but I don't know how to use the
parport drivers and didn't feel like learning it since it's just for myself
anyway).

Bye,
Bas Wijnen

Previous by date: 21 Dec 2001 11:59:34 -0000 Re: Logo / Icon, John Rehwinkel
Next by date: 21 Dec 2001 11:59:34 -0000 Re: Programming the 16f870, Ralf Forsberg
Previous in thread:
Next in thread: 21 Dec 2001 11:59:34 -0000 Re: Programming the 16f870, Ralf Forsberg


Powered by ezmlm-browse 0.20.