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 CCS Technical Support

internal EEPROM seems to get corrupted?

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







internal EEPROM seems to get corrupted?
PostPosted: Wed Apr 05, 2006 10:57 pm     Reply with quote

It seems like the internal eeprom data is getting corrupted, but once the eeprom data is replaced everthing is fine for awhile... so the code on the chip is fine. I'm just having problems with the EEPROM data. Has anyone had this problem?

Nick
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Apr 05, 2006 11:03 pm     Reply with quote

It could be an errata for the PIC, but you have to post your PIC type
and your compiler version, and a short test program.
Guest








PostPosted: Thu Apr 06, 2006 12:00 pm     Reply with quote

I'm using a PIC16F876a the compiler version I'm using is 3.19. The EEPROM gets corrupted say at an unkown length of time which is usually atleast one week from its use.

It almost seems like its hardware issue, but why does it only corrupt the eeprom and the program memory. its very strange. Once the EEPROM data is reloaded through the serial port the program runs fine again.
curt2go



Joined: 21 Nov 2003
Posts: 200

View user's profile Send private message

PostPosted: Thu Apr 06, 2006 12:17 pm     Reply with quote

I had that problem maybe. Mine was that i was writing to the eeprom or readding to the eeprom everytime I was looping through the code. If that is your case you have to make sure you only write or read from the eeprom once each time you change it.. Hope that helps.. TTY
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