CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Problems with erasing eeprom in PIC 16F877

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sandy wilson
Guest







Problems with erasing eeprom in PIC 16F877
PostPosted: Mon Jun 09, 2003 9:06 am     Reply with quote

Has anybody run into a problem where the EEPROM memory in a PIC16F877 is erased spontaneously.The rest of the code seems to be ok it just looses what's stored in the eeprom. We've had two pics do this and we can't find any reason why.

If anybody has seen this do they have a solution.

Thanks for any help

Sandy

___________________________
This message was ported from CCS's old forum
Original Post ID: 144515112
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: Problems with erasing eeprom in PIC 16F877
PostPosted: Mon Jun 09, 2003 12:25 pm     Reply with quote

:=Has anybody run into a problem where the EEPROM memory in a PIC16F877 is erased spontaneously. The rest of the code seems to be ok it just loses what's stored in the eeprom. We've had two pics do this and we can't find any reason why.
:=
:=If anybody has seen this do they have a solution.
-----------------------------------------------------------

I only found one comment on this in the Piclist archives.
See the link below.

A few questions:

1. What version of the compiler are you using ?

2. Are you writing to the EEPROM at the same instant when
power is shut off to the PIC ?

3. What voltage are you running the PIC at ?

4. What crystal frequency are you using ?
Is the PIC rated to run at that crystal frequency ?

5. Are the PIC's power supply, MCLR, and oscillator circuits
designed properly ?

I don't have any experience with EEPROM losing its contents.
The only time I've ever seen chips get erased was with Lattice
GALs. For example, if I had a 16V8 on a board, and the +5v
bus got accidently shorted to Ground, it could erase the GAL.
(This may not be particular to Lattice -- those were just the
GALs that I was using).
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515120
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group