Searching \ for '[PIC] 16F628A Programming' 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: '16F628A Programming'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] 16F628A Programming'
2008\06\24@073328 by Eskulaap Hotel

flavicon
face
I migrated from the PIC16F628 to the 16F628A in one of my projects.

I get an error message when trying to program the 16F628A via the ICD2 as well as my PicAll programmer. (Error when verifying the program memory)

LVP is disabled and other C/Bits set according to datasheet.

Is there a trick or am I missing something here. (One website mention a 100K resitor from port B3 to ground?? - not sure)

Regards
Francois

2008\06\24@083040 by olin piclist

face picon face
Eskulaap Hotel wrote:
> I get an error message when trying to program the 16F628A via the
> ICD2 as well as my PicAll programmer. (Error when verifying the
> program memory)
>
> LVP is disabled and other C/Bits set according to datasheet.

Disabling LVP in your code is not sufficient.  It get re-enabled when the
programmer does a bulk erase, and cause trouble during programming until it
eventually gets disabled again when the config bits get written.  You need
to make sure the PGM pin is low during programming.  100Kohms to ground is
often a sufficient fix, depending on the external circuit of course.

There is more about this and other programming issues at
http://www.embedinc.com/picprg/icsp.htm.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2008\06\24@115750 by Gaston Gagnon

face
flavicon
face
Eskulaap Hotel wrote:
> I migrated from the PIC16F628 to the 16F628A in one of my projects.
>
> I get an error message when trying to program the 16F628A via the ICD2 as well as my PicAll programmer. (Error when verifying the program memory)
>
>  
If you are using Picallw with Tait like programmer (P16PRO is one of
them) I found the following procedure to work with the 16F628A

To program 16f628a do:
1) Leave both "Erase before program" and "BlankCh. before prog."  unchecked
2) Hit the Erase button
3) Then press Program button

That should do it for you.

> LVP is disabled and other C/Bits set according to datasheet.
>
>  
I connect LVP pin to ground with a 10K resistor.
I hope this helps.
Gaston

2008\06\24@130942 by Francois Robbertze

flavicon
face
The 100K resistor was still to small for my 16F628A
The 10K resistor did the job.

Programming successful with the PicAll and the ICD2 programmer.

Thank you

Regards
Francois Robbertze

{Original Message removed}

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