gnupic: Re: [gnupic] PIC-based PIC programmer?
Subject:
Re: [gnupic] PIC-based PIC programmer?
From:
Martyn Welch ####@####.####
Date:
7 Jul 2005 09:10:58 +0100
Message-Id: <200507070910.55984.welchm@comp.lancs.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi David,
I've been looking at very minimal programmers recently as a very low cost item
to start with, though these tend to be very slow...
The next logical step for me was to look for open designs which use a PIC.
Obviously you need to be able to program the PIC for the programmer - hence
why I have decided to go about it this way.
There are a number of devices that utilise a PIC as part of there design, but
I don't think I've seen one with an "image" of a bootloader provided on them,
this would be quite a good idea. Unfortunately the PIC would probably also
have to hold information about all the types of PICs it would potentially be
asked to burn and I guess have some way of selecting which method to use to
program the target PIC, I got the impression that not all PICs have identical
programming methods. This would probably lead to the PIC requiring some
further external memory to hold everything, it might also limit the PICs
which could be used to the faster, higher end PICs. I guess input is needed
from someone with more experience in these matters.
Similarly does anyone know of a design for a fast, flexible programmer?
Martyn
- ------ Original message ------
On Thursday 07 Jul 2005 00:43, David McNab wrote:
> Hi,
>
> Does anyone know of a PIC programmer which itself is based on a PIC
> chip, and which only uses the bare minimum of parts?
>
> Conceivably, a PIC-based PIC programmer would only need:
> - a PIC
> - a crystal or resonator
> - a MAX232 or equivalent, plus charge pump capacitors
> - maybe a transistor or two, in case the programmer needs to
> bludge some +12V from the MAX232 and switch it into the target PIC
> - a couple of buttons and LEDs.
>
> If a PIC chip had the programming code plus a bootloader, it would only
> need to duplicate its own code into the target PIC, and then could
> function independently of the host computer when it's just being used to
> burn other PICs.
>
> Such a thing, published with PIC code, host code and PCB artwork, would
> be a human-facilitated benevolent 'PIC virus'.
>
> "Give your friends a pre-programmed PIC, together with the PCB artwork
> and host software". Would be a brilliant geek birthday/xmas present! :)
>
> So, does such a thing exist?
- --
Martyn Welch ####@####.####
PGP Key : http://ubicomp.lancs.ac.uk/~martyn/pgpkey/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCzOOPQPzYXciChNcRAlrqAJ9G3x1fjBoKIsoq+J8CrXmwEoKWWgCgy2/C
1Mt2NxlpS5/2AZYoFRWyDuE=
=Wb0M
-----END PGP SIGNATURE-----