Searching \ for ' [PIC] Programming Times' 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=programming
Search entire site for: 'Programming Times'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] [PIC] Programming Times'
2001\03\19@050843 by Martin Hill

picon face
Hi everyone.
 I've previously been using an EPICPlus Programmer to program
my 16F876s.  This was taking around 60s for each one.  On my
new computer it kept coming up with errors, so I thought I would
make myself a programmer.  This is based on a 16F876 (I've got a
lot of them).  Basically you download the .hex file over the serial port
and it is stored on eeprom.  From here it is programmed onto the
PIC.  According to the programming data sheet, programming
takes nominally 2ms per memory location, maximum 4ms.  I have
set my programmer to start with a small delay, write the memory
location, read it back and check it.  If the data is not correct then it
increases the delay and writes again.  Using this method, a
16F876 is programmed in around 18s.

Is there any problem doing it this way?  Is there anything to be
gained by waiting more than the minimum required time to
program?  It seems from the datasheet that the write cycle is self
timed, so I don't see why there should be a problem.  If this is the
case, why are the other programmers taking so long?

Thanks for your help.

Regards

Martin Hill

--
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


2001\03\19@092555 by Dale Botkin

flavicon
face
On Mon, 19 Mar 2001, Martin Hill wrote:

> Hi everyone.
>   I've previously been using an EPICPlus Programmer to program
> my 16F876s.  This was taking around 60s for each one.  On my
> new computer it kept coming up with errors, so I thought I would
> make myself a programmer.  This is based on a 16F876 (I've got a
> lot of them).  Basically you download the .hex file over the serial port
> and it is stored on eeprom.  From here it is programmed onto the
> PIC.  According to the programming data sheet, programming
> takes nominally 2ms per memory location, maximum 4ms.  I have
> set my programmer to start with a small delay, write the memory
> location, read it back and check it.  If the data is not correct then it
> increases the delay and writes again.  Using this method, a
> 16F876 is programmed in around 18s.

Odd.  I also use an EPIC+.  When I program a 16F877 it only takes around
15-20 seconds for about 6K of program space.  Wonder why some people see
significantly longer times?  I wonder if this is related to maybe an out
of spec Vpp - have you hung a meter on yours lately to check it?  There's
an adjusting pot for it.

Dale
---
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
               -- Isaac Asimov

--
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 2001 , 2002 only
- Today
- New search...