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 ----- From: "Wade Carpenter" To: Sent: Wednesday, August 29, 2001 10:54 PM Subject: Re: [pic]: what does code error at 0000 mean? > 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 ----- > From: "Reyes" > To: > Sent: Sunday, August 26, 2001 4:10 PM > Subject: Re: [pic]: what does code error at 0000 mean? > > > > 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 ----- > > From: "Wade Carpenter" > > To: > > Sent: Saturday, August 25, 2001 11:06 PM > > Subject: Re: [pic]: what does code error at 0000 mean? > > > > > > > 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 ----- > > > From: "rad0" > > > To: > > > Sent: Friday, August 24, 2001 9:12 PM > > > Subject: [pic]: what does code error at 0000 mean? > > > > > > > > > > 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 > > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > > > > > -- > > 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 > > > > > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads