> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Bob Axtell > Sent: Thursday, February 09, 2006 2:47 PM > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] question from someone new to the list > > I know your business well. I designed an early player card system for > Deadwood. It's a fun industry. I was in telecomm mostly for some 15 years but that is really pretty boring. "Whee the LED is on!" > - - - > > In several designs, I experienced problems with the PIC16Fxxx EEPROM's. > No, > the -A version is just as bad. So much so that I try NOT to use them. > But, if I have > to... > > what works is to write an algorithm that writes the variable in 3 places > in EEPROM, > then when one of them has a dropped bit (best 2 of 3) when the variable > is read out, > I rewrite all 3. It increases a 20 word routine to about 50 words, but > it works well. Same approach was used by our contractor on another product he did. And we use it on the NVRAM of the main processor. If it was only a dropped bit or two, I'd go with this but it is turning three bytes into all zeros not just a corruption of the byte. > > On the other hand, if you can store the variables in program space, you > only need > to do it once. THAT flash array always works fine. It might come to that but we are apparently running out of code space according the contractor. But can you change three bytes in Flash while the chip is running? I gotta learn more about these processors. Thanks, Bill ------------------------------------- Notice of Confidentiality ---------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@vgt.net. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist