Searching \ for '[pic]: what does code error at 0000 mean?' 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/devices.htm?key=pic
Search entire site for: 'what does code error at 0000 mean?'.

Exact match. Not showing close matches.
PICList Thread
'[pic]: what does code error at 0000 mean?'
2001\08\25@003725 by rad0

picon face
hello,

trying to program a 16F877 using the EPIC programmer,

I keep getting this message, 'code erroe at location 0000' what
does this mean?  it will read and verify but the blink program
example will not program.....

I have the configuration set as follows

XT
off
per up
burn out
flash


thanks for your help

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


2001\08\26@002037 by Wade Carpenter

picon face
Code error at 0000 means it is unable to modify the flash.  It tries to
write the first byte, verifies, and the verify fails.

I'm fairly new to this as well, but here's what i think it might be:

Are you using Low-Voltage programming or standard?

If you are using low-voltage programming, maybe your RB3 pin and VPP are
going high at the wrong times / in the wrong sequence?

If you are using standard programming, check that your VPP is actually in
spec while you are trying to write to the chip.

Also, is there any chance code protection was enabled?  This could cause the
error as well.

- Wade
{Original Message removed}

2001\08\26@190734 by Reyes

flavicon
face
While attempting to program a 12c508 which has already been programmed, I
get the same error, 'Code programming error at 0091'.  If Vpp is the
problem, shouldnt it show up at 0000?  I can reprogram the same orignal code
with no problems.

Thanks,
Kevin R.
{Original Message removed}

2001\08\29@235555 by Wade Carpenter

picon face
Hi.

When you erase the device before reprogramming, did you try to read back the
data to confirm that it's all erased?  If it doesn't erase, then maybe your
UV is not operating quite so well any more?

Also, if that PIC has been reprogrammed so many times, maybe the memory has
just worn out.  I know the flash parts are only good for 1000 Erase/Write
cycles, not sure about EPROM...

I can't figure out why you would get that error at 0091.  It does seem that
if you had a Vpp problem it would show up right away, unless of course
you're just making minor changes to the software...

Hope that helps, some.

- Wade
{Original Message removed}

2001\08\30@005407 by Reyes

flavicon
face
EPicwin does not allow an erase only, just allows erase before programming,
so I cant verify erase.  I found out that 0091 is the location of first code
change.  That is overwrite goes ok until 0091 where the first different
value is encountered.
I verfied that vpp during programming is 12.6 V.

Thanks for the reply and any further thoughts would be appreciated.

Kevin Reyes

{Original Message removed}

2001\08\30@015058 by Dan Michaels

flavicon
face
Kevin Reyes wrote:
>EPicwin does not allow an erase only, just allows erase before programming,
>so I cant verify erase.  I found out that 0091 is the location of first code
>change.  That is overwrite goes ok until 0091 where the first different
>value is encountered.
>I verfied that vpp during programming is 12.6 V.
>
>Thanks for the reply and any further thoughts would be appreciated.
>


Kevin, I have not been following this thread in its entirety, but I
have EPICWin, and it certainly does allow separate erase, verify,
blank checking, read ROM, etc, all independent of anything else, so
........ ????????

I am programming 'F876's everyday.

- dan
===============



>
>{Original Message removed}

2001\08\30@100226 by Bob Barr

picon face
Reyes wrote:
>
>EPicwin does not allow an erase only, just allows erase before programming,
>so I cant verify erase.  I found out that 0091 is the location of first
>code
>change.  That is overwrite goes ok until 0091 where the first different
>value is encountered.
>I verfied that vpp during programming is 12.6 V.
>
>Thanks for the reply and any further thoughts would be appreciated.
>

Two points:

1. The 12c508 is an OTP chip.

There is no erase function (except for JW devices in a UV eraser). Code
changes can only overwrite 1's to 0's. Once a 0 has been programmed in any
location, you cannot overwrite it with a 1.

2. Your Vpp at 12.6 volts is under spec.

According the programming spec, 12.75 is the minimum. Microchip recommends
programming at 13.00 to 13.25 volts.


Regards, Bob

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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