Searching \ for '[PIC]: Programming troubles, PIC16F876,' 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 troubles, PIC16F876,'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Programming troubles, PIC16F876,'
2002\10\11@031633 by Andrew

flavicon
face
Hi,

I've been having trouble programming my 16F876 chip.  The first time it
seemed to have programmed fine, and now it gives errors saying that even
the first address cannot be written.  Blowing the fuses does the same
thing.  Code protection is not set.  It appears to have erased fine.

Program Error:
Fuses: Buffer=353A, device=3BFF (although a read chip brings back 3FFF)

Similarly with writing the program, location 0000 reads 3FFF, not my
program.

I can write to the device with all 3FFF and it says it has programmed
fine.  But this is of limited use :)

Programming the chip terminates immediately with this message.

I also have a pic16c745 jw part that does the same thing, even after a
uv erase.

Using Kit 117 as supplied by dontronics.  Cable test, communications
test and s/c test pass fine.  I can set both leds on and off.  I do have
a .6 to .3 adaptor on top of the standard socket(not a ZIF), would this
cause any problems?

Using windows XP, picallw .10d, on an Athlon 1900+, with epox 8k5a2+
m/b.

Any ideas of what to do next?  Is this a possible static electricity
issue? I grounded myself before I touched the chip each time, so it
shouldn't be.




Much thanks for any help,

Andrew

spam_OUTrhimes-picTakeThisOuTspamoptusnet.com.au

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\10\11@034015 by Vasile Surducan

flavicon
face
You have problems with your programmer or you have configurated a too fast
programming algorithm from your software, or you are using ICSP with SCLK
and SD connected also to some low impedance devices on your board.
Probably is your fault or a faulty KIT from your supplier.

Vasile

On Fri, 11 Oct 2002, Andrew wrote:

{Quote hidden}

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\10\11@195734 by Andrew

flavicon
face
I've think I've found the problem.  There must be some incompatability
with my fast machine(a 1900mhz), as it reads the chips empty.  I tested
it on a dos p133 machine, and it appears to have been programmed with
both code protect bits set, on rs osc.  The program code is all 0000.

So this machine seems to have read it properly, and would explain why
the other machine can't rewrite - code protection on nothing.

So I've wasted aus $25 on the pic16f876, but I've learned not to use
this machine to program it.














Btw, Picall doesn't need to be registered for picall hardware.

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\10\12@023710 by Peter Crowcroft

flavicon
face
>From: Andrew <rhimes-picspamKILLspamOPTUSNET.COM.AU>
>Using windows XP, picallw .10d, on an Athlon 1900+, with epox 8k5a2+
                          ^^^^^^^^^

I think you should upgrade to V0.13C of picallw.exe released 9 October, 2002.

One of the improvements was
'Timing fix for faster PC's / rewritten timing functions'

Please let me know if this helps.





regards,

Peter Crowcroft
            DIY Electronics (HK) Ltd
      PO Box 88458, Sham Shui Po, Hong Kong
Factory: voice 852-2304 2250    Fax: 852-2729 1400
         M/F, 97 Fuk Wa Street, Sham Shui Po
Home: voice 852-2720 0255          Mobile: 6273 2049
Web:  http://www.kitsrus.com        Email: .....peterKILLspamspam.....kitsrus.com
      Yahoo Messenger  'peter5999'  with webcam
-------------------------------------------------------------

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


2002\10\12@025617 by Andrew

flavicon
face
I've just tried the .13c version out.  It still does the same thing.
Programming error.  Can't program or blow fuses, device appears blank on
read.

I think the p133 got it right when it reads the protection bits set.
Why this version can't read it I'm not sure.

I'll buy a 16f84 on Monday and see if the 133 programs it correctly.  If
it does, the programmer is good.  If not, something is wrong in my
construction, even though things check out.

Thanks for the help,

Andrew



>I think you should upgrade to V0.13C of picallw.exe released 9 October,
>2002.

>One of the improvements was
>'Timing fix for faster PC's / rewritten timing functions'

>Please let me know if this helps.

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


2002\10\12@084001 by Bob Ammerman

picon face
> I've think I've found the problem.  There must be some incompatability
> with my fast machine(a 1900mhz), as it reads the chips empty.  I tested
> it on a dos p133 machine, and it appears to have been programmed with
> both code protect bits set, on rs osc.  The program code is all 0000.
>
> So I've wasted aus $25 on the pic16f876, but I've learned not to use
> this machine to program it.
>

If you think you're 16F876 is unusable because code protecft is set, then I
have some good news for you:

You should be able to do a complete erase of the chip, including the code
protect bits. Then all will be back to normal.

Bob Ammerman
RAm Systems

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


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