Searching \ for '[PIC]: PIC programmer for production fixture' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/devprogs.htm?key=programmer
Search entire site for: 'PIC programmer for production fixture'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: PIC programmer for production fixture'
2003\05\30@173327 by Larry G. Nelson Sr.

picon face
I just had a client call with a problem programming a 16F873 processor
using ICSP. He finally got the chip to erase, program, and verify except
for the configuration word. Are there any hidden special gotchas for that
sequence that I may be missing. He seems to be following the flowchart for
the proper programming sequence as shown in the flash memory programming
PDF file from the web site.

Thanks


Larry G. Nelson Sr.
spam_OUTL.NelsonTakeThisOuTspamieee.org
http://www.mchipguru.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body

2003\05\30@175230 by Ben Jackson

flavicon
face
On Fri, May 30, 2003 at 05:30:50PM -0400, Larry G. Nelson Sr. wrote:
> I just had a client call with a problem programming a 16F873 processor
> using ICSP. He finally got the chip to erase, program, and verify except
> for the configuration word.

For a while MPLAB + WARP-13 would generate a popup about the configuration
word every time I flashed a 12F675.  If I clicked 'ok' it finished fine
and had actually flashed the part.  If I remove the chip from the socket
before clicking 'ok' it didn't work (so the popup is in the middle of
the process?).

I haven't seen that from 16F877, 16F628, 18F452.  Never did bother to
debug because it was actually working despite the error.

--
Ben Jackson
<benspamKILLspamben.com>
http://www.ben.com/

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam.....mitvma.mit.edu with SET PICList DIGEST in the body

2003\05\31@032403 by Jim Robertson

flavicon
face
source= http://www.piclist.com/postbot.asp?id=piclist\2003\05\30\173327a


Issues with the config word include.

Must use 0x8 command to program the config word. The 0x18 command will not
work.

Allow 8mS for the config word to erase/program.

Ensure that the unused bits are defined correctly. Bits 10 and 11 must be
set to "1"

Regards,

Jim Robertson
NEWFOUND ELECTRONICS

---

www.piclist.com/member/newfound-pipeline-
PIC/PICList FAQ: http://www.piclist.com

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu>

2003\05\31@112258 by Larry G. Nelson Sr.

picon face
This is a custom fixture he built using an 18 series processor as the
controller. I am wading thru his C source code to find what he has done. I
fixed the algorithm he was using for the programming sequence so that works
but still working on the config bits.
thanks
Larry


At 02:52 PM 5/30/03 -0700, you wrote:
{Quote hidden}

Larry G. Nelson Sr.
KILLspamL.NelsonKILLspamspamieee.org
http://www.mchipguru.com

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu>

2003\05\31@205036 by Olin Lathrop

face picon face
> I just had a client call with a problem programming a 16F873 processor
> using ICSP. He finally got the chip to erase, program, and verify except
> for the configuration word. Are there any hidden special gotchas for that
> sequence that I may be missing. He seems to be following the flowchart for
> the proper programming sequence as shown in the flash memory programming
> PDF file from the web site.

I sortof remember that there was an error in the 16F87x programming spec
where something should be written all 1s instead of 0s (or the other way
around).  I remember that it seemed odd the way it was specified.  When it
didn't work, I tried the way that made more sense, and that did make it
work.  I'm home now and don't have my notes available, sorry.

Let me know if you want more details and I will try to dig them out.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

--
http://www.piclist.com hint: To leave the PICList
spamBeGonepiclist-unsubscribe-requestspamBeGonespammitvma.mit.edu>


'[PIC]: PIC programmer for production fixture'
2003\06\02@135254 by Larry G. Nelson Sr.
picon face
Still no joy. We erase then program config then the program. The program is
there when checked on the promate but the config is blank.
Larry


At 08:48 PM 5/31/03 -0400, you wrote:
{Quote hidden}

Larry G. Nelson Sr.
RemoveMEL.NelsonspamTakeThisOuTieee.org
http://www.mchipguru.com

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

2003\06\02@135920 by Tom Messenger

flavicon
face
Wasn't there something on the list just a few weeks ago about this?  If it
was the same topic, the deal was that there are some config bits you cannot
write to  but they get read back with your actual config bits which makes
the result look incorrect.

Have you checked the actual config bits after programming to see if the
ones you care about are being correctly set?

At 01:51 PM 6/2/03 -0400, you wrote:
>Still no joy. We erase then program config then the program. The program is
>there when checked on the promate but the config is blank.
>Larry
>
>

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

2003\06\02@144757 by Larry G. Nelson Sr.

picon face
The part erases the program area properly and the config bits but when we
try to program the config bits they stay blank as verified on the promate.
None of the bits are set properly for config. The program area is done
properly.
Larry


At 10:59 AM 6/2/03 -0700, you wrote:
{Quote hidden}

Larry G. Nelson Sr.
L.NelsonEraseMEspam.....ieee.org
http://www.mchipguru.com

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

2003\06\02@180703 by Olin Lathrop

face picon face
part 1 893 bytes content-type:text/plain; (decoded 7bit)

> Still no joy. We erase then program config then the program. The
> program is there when checked on the promate but the config is blank.

I just checked my notes and didn't see any bug relating to this.  The only
notes about the 16F87x was that the bulk erase doesn't actually do an
erase unless the protection bits are reset from 0 to 1.  To completely
erase the chip, I first write 0 to all the config bits, then do a bulk
erase.  However, this doesn't sound like it's relevant to your problem.

I have attached the relevant snippets of code that handles setting the
address and writing to a 16F87x in my programmer.  This code runs on a
16F628.  Maybe you'll spot something you are doing differently.

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




part 2 6334 bytes content-type:application/octet-stream; (decode)

part 3 2 bytes
-

2003\06\21@175053 by Larry G. Nelson Sr.

picon face
Amazing enough. We changed the PIC on the programming fixture and now
everything is working correctly. Thanks to all for your help in hunting
this down. I never have bad chips so I assumed the code was bad. If you
eliminate all the obvious things what is left must be the problem.
I appreciate the code snips I got that confirmed we were doing things right.
Larry


At 10:59 AM 6/2/03 -0700, you wrote:
{Quote hidden}

Larry G. Nelson Sr.
EraseMEL.Nelsonspamieee.org
http://www.mchipguru.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

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