gnupic: DIY USB programmer ?
Subject:
Re: DIY USB programmer ?
From:
Byron A Jeff ####@####.####
Date:
6 Jan 2005 12:44:32 +0000
Message-Id: <20050106124430.GC15279@cleon.cc.gatech.edu>
On Thu, Jan 06, 2005 at 02:49:41AM +0100, Manuel Bessler wrote:
> On Wed, Jan 05, 2005 at 05:49:02PM -0600, Kevin L. Pauba wrote:
> > >
> > I've always been intrigued by the serial ascii programmer:
> >
> > http://www.piclist.org/techref/com/picnpoke/www/http/projects/prog.html
> >
> > I think it passes the "Radio Shack" test. I built one up and, as I
> > recall, it worked. I have some Java code around that drives it too.
> >
> > What do you think?
>
> Even if its possible to adapt to USB, there's the problem that you can't
> read back the chip (and thus verify).
>
> Verify would in my case be an important 'feature'. Otherwise debugging
> is hard to do. It could be a misprogrammed PIC, a problem with the
> target circuitry,...
Again keep it simple. You can put a function in the firmware to dump a
checksum of the program memory.
The impression that I got from your original requirements is that this
code dumper would not be for development. just initial loads and updates.
With that being the case, the only thing required to check is for a
misprogrammed PIC. And you can simply implement a firmware function that
will give you a checksum of the program memory. If the checksum matches,
then you know the firmware is good. The PIC can send it via the serial
port.
BAJ