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
Posted: Wed Apr 05, 2006 11:03 pm
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
Posted: Thu Apr 06, 2006 12:00 pm
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
Posted: Thu Apr 06, 2006 12:17 pm
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
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