Searching \ for 'Programming 16C84 vs 16F84' 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 16C84 vs 16F84'.

Truncated match.
PICList Thread
'Programming 16C84 vs 16F84'
1997\04\24@194628 by John Payson

picon face
Today, for the second time, I tried programming a 16F84 in my self-built
programmer at work (normally I use a BP Microsystems unit, but on this
occasion my self-built one was hooked up).  Unfortunately, my programmer
doesn't seem to work on any non-blank 16F84's (it worked fine for reprog-
ramming 16C84's).  My suspicion is that Microchip has changed the opera-
tion of the "program word" instruction so that it no longer does an erase
before write.

[1] Is there any way to erase a word of code space on the 16F84 without
   erasing the whole thing?

[2] How should I erase the whole thing if needed?  I'm running in serial
   mode.  I tried the command someone posted once but it didn't seem to
   work; maybe I misremembered it?

[3] If the part no longer does an erase-before-write, does this mean that it
   can be programmed any faster?  Is there any way to see if the device is
   done with a spot (other than waiting 10ms)?

Thanks for any and all assistance.

1997\04\25@123518 by Brian Boles

flavicon
face
    John, see answers below.....


______________________________ Reply Separator _________________________________
Subject: Programming 16C84 vs 16F84
Author:  John Payson <spam_OUTsupercatTakeThisOuTspamMCS.NET> at Internet_Exchange
Date:    4/24/97 7:10 PM

-snip-

My suspicion is that Microchip has changed the opera- tion of the "program
word" instruction so that it no longer does an erase before write.

A. Suspicion incorrect. F84 programs identically to C84 and does a erase
before write.

[1] Is there any way to erase a word of code space on the 16F84 without
   erasing the whole thing?

   A. Program 03FFFh

[2] How should I erase the whole thing if needed?  I'm running in serial
   mode.  I tried the command someone posted once but it didn't seem to
   work; maybe I misremembered it?

   A. See PIC16F8X programming spec pg. 17-81 in latest databook or pull
   from the web.  FYI; 001001 is bulk erase program memory, 001011 is
   bulk erase data memory.

[3] If the part no longer does an erase-before-write, does this mean that it
   can be programmed any faster?  Is there any way to see if the device is
   done with a spot (other than waiting 10ms)?

   A. There is an internal timer and control circuit that does the
   erase/program cycle.  You must wait the 10ms for it to finish.  BTW, we
   are looking at methods to make the programming faster on the next
   generation F8X devices.

Thanks for any and all assistance.


Rgds, Brian.

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